diff --git a/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert-master.opt b/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert-master.opt new file mode 100644 index 0000000000000000000000000000000000000000..29306be8e0304093bf175b71fccef6cd6db0a58d --- /dev/null +++ b/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert-master.opt @@ -0,0 +1,2 @@ +--initialize --default_authentication_plugin=mysql_native_password +--default_authentication_plugin=mysql_native_password diff --git a/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert.test b/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert.test new file mode 100644 index 0000000000000000000000000000000000000000..2befe4b4ead5a54f7a7573e3b2b803e854aa4f34 --- /dev/null +++ b/mysql-test/suite/rocksdb/t/allow_no_pk_concurrent_insert.test @@ -0,0 +1,16 @@ +# +# Tests concurrent inserts for tables with no primary key. +# + +--source include/have_rocksdb.inc + +--source include/have_debug.inc + +# create the actual table +CREATE TABLE t1 (a INT) ENGINE=rocksdb; + +--let $exec = python suite/rocksdb/t/rocksdb_concurrent_insert.py root 127.0.0.1 $MASTER_MYPORT test t1 100 4 +exec $exec; + +SELECT COUNT(*) from t1; +DROP TABLE t1;