mariadb/storage/innodb_plugin/row
Marko Mäkelä 54f59fb55e 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
..
row0ext.c Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
row0ins.c Applying InnoDB snapshot 2010-04-01 15:59:25 +04:00
row0merge.c row_merge_drop_temp_indexes(): Do not reference freed memory. 2010-05-12 08:39:25 +03:00
row0mysql.c Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024) 2010-05-14 16:08:15 +03:00
row0purge.c Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
row0row.c Applying InnoDB snapshot 2010-04-01 17:01:22 +04:00
row0sel.c Add Valgrind diagnostics to track down Bug #38999. 2010-05-05 13:05:07 +03:00
row0uins.c Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
row0umod.c Applying InnoDB snapshot 2010-04-01 15:59:25 +04:00
row0undo.c Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30
row0upd.c Applying InnoDB snapshot 2010-04-01 15:03:27 +04:00
row0vers.c Adding innodb_plugin-1.0.4 as storage/innodb_plugin. 2009-05-27 15:15:59 +05:30