1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-8931: (server part of) session state tracking

Postreview fixes.
New MySQL tests fixes.
This commit is contained in:
Oleksandr Byelkin
2016-08-09 15:49:30 +02:00
parent 0ee3e64c55
commit 6dfa1d374e
11 changed files with 196 additions and 151 deletions

View File

@ -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)
{