1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
davi@mysql.com/endora.local
2008-04-30 10:28:19 -03:00
parent 400d796d72
commit 2bf61233fa
6 changed files with 40 additions and 1 deletions

View File

@ -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;