diff --git a/gb.db.mysql/src/main.c b/gb.db.mysql/src/main.c index 026add1fe..2321c79b7 100644 --- a/gb.db.mysql/src/main.c +++ b/gb.db.mysql/src/main.c @@ -1766,7 +1766,7 @@ static int table_create(DB_DATABASE *db, const char *table, DB_FIELD *fields, ch case GB_T_STRING: if (fp->length <= 0 || fp->length > 255) //mysql supports upto 255 as varchar - type = "TEXT"; + type = "MEDIUMTEXT"; else { sprintf(_buffer, "VARCHAR(%d)", fp->length);