1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Found bugs fixed

This commit is contained in:
hf@bisonxp.(none)
2002-07-11 13:43:21 +05:00
parent d8c94e942b
commit 7813e48076
5 changed files with 20 additions and 3 deletions

View File

@ -793,6 +793,7 @@ net_field_length(uchar **packet)
return (ulong) uint4korr(pos+1);
}
bool select_send::send_data(List<Item> &items)
{
List_iterator_fast<Item> li(items);
@ -956,7 +957,7 @@ int embedded_send_row(THD *thd, int n_fields, char *data, int data_len)
result->prev_ptr= &cur->next;
to= (char*) (cur->data+n_fields+1);
cp= (uchar *)data;
end_field= cur->data + n_fields + 1;
end_field= cur->data + n_fields;
for (cur_field=cur->data; cur_field<end_field; ++cur_field, ++mysql_fields)
{
@ -975,6 +976,9 @@ int embedded_send_row(THD *thd, int n_fields, char *data, int data_len)
mysql_fields->max_length=len;
}
}
*cur_field= to;
DBUG_RETURN(0);
}