1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Second attempt: trying to add Statement context to sources.

Added classes Statement, Statement_map
Merge commit
This commit is contained in:
konstantin@oak.local
2003-11-27 20:51:53 +03:00
parent 56ec2351a0
commit c75bb0a654
5 changed files with 206 additions and 47 deletions

View File

@@ -904,7 +904,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);