diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-04-23 09:11:42 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-04-23 09:11:42 +0400 |
commit | 9dcfd6be94bd83d14fd48d69ce487eb0ea3fe37f (patch) | |
tree | 00965c35ad60ec8647f003b41b9ebc7bf199ac31 | |
parent | 279a907fd0dea30be6d11fc4a5d63b1b98d0b329 (diff) | |
download | mariadb-git-9dcfd6be94bd83d14fd48d69ce487eb0ea3fe37f.tar.gz |
MDEV-9465 The constructor StringBuffer(const char *str, size_t length, const CHARSET_INFO *cs) looks suspicious
Removing the suspicious constructor, it's not used in the code anyway.
-rw-r--r-- | sql/sql_string.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index b8979d397e6..ba28dbeea26 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -649,11 +649,6 @@ public: { length(0); } - StringBuffer(const char *str, size_t length_arg, CHARSET_INFO *cs) - : String(buff, buff_sz, cs) - { - set(str, length_arg, cs); - } }; |