[Commits] Rev 2854: add suite.pm for oqgraph suite; fix suite.opt in http://bazaar.launchpad.net/~maria-captains/maria/5.2/

serg at askmonty.org serg at askmonty.org
Sun Sep 12 15:32:21 EEST 2010


At http://bazaar.launchpad.net/~maria-captains/maria/5.2/

------------------------------------------------------------
revno: 2854
revision-id: sergii at pisem.net-20100912123217-2gw6xdpnxgjwcu41
parent: sergii at pisem.net-20100912123114-sfcadtu22k3bhog7
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.2
timestamp: Sun 2010-09-12 14:32:17 +0200
message:
  add suite.pm for oqgraph suite;fix suite.opt
-------------- next part --------------
=== removed directory 'mysql-test/suite/oqgraph/include'
=== removed file 'mysql-test/suite/oqgraph/include/have_oqgraph_engine.inc'
--- a/mysql-test/suite/oqgraph/include/have_oqgraph_engine.inc	2010-01-04 08:27:50 +0000
+++ b/mysql-test/suite/oqgraph/include/have_oqgraph_engine.inc	1970-01-01 00:00:00 +0000
@@ -1,4 +0,0 @@
-disable_query_log;
---require r/true.require
-select (PLUGIN_LIBRARY LIKE 'oqgraph_engine%') as `TRUE` from information_schema.plugins where PLUGIN_NAME='OQGRAPH';
-enable_query_log;

=== renamed file 'mysql-test/suite/oqgraph/t/suite.opt' => 'mysql-test/suite/oqgraph/suite.opt'
--- a/mysql-test/suite/oqgraph/t/suite.opt	2010-06-14 16:58:52 +0000
+++ b/mysql-test/suite/oqgraph/suite.opt	2010-09-12 12:32:17 +0000
@@ -1 +1 @@
---plugin-load=$GRAPH_ENGINE_SO
+--plugin-load=$OQGRAPH_ENGINE_SO

=== added file 'mysql-test/suite/oqgraph/suite.pm'
--- a/mysql-test/suite/oqgraph/suite.pm	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/oqgraph/suite.pm	2010-09-12 12:32:17 +0000
@@ -0,0 +1,8 @@
+package My::Suite::OQGraph;
+
+ at ISA = qw(My::Suite);
+
+return "No OQGraph" unless $ENV{OQGRAPH_ENGINE_SO};
+
+bless { };
+

=== modified file 'mysql-test/suite/oqgraph/t/basic.test'
--- a/mysql-test/suite/oqgraph/t/basic.test	2010-01-04 08:27:50 +0000
+++ b/mysql-test/suite/oqgraph/t/basic.test	2010-09-12 12:32:17 +0000
@@ -1,5 +1,3 @@
--- source suite/oqgraph/include/have_oqgraph_engine.inc
-
 drop table if exists graph;
 
 CREATE TABLE graph (

=== modified file 'mysql-test/suite/oqgraph/t/binlog.test'
--- a/mysql-test/suite/oqgraph/t/binlog.test	2010-04-12 23:23:51 +0000
+++ b/mysql-test/suite/oqgraph/t/binlog.test	2010-09-12 12:32:17 +0000
@@ -1,4 +1,3 @@
--- source suite/oqgraph/include/have_oqgraph_engine.inc
 -- source include/have_log_bin.inc
 
 --disable_warnings



More information about the commits mailing list