[Gambas-devel] MySQL: case FIELD_TYPE_BLOB
ron
ronstk at ...124...
Sun Aug 19 22:43:07 CEST 2007
Hi Benoit,
I found in '/2.0/trunk/gb.db.mysql/src/main.c'
case FIELD_TYPE_BLOB: // TEXT
175 //fprintf(stderr, "FIELD_TYPE_BLOB: %d\n", len);
176 if (len == 16777215 || len <= 0) // LONG BLOB
177 return DB_T_BLOB;
178 else
179 return GB_T_STRING;
16777214 return GB_T_STRING;
16777215 return DB_T_BLOB;
16777216 return GB_T_STRING;
Should it no be 'if (len >= 16777215 || len <= 0)' ? :)
Ron
More information about the Devel
mailing list