diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-03-10 10:36:40 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-03-10 10:36:40 -0300 |
commit | b11740894eb4aceeafde2bbd848adb24ef7cc67e (patch) | |
tree | 63a59799aa68a830ed65ed4c3589abbcd1580e75 /scripts/CMakeLists.txt | |
parent | e58f200a3df514dede23874d6874e8ad295a5eea (diff) | |
download | mariadb-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