summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-04-15 13:10:51 +0300
committerEugene Kosov <claprix@yandex.ru>2020-04-15 20:47:44 +0300
commit6577a7a8f20538df80b851698e21095311aae190 (patch)
tree7f9d2e619b7aa9f5ee40327d5022b948cdb23813 /sql/sql_string.h
parent84db10f27bdb4c8d9edf7f554afdcd2a24e3285a (diff)
downloadmariadb-git-6577a7a8f20538df80b851698e21095311aae190.tar.gz
fix tests related to SQL comment length
tests are: engines/funcs.jp_comment_column engines/funcs.jp_comment_index engines/funcs.jp_comment_table
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 614b54065fd..46b13dabbcc 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -79,7 +79,7 @@ public:
Well_formed_prefix(CHARSET_INFO *cs, const char *str, size_t length)
:Well_formed_prefix_status(cs, str, str + length, length), m_str(str)
{ }
- Well_formed_prefix(CHARSET_INFO *cs, LEX_STRING str, size_t nchars)
+ Well_formed_prefix(CHARSET_INFO *cs, LEX_CSTRING str, size_t nchars)
:Well_formed_prefix_status(cs, str.str, str.str + str.length, nchars),
m_str(str.str)
{ }