summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-06-28 12:50:18 +0200
committerSergei Golubchik <serg@mariadb.org>2017-07-05 17:15:58 +0200
commit504eff0ca13ef93fa46f919e1fb60b58ac9a34eb (patch)
treea5ab20f0d611b8635ba557d343292cb6caa7db8d /sql/sql_string.h
parent03c52e964f6ed16b02d01f37428cdd987bba0e92 (diff)
downloadmariadb-git-504eff0ca13ef93fa46f919e1fb60b58ac9a34eb.tar.gz
cleanup: generate_partition_syntax()
Don't write to a temporary file, use String. Remove strange one-liner "helpers", use String methods. Don't use current_thd, don't allocate memory for 1-byte strings, etc.
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 18f5f4cac5c..9a9fff8522c 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -471,6 +471,7 @@ public:
bool append(const char *s, uint32 arg_length);
bool append(const char *s, uint32 arg_length, CHARSET_INFO *cs);
bool append_ulonglong(ulonglong val);
+ bool append_longlong(longlong val);
bool append(IO_CACHE* file, uint32 arg_length);
bool append_with_prefill(const char *s, uint32 arg_length,
uint32 full_length, char fill_char);