diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-09 15:49:30 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-31 17:17:46 +0200 |
commit | 6dfa1d374e8c4d3a06e25ceb78cc6571418363ab (patch) | |
tree | e41520848e0ffdefb24a7fbe4cfe1c7249163125 /sql/sql_string.h | |
parent | 0ee3e64c55664332e8e92eda55b43692159fe4fe (diff) | |
download | mariadb-git-6dfa1d374e8c4d3a06e25ceb78cc6571418363ab.tar.gz |
MDEV-8931: (server part of) session state tracking
Postreview fixes.
New MySQL tests fixes.
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index feab8070cd2..f53015fbd6b 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -566,16 +566,6 @@ public: return Ptr+ old_length; /* Area to use */ } - inline bool prep_alloc(uint32 arg_length, uint32 step_alloc) - { - uint32 new_length= arg_length + str_length; - if (new_length > Alloced_length) - { - if (realloc(new_length + step_alloc)) - return true; - } - return false; - } inline bool append(const char *s, uint32 arg_length, uint32 step_alloc) { |