Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
- Posts: 5
- Joined: Fri 10 Mar 2006 15:50
In version 18.104.22.168 the property ColumnSize return wrong ColumnSize using GetSchemaTable of DataReader object.
For example a VARCHAR(255) field return a size of 765 (2FD) !!!!
- Posts: 2756
- Joined: Mon 13 Mar 2006 07:43
I reckon you use UTF8 (which is 3 bytes encoding), don't you?
That's why method returns 765 instead of 255 (765=255*3).