1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup: use MYF() for mysys flags

This commit is contained in:
Sergei Golubchik
2013-01-23 16:18:09 +01:00
parent a260b15554
commit 682da0aa75
71 changed files with 136 additions and 137 deletions

View File

@ -1520,8 +1520,8 @@ mysql_stmt_init(MYSQL *mysql)
DBUG_RETURN(NULL);
}
init_alloc_root(&stmt->mem_root, 2048, 2048, MY_THREAD_SPECIFIC);
init_alloc_root(&stmt->result.alloc, 4096, 4096, MY_THREAD_SPECIFIC);
init_alloc_root(&stmt->mem_root, 2048, 2048, MYF(MY_THREAD_SPECIFIC));
init_alloc_root(&stmt->result.alloc, 4096, 4096, MYF(MY_THREAD_SPECIFIC));
stmt->result.alloc.min_malloc= sizeof(MYSQL_ROWS);
mysql->stmts= list_add(mysql->stmts, &stmt->list);
stmt->list.data= stmt;