mariadb/storage/innodb_plugin/trx
Marko Mäkelä 8b3820e250 Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024)
Also make InnoDB thinks that /*/ only starts a comment. (Bug #53644).

This fixes the bugs in the InnoDB Plugin.

ha_innodb.h: Use trx_query_string() instead of trx_query() when
available (MySQL 5.1.42 or later).

innobase_get_stmt(): New function, to retrieve the currently running
SQL statement.

struct trx_struct: Remove mysql_query_str. Use innobase_get_stmt() instead.

dict_strip_comments(): Add and observe the parameter sql_length. Treat
/*/ as the start of a comment.

dict_create_foreign_constraints(), row_table_add_foreign_constraints():
Add the parameter sql_length.
2010-05-14 16:08:15 +03:00
..
trx0i_s.c Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024) 2010-05-14 16:08:15 +03:00
trx0purge.c Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30
trx0rec.c storage/innodb_plugin: Relax too strict assertions about prefix 2010-04-15 09:01:22 +02:00
trx0roll.c Applying InnoDB Plugin 1.0.5 snapshot, part 7 2009-10-08 18:35:59 +05:30
trx0rseg.c Applying InnoDB snapshot 2010-04-01 15:59:25 +04:00
trx0sys.c Applying InnoDB snapshot 2010-04-01 17:01:22 +04:00
trx0trx.c Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024) 2010-05-14 16:08:15 +03:00
trx0undo.c Applying InnoDB Plugin 1.0.6 snapshot,part 1. Fixes BUG#45992 and BUG#46656 2009-11-30 17:02:05 +05:30