[Commits] fbb2956: rocksdb.issue495 test uses partitions and so must declare that with a source directive

Sergei Petrunia psergey at askmonty.org
Tue Mar 14 11:17:47 EET 2017


revision-id: fbb2956aba272dbe68e0ede4616d449c38b89931
parent(s): ba00e640f658ad8d0a4dff09a497a51b8a4de935
committer: Sergei Petrunia
branch nick: mysql-5.6-rocksdb-compile-fixes-to-upstream
timestamp: 2017-03-14 12:17:47 +0300
message:

rocksdb.issue495 test uses partitions and so must declare that with a source directive

also, don't fail if the table t already existed.

---
 mysql-test/suite/rocksdb/r/issue495.result | 2 --
 mysql-test/suite/rocksdb/t/issue495.test   | 4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/mysql-test/suite/rocksdb/r/issue495.result b/mysql-test/suite/rocksdb/r/issue495.result
index 2560ec5..c7ac34c 100644
--- a/mysql-test/suite/rocksdb/r/issue495.result
+++ b/mysql-test/suite/rocksdb/r/issue495.result
@@ -1,6 +1,4 @@
 drop table if exists t;
-Warnings:
-Note	1051	Unknown table 'test.t'
 create table t (
 a int,
 b int,
diff --git a/mysql-test/suite/rocksdb/t/issue495.test b/mysql-test/suite/rocksdb/t/issue495.test
index bb215eb..ee4d10b 100644
--- a/mysql-test/suite/rocksdb/t/issue495.test
+++ b/mysql-test/suite/rocksdb/t/issue495.test
@@ -1,4 +1,8 @@
+--source include/have_partition.inc
+--disable_warnings
 drop table if exists t;
+--enable_warnings
+
 create table t (
   a int,
   b int,


More information about the commits mailing list