mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1 libmysql/libmysql.c: Auto merged
This commit is contained in:
@ -1029,7 +1029,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
|||||||
inchar == '-' && pos[1] == '-' &&
|
inchar == '-' && pos[1] == '-' &&
|
||||||
my_isspace(system_charset_info,pos[2]))))
|
my_isspace(system_charset_info,pos[2]))))
|
||||||
break; // comment to end of line
|
break; // comment to end of line
|
||||||
else if (!*in_string && inchar == '/' && *(pos+1) == '*')
|
else if (!*in_string && inchar == '/' && *(pos+1) == '*' && *(pos+2) != '!')
|
||||||
{
|
{
|
||||||
pos++;
|
pos++;
|
||||||
*ml_comment= 1;
|
*ml_comment= 1;
|
||||||
|
@ -1173,7 +1173,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
|
|||||||
if (INTERNAL_NUM_FIELD(field))
|
if (INTERNAL_NUM_FIELD(field))
|
||||||
field->flags|= NUM_FLAG;
|
field->flags|= NUM_FLAG;
|
||||||
if (default_value && row->data[6])
|
if (default_value && row->data[6])
|
||||||
field->def=strdup_root(alloc,(char*) row->data[8]);
|
field->def=strdup_root(alloc,(char*) row->data[6]);
|
||||||
else
|
else
|
||||||
field->def=0;
|
field->def=0;
|
||||||
field->max_length= 0;
|
field->max_length= 0;
|
||||||
|
Reference in New Issue
Block a user