summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-05-26 06:17:35 +0400
committerAlexander Barkov <bar@mariadb.com>2019-05-26 09:49:13 +0400
commit9f23f8e59807f8ebc6a45e176332f33e2ac09d6c (patch)
treeb459d361418a73d3e274a73d4122bf6e4cf6575b /sql/protocol.h
parentac93d7d674cd9955c940055d9777e98a1fbaf1cd (diff)
downloadmariadb-git-9f23f8e59807f8ebc6a45e176332f33e2ac09d6c.tar.gz
MDEV-19599 Change db_name, table_name to LEX_CSTRING in Item_ident and Send_field
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 3b2c905ed9e..c5e525cac8c 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -122,11 +122,6 @@ public:
virtual bool store(const char *from, size_t length, CHARSET_INFO *cs)=0;
virtual bool store(const char *from, size_t length,
CHARSET_INFO *fromcs, CHARSET_INFO *tocs)=0;
- bool store_str(const char *s, CHARSET_INFO *fromcs, CHARSET_INFO *tocs)
- {
- DBUG_ASSERT(s);
- return store(s, (uint) strlen(s), fromcs, tocs);
- }
bool store_str(const LEX_CSTRING &s, CHARSET_INFO *fromcs, CHARSET_INFO *tocs)
{
return store(s.str, (uint) s.length, fromcs, tocs);