Commit 4f34ec26 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-13600: Update test results for rocksdb.bulk_load_rev_cf

parent 86fc5ece
...@@ -21,6 +21,7 @@ b CHAR(30), ...@@ -21,6 +21,7 @@ b CHAR(30),
PRIMARY KEY(pk) COMMENT "rev:cf1", PRIMARY KEY(pk) COMMENT "rev:cf1",
KEY(a) KEY(a)
) COLLATE 'latin1_bin' PARTITION BY KEY() PARTITIONS 4; ) COLLATE 'latin1_bin' PARTITION BY KEY() PARTITIONS 4;
connect other,localhost,root,,;
set session transaction isolation level repeatable read; set session transaction isolation level repeatable read;
select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS'; select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS';
STAT_TYPE VALUE STAT_TYPE VALUE
...@@ -29,6 +30,7 @@ start transaction with consistent snapshot; ...@@ -29,6 +30,7 @@ start transaction with consistent snapshot;
select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS'; select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS';
STAT_TYPE VALUE STAT_TYPE VALUE
DB_NUM_SNAPSHOTS 1 DB_NUM_SNAPSHOTS 1
connection default;
set rocksdb_bulk_load=1; set rocksdb_bulk_load=1;
set rocksdb_bulk_load_size=100000; set rocksdb_bulk_load_size=100000;
LOAD DATA INFILE <input_file> INTO TABLE t1; LOAD DATA INFILE <input_file> INTO TABLE t1;
...@@ -79,4 +81,5 @@ count(b) ...@@ -79,4 +81,5 @@ count(b)
5000000 5000000
longfilenamethatvalidatesthatthiswillgetdeleted.bulk_load.tmp longfilenamethatvalidatesthatthiswillgetdeleted.bulk_load.tmp
test.bulk_load.tmp test.bulk_load.tmp
disconnect other;
DROP TABLE t1, t2, t3; DROP TABLE t1, t2, t3;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment