mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
Merge to get make String reallocation faster
This commit is contained in:
commit
0543e2e34e
12 changed files with 59 additions and 35 deletions
|
|
@ -57,9 +57,10 @@ print_where(COND *cond,const char *info, enum_query_type query_type)
|
|||
{
|
||||
if (cond)
|
||||
{
|
||||
char buff[256];
|
||||
char buff[1024];
|
||||
String str(buff,(uint32) sizeof(buff), system_charset_info);
|
||||
str.length(0);
|
||||
str.extra_allocation(1024);
|
||||
cond->print(&str, query_type);
|
||||
str.append('\0');
|
||||
DBUG_LOCK_FILE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue