diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-03-17 13:14:04 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-03-17 13:14:04 +0400 |
commit | 3a407e58921ea1f0ce36e7d9b6bd1e7b723346dc (patch) | |
tree | 964cdcf2c74b547efa3df764fba458b70cf72286 /sql/protocol.h | |
parent | 11bd5990630ed03a50ae8b3e586a91a39ca9136b (diff) | |
download | mariadb-git-3a407e58921ea1f0ce36e7d9b6bd1e7b723346dc.tar.gz |
Preparing to client<->server autoconvert
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/protocol.h b/sql/protocol.h index f57652af670..e9df013e81c 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -52,7 +52,7 @@ public: 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); + bool store(const char *from, CHARSET_INFO *cs); String *storage_packet() { return packet; } inline void free() { packet->free(); } bool write(); @@ -75,7 +75,7 @@ public: virtual bool store_short(longlong from)=0; virtual bool store_long(longlong from)=0; virtual bool store_longlong(longlong from, bool unsigned_flag)=0; - virtual bool store(const char *from, uint length)=0; + virtual bool store(const char *from, uint length, CHARSET_INFO *cs)=0; virtual bool store(float from, uint32 decimals, String *buffer)=0; virtual bool store(double from, uint32 decimals, String *buffer)=0; virtual bool store(TIME *time)=0; @@ -98,7 +98,7 @@ public: virtual bool store_short(longlong from); virtual bool store_long(longlong from); virtual bool store_longlong(longlong from, bool unsigned_flag); - virtual bool store(const char *from, uint length); + virtual bool store(const char *from, uint length, CHARSET_INFO *cs); virtual bool store(TIME *time); virtual bool store_date(TIME *time); virtual bool store_time(TIME *time); @@ -122,7 +122,7 @@ public: virtual bool store_short(longlong from); virtual bool store_long(longlong from); virtual bool store_longlong(longlong from, bool unsigned_flag); - virtual bool store(const char *from,uint length); + virtual bool store(const char *from,uint length, CHARSET_INFO *cs); virtual bool store(TIME *time); virtual bool store_date(TIME *time); virtual bool store_time(TIME *time); |