summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-08-31 18:02:38 +0300
committerMonty <monty@mariadb.org>2021-09-01 13:47:02 +0300
commit49ae199604fa3f8129ded9d4490df022f61d7a1d (patch)
tree5373e40beeac5013340741a7c872fc2f75d30c04 /sql/protocol.h
parent6bdc03ebccad17f7e9c202e64bf7c2c450a7396c (diff)
downloadmariadb-git-49ae199604fa3f8129ded9d4490df022f61d7a1d.tar.gz
Added support for ANALYZE TABLE to S3 tables
Other things - Cleaned up error messages for CHECK, REPAIR and OPTIMIZE
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index eb11304a4d5..f98b4cabfed 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -114,6 +114,10 @@ public:
{ return store_longlong((longlong) from, 1); }
inline bool store(String *str)
{ return store((char*) str->ptr(), str->length(), str->charset()); }
+ inline bool store(const LEX_CSTRING *from, CHARSET_INFO *cs)
+ {
+ return store(from->str, from->length, cs);
+ }
virtual bool prepare_for_send(uint num_columns)
{