summaryrefslogtreecommitdiff
path: root/mysql-test/r/have_latin2_ch.require
diff options
context:
space:
mode:
authorTatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com>2011-07-12 06:08:52 +0100
committerTatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com>2011-07-12 06:08:52 +0100
commit083a316d1f9020d48a5b9769fafbb3accad3c03a (patch)
treec68479d792db74ae20ae25ec0ef40d0dd66d2484 /mysql-test/r/have_latin2_ch.require
parentc2e8aacb3f4fa952d4a9f6757dad1654ec70f49b (diff)
downloadmariadb-git-083a316d1f9020d48a5b9769fafbb3accad3c03a.tar.gz
Bug#11758414/Bug#50614: Default storage_engine not honored when set from within a stored procedure
When CREATE TABLE wasn't given ENGINE=... it would determine the default ENGINE at parse-time rather than at execution time, leading to incorrect behaviour (namely, later changes to the default engine being ignore) when calling CREATE TABLE from a stored procedure. We now defer working out the default engine till execution of CREATE TABLE. mysql-test/r/sp_trans.result: results! mysql-test/t/sp_trans.test: Show that CREATE TABLE (called from store routine) heeds any changes after CREATE SP / parse-time. Show that explicitly requesting an ENGINE still works. sql/sql_parse.cc: If no ENGINE=... was given at parse-time, determine default engine at execution time of CREATE TABLE. sql/sql_yacc.yy: If CREATE TABLE is not given ENGINE=..., don't bother figuring out the default engine during parsing; we'll do it at execution time instead to be aware of the latest updates.
Diffstat (limited to 'mysql-test/r/have_latin2_ch.require')
0 files changed, 0 insertions, 0 deletions