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

struct trx_struct: Add mysql_query_len.

ha_innodb.cc: Use trx_query_string() instead of trx_query() and
initialize trx->mysql_query_len.

INNOBASE_COPY_STMT(thd, trx): New macro, to initialize
trx->mysql_query_str and trx->mysql_query_len.

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:02:28 +03:00
..
dict0boot.c Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
dict0crea.c Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
dict0dict.c Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024) 2010-05-14 16:02:28 +03:00
dict0load.c Applying InnoDB snashot 5.1-ss3931, part 2. Fixes 2009-03-02 18:08:02 -07:00
dict0mem.c Apply InnoDB snapshot innodb-5.1-ss2858, part 15. Fixes 2008-12-14 13:59:50 -07:00