summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-04-07 13:52:48 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-04-07 13:52:48 +0500
commit65ae25d092fe138ab0d0f9039a3ef8bc610b5031 (patch)
tree6a4024432837d56c5c8268c3ef1db0be099b0a15 /sql/protocol.h
parent3aa5599774024a36835fcc535e8f99cdd4277950 (diff)
downloadmariadb-git-65ae25d092fe138ab0d0f9039a3ef8bc610b5031.tar.gz
New methods to store strings with "convert to" argimument
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 418814a9623..89b838ff6e4 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -74,6 +74,8 @@ public:
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, CHARSET_INFO *cs)=0;
+ virtual bool store(const char *from, uint length,
+ CHARSET_INFO *fromcs, CHARSET_INFO *tocs)=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;
@@ -97,6 +99,8 @@ public:
virtual bool store_long(longlong from);
virtual bool store_longlong(longlong from, bool unsigned_flag);
virtual bool store(const char *from, uint length, CHARSET_INFO *cs);
+ virtual bool store(const char *from, uint length,
+ CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
virtual bool store(TIME *time);
virtual bool store_date(TIME *time);
virtual bool store_time(TIME *time);
@@ -121,6 +125,8 @@ public:
virtual bool store_long(longlong from);
virtual bool store_longlong(longlong from, bool unsigned_flag);
virtual bool store(const char *from,uint length, CHARSET_INFO *cs);
+ virtual bool store(const char *from, uint length,
+ CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
virtual bool store(TIME *time);
virtual bool store_date(TIME *time);
virtual bool store_time(TIME *time);