diff options
author | unknown <hf@deer.mysql.r18.ru> | 2002-12-12 12:16:34 +0400 |
---|---|---|
committer | unknown <hf@deer.mysql.r18.ru> | 2002-12-12 12:16:34 +0400 |
commit | a9f1388b54992916b11717ad0045538de92813a1 (patch) | |
tree | a0790f24a646e265fb2809af81d8c85bc5e5599f /sql/sql_show.cc | |
parent | 4c668ca7ef27d3292342d6c34460a74cdb4d7098 (diff) | |
download | mariadb-git-a9f1388b54992916b11717ad0045538de92813a1.tar.gz |
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
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 5f56b18f51c..7824e143304 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -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 |