mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
manual merge
This commit is contained in:
@ -901,7 +901,7 @@ bool mysql_stmt_prepare(THD *thd, char *packet, uint packet_length)
|
||||
|
||||
bzero((char*) &stmt, sizeof(stmt));
|
||||
|
||||
stmt.stmt_id= ++thd->current_stmt_id;
|
||||
stmt.stmt_id= ++thd->statement_id_counter;
|
||||
init_sql_alloc(&stmt.mem_root,
|
||||
thd->variables.query_alloc_block_size,
|
||||
thd->variables.query_prealloc_size);
|
||||
|
Reference in New Issue
Block a user