diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2016-12-31 23:30:09 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2016-12-31 23:30:09 +0300 |
commit | cfb59f3196aac1b41cdda79952031dcc64042914 (patch) | |
tree | 3833cd1f2f4f2360eb3a16bd7ae4606e8493dea8 /storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result | |
parent | ebfc4e6ad02b0cef34ec3f446007b98d85af9296 (diff) | |
download | mariadb-git-cfb59f3196aac1b41cdda79952031dcc64042914.tar.gz |
Copy of
commit f6ed777697db4ad7aee1e98c53243dced2b5891c
Author: Chenyu Yan <seayan@outlook.com>
Date: Thu Dec 29 16:10:25 2016 -0800
Fix BIG_TIMEOUT constant
Summary: Update the constant to reflect what the comments indicates.
Reviewed By: gunnarku
Differential Revision: D4374476
fbshipit-source-id: dd7f484
Diffstat (limited to 'storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result')
-rw-r--r-- | storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result b/storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result new file mode 100644 index 00000000000..aefef4fbf38 --- /dev/null +++ b/storage/rocksdb/mysql-test/rocksdb/r/autoinc_vars_thread.result @@ -0,0 +1,24 @@ +#--------------------------- +# two threads inserting simultaneously with increment > 1 +# Issue #390 +#--------------------------- +CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY) ENGINE=rocksdb; +SET auto_increment_increment = 2; +SET auto_increment_offset = 1; +INSERT INTO t1 VALUES(NULL); +SET auto_increment_increment = 2; +SET auto_increment_offset = 1; +SET debug_sync='rocksdb.autoinc_vars SIGNAL parked1 WAIT_FOR go NO_CLEAR_EVENT'; +INSERT INTO t1 VALUES(NULL); +SET debug_sync='rocksdb.autoinc_vars SIGNAL parked2 WAIT_FOR go NO_CLEAR_EVENT'; +INSERT INTO t1 VALUES(NULL); +SET debug_sync='now WAIT_FOR parked1'; +SET debug_sync='now WAIT_FOR parked2'; +SET debug_sync='now SIGNAL go'; +SET debug_sync='RESET'; +SELECT * FROM t1; +a +1 +3 +5 +DROP TABLE t1; |