diff options
author | unknown <davi@mysql.com/endora.local> | 2008-04-30 10:28:19 -0300 |
---|---|---|
committer | unknown <davi@mysql.com/endora.local> | 2008-04-30 10:28:19 -0300 |
commit | 57ae28ab95fb3fede2ae191daca8eb21541230c4 (patch) | |
tree | 7b7a498d7804d4fc4162d96c622e64eb05d5eca1 /mysql-test/r/client_xml.result | |
parent | 86e6ea34ec6625878cb6e07ff23d761212029070 (diff) | |
download | mariadb-git-57ae28ab95fb3fede2ae191daca8eb21541230c4.tar.gz |
Bug#35788 A few tests fail due to concurrent inserts
The problem is that since MyISAM's concurrent_insert is on by
default some concurrent SELECT statements might not see changes
made by INSERT statements in other connections, even if the
INSERT statement has returned.
The solution is to disable concurrent_insert so that INSERT
statements returns after the data is actually visible to other
statements.
mysql-test/r/client_xml.result:
Update test case result.
mysql-test/r/federated.result:
Update test case result.
mysql-test/r/federated_bug_25714.result:
Update test case result.
mysql-test/t/client_xml.test:
Disable concurrent insert and restore old value at the
end of the test so it doesn't affect other tests.
mysql-test/t/federated.test:
Disable concurrent insert and restore old value at the
end of the test so it doesn't affect other tests.
mysql-test/t/federated_bug_25714.test:
Disable concurrent insert and restore old value at the
end of the test so it doesn't affect other tests.
Diffstat (limited to 'mysql-test/r/client_xml.result')
-rw-r--r-- | mysql-test/r/client_xml.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/client_xml.result b/mysql-test/r/client_xml.result index ed5e8f2c1b8..6e9857c2d6d 100644 --- a/mysql-test/r/client_xml.result +++ b/mysql-test/r/client_xml.result @@ -1,3 +1,5 @@ +set @old_concurrent_insert= @@global.concurrent_insert; +set @@global.concurrent_insert= 0; create table t1 ( `a&b` int, `a<b` int, @@ -86,3 +88,4 @@ Empty set Bye drop table t1; +set @@global.concurrent_insert= @old_concurrent_insert; |