mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
fixed compilation, disabled unix-only tests (the ones that use bash etc). Changed plugin library name to ha_rocksdb.dll/so
16 lines
602 B
Text
16 lines
602 B
Text
--source include/have_rocksdb.inc
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t;
|
|
--enable_warnings
|
|
CREATE TABLE t(id int primary key) engine=rocksdb;
|
|
INSERT INTO t values (1), (2), (3);
|
|
--error ER_TABLE_EXISTS_ERROR
|
|
CREATE TABLE t(id int primary key) engine=rocksdb;
|
|
FLUSH TABLES;
|
|
move_file $MYSQLTEST_VARDIR/mysqld.1/data/test/t.frm $MYSQLTEST_VARDIR/mysqld.1/data/test/t.frm.tmp;
|
|
--error ER_UNKNOWN_ERROR
|
|
CREATE TABLE t(id int primary key) engine=rocksdb;
|
|
move_file $MYSQLTEST_VARDIR/mysqld.1/data/test/t.frm.tmp $MYSQLTEST_VARDIR/mysqld.1/data/test/t.frm;
|
|
FLUSH TABLES;
|
|
SELECT * FROM t;
|
|
DROP TABLE t;
|