mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Some fixes
libmysqld/lib_sql.cc: parameters for functions added libmysqld/lib_vio.c: name of option changed libmysqld/libmysqld.c: mysql_fetch_length fixed sql/field.cc: small fix sql/item.cc: fixes about Field::embedded_send sql/item_strfunc.cc: cs parameter added sql/mysqld.cc: small fix sql/sql_show.cc: strange code #ifdef-ed sql/sql_table.cc: small fix BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -683,13 +683,14 @@ mysqld_show_fields(THD *thd, TABLE_LIST *table_list,const char *wild,
|
||||
field_list.push_back(new Item_empty_string("Comment",255));
|
||||
}
|
||||
// Send first number of fields and records
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
{
|
||||
char *pos;
|
||||
pos=net_store_length(tmp, (uint) field_list.elements);
|
||||
pos=net_store_length(pos,(ulonglong) file->records);
|
||||
(void) my_net_write(&thd->net,tmp,(uint) (pos-tmp));
|
||||
}
|
||||
|
||||
#endif
|
||||
if (send_fields(thd,field_list,0))
|
||||
DBUG_RETURN(1);
|
||||
restore_record(table,2); // Get empty record
|
||||
|
Reference in New Issue
Block a user