diff options
author | unknown <hf@deer.mysql.r18.ru> | 2003-01-20 18:47:25 +0400 |
---|---|---|
committer | unknown <hf@deer.mysql.r18.ru> | 2003-01-20 18:47:25 +0400 |
commit | f9dff9748e65288aa1c420f52452e61a5aef0594 (patch) | |
tree | 63d38e511b0b14f39e8fefc5eab11abc8e583d5d /sql/protocol.h | |
parent | 150a238f033c3e3f8d67dfaa7d1616237738c1cb (diff) | |
download | mariadb-git-f9dff9748e65288aa1c420f52452e61a5aef0594.tar.gz |
SCRUM
embedded-related changes
include/mysql_com.h:
net_flush emptification
libmysqld/lib_sql.cc:
Some Protocol:: methods implemented
sql/convert.cc:
changes to use convert in embedded library
sql/field.cc:
set_key_image changed
sql/item.cc:
obsolete functions removed
sql/item.h:
embedded-related changes in Protocol class
sql/log.cc:
there's no ports in embedded library
sql/mysqld.cc:
some debug stuff
sql/protocol.cc:
embedded-related changes
sql/protocol.h:
embedded-related changes
sql/sql_cache.cc:
comment added
sql/sql_class.cc:
no need to do special embedded select_send::send_row
sql/sql_class.h:
embedded-related changes
sql/sql_parse.cc:
comments added debugging stuff deleted
sql/sql_show.cc:
non-protocol sending removed
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/protocol.h b/sql/protocol.h index cf41e404c93..f57652af670 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -23,7 +23,9 @@ class CONVERT; class i_string; class THD; - +#ifdef EMBEDDED_LIBRARY +typedef struct st_mysql_field MYSQL_FIELD; +#endif class Protocol { protected: @@ -35,11 +37,12 @@ protected: #endif uint field_count; bool net_store_data(const char *from, uint length); + bool convert_str(const char *from, uint length); #ifdef EMBEDDED_LIBRARY char **next_field; + MYSQL_FIELD *next_mysql_field; MEM_ROOT *alloc; #endif - public: CONVERT *convert; @@ -47,6 +50,7 @@ public: Protocol(THD *thd) { init(thd); } void init(THD* thd); bool send_fields(List<Item> *list, uint flag); + bool send_records_num(List<Item> *list, ulonglong records); bool store(I_List<i_string> *str_list); bool store(const char *from); String *storage_packet() { return packet; } |