mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 14:45:31 +02:00
MDEV-8931: (server part of) session state tracking
Postreview fixes. New MySQL tests fixes.
This commit is contained in:
parent
0ee3e64c55
commit
6dfa1d374e
11 changed files with 198 additions and 153 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue