Merge lp:~sergei.glushchenko/percona-server/ST-28169-Bug1127008 into lp:percona-server/5.5
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 467 |
Proposed branch: | lp:~sergei.glushchenko/percona-server/ST-28169-Bug1127008 |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
405 lines (+214/-21) 11 files modified
Percona-Server/mysql-test/r/create_delayed.result (+3/-0) Percona-Server/mysql-test/r/percona_bug1127008.result (+28/-0) Percona-Server/mysql-test/t/create_delayed.test (+34/-0) Percona-Server/mysql-test/t/percona_bug1127008.test (+28/-0) Percona-Server/sql/mdl.cc (+5/-1) Percona-Server/sql/sql_base.cc (+96/-16) Percona-Server/sql/sql_base.h (+2/-1) Percona-Server/sql/sql_db.cc (+1/-1) Percona-Server/sql/sql_insert.cc (+4/-0) Percona-Server/sql/sql_parse.cc (+8/-1) Percona-Server/sql/sql_table.cc (+5/-1) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-server/ST-28169-Bug1127008 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+149294@code.launchpad.net |
Description of the change
Bug 1127008 CREATE TABLE for a table that already exists does
not fail immediately
Upstream bug http://
CREATE TABLE IF NOT EXISTS metadata lock is too restrictive.
Fix is just a port of https:/
Original commit comment:
- Added option to check_if_
- Extended lock_table_names() to not wait for meta data locks if CREATE IF NOT EXISTS is used.
Also ported fix for https:/
Fix for MDEV-4009: main.delayed sporadically fails with "query 'REPLACE DELAYED t1 VALUES (5)' failed: 1317: Query execution was interrupted"
- Fixed broadcast without a proper mutex
- Don't break existing locks if we are just testing if we can get the lock
http:// jenkins. percona. com/view/ PS%205. 5/job/percona- server- 5.5-param/ 679/