summaryrefslogtreecommitdiff
path: root/scripts/CMakeLists.txt
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-03-10 10:36:40 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-03-10 10:36:40 -0300
commitb11740894eb4aceeafde2bbd848adb24ef7cc67e (patch)
tree63a59799aa68a830ed65ed4c3589abbcd1580e75 /scripts/CMakeLists.txt
parente58f200a3df514dede23874d6874e8ad295a5eea (diff)
downloadmariadb-git-b11740894eb4aceeafde2bbd848adb24ef7cc67e.tar.gz
Bug#33669: Transactional temporary tables do not work under --read-only
The problem was that in read only mode (read_only enabled), the server would mistakenly deny data modification attempts for temporary tables which belong to a transactional storage engine (eg. InnoDB). The solution is to allow transactional temporary tables to be modified under read only mode. As a whole, the read only mode does not apply to any kind of temporary table. mysql-test/r/read_only_innodb.result: Add test case result for Bug#33669 mysql-test/t/read_only_innodb.test: Add test case for Bug#33669 sql/lock.cc: Rename mysql_lock_tables_check to lock_tables_check and make it static. Move locking related checks from get_lock_data to lock_tables_check. Allow write locks to temporary tables even under read-only.
Diffstat (limited to 'scripts/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions