1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Quoting of TIMESTAMP columns and small optimizations

This commit is contained in:
monty@donna.mysql.com
2000-09-02 07:58:42 +03:00
parent 7155d2a14c
commit 4496d43faa
23 changed files with 365 additions and 325 deletions

View File

@ -852,6 +852,8 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
field->flags= (uint) (uchar) row->data[4][0];
field->decimals=(uint) (uchar) row->data[4][1];
}
if (INTERNAL_NUM_FIELD(field))
field->flags|= NUM_FLAG;
if (default_value && row->data[5])
field->def=strdup_root(alloc,(char*) row->data[5]);
else