From 6dfa1d374e8c4d3a06e25ceb78cc6571418363ab Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Tue, 9 Aug 2016 15:49:30 +0200 Subject: MDEV-8931: (server part of) session state tracking Postreview fixes. New MySQL tests fixes. --- sql/sql_string.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sql/sql_string.h') 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) { -- cgit v1.2.1