diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-09 15:49:30 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-09 15:49:30 +0200 |
commit | db9822df31917c3d0162322a77bcd4433bfb705e (patch) | |
tree | ab488fcb62cfcbc94274c3f8a82fc19a00f62703 /sql/sql_string.h | |
parent | b5e0f70e04cec625c99760e5bfb28bb31bc972ed (diff) | |
download | mariadb-git-10.2-MDEV-8931.tar.gz |
MDEV-8931: (server part of) session state tracking10.2-MDEV-8931
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) { |