Browse Source
Bug #40877: multi statement execution fails in 5.1.30
Bug #40877: multi statement execution fails in 5.1.30
Implemented the server infrastructure for the fix: 1. Added a function LEX_STRING *thd_query_string(THD) to return a LEX_STRING structure instead of char *. This is the function that must be called in innodb instead of thd_query() 2. Did some encapsulation in THD : aggregated thd_query and thd_query_length into a LEX_STRING and made accessor and mutator methods for easy code updating. 3. Updated the server code to use the new methods where applicable.pull/374/head
32 changed files with 185 additions and 155 deletions
-
2sql/event_data_objects.cc
-
10sql/events.cc
-
13sql/ha_ndbcluster.cc
-
8sql/ha_ndbcluster_binlog.cc
-
4sql/log.cc
-
14sql/log_event.cc
-
2sql/mysqld.cc
-
3sql/slave.cc
-
4sql/sp.cc
-
9sql/sp_head.cc
-
14sql/sql_acl.cc
-
15sql/sql_cache.cc
-
44sql/sql_class.cc
-
7sql/sql_class.h
-
18sql/sql_db.cc
-
8sql/sql_delete.cc
-
17sql/sql_insert.cc
-
9sql/sql_load.cc
-
36sql/sql_parse.cc
-
8sql/sql_partition.cc
-
25sql/sql_prepare.cc
-
2sql/sql_rename.cc
-
12sql/sql_show.cc
-
20sql/sql_table.cc
-
2sql/sql_tablespace.cc
-
4sql/sql_trigger.cc
-
4sql/sql_udf.cc
-
6sql/sql_update.cc
-
2sql/sql_view.cc
-
2sql/sql_yacc.yy
-
12storage/blackhole/ha_blackhole.cc
-
4storage/myisam/ha_myisam.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue