Commit d7a9aed4 authored by Michael Widenius's avatar Michael Widenius Committed by Sergei Golubchik

Fixed test failing as myisam table was deleted before oqgraph table.

parent 4bad74e1
...@@ -33,5 +33,5 @@ FROM `version_history` AS `v` INNER JOIN `db_history` AS `db` ON `db`.`nodeID` = ...@@ -33,5 +33,5 @@ FROM `version_history` AS `v` INNER JOIN `db_history` AS `db` ON `db`.`nodeID` =
WHERE `latch` = 'breadth_first' AND `origid` = '1' ORDER BY `weight` DESC LIMIT 1; WHERE `latch` = 'breadth_first' AND `origid` = '1' ORDER BY `weight` DESC LIMIT 1;
version nodeID version nodeID
0.0.3 3 0.0.3 3
DROP TABLE db_history;
DROP TABLE version_history; DROP TABLE version_history;
DROP TABLE db_history;
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
--disconnect con2 --disconnect con2
--connect (con3,localhost,root,,test) --connect (con3,localhost,root,,test)
DROP TABLE db_history;
DROP TABLE version_history; DROP TABLE version_history;
DROP TABLE db_history;
--disconnect con3 --disconnect con3
...@@ -8,5 +8,5 @@ latch origid destid weight seq linkid ...@@ -8,5 +8,5 @@ latch origid destid weight seq linkid
breadth_first 1 6 NULL 0 1 breadth_first 1 6 NULL 0 1
breadth_first 1 6 1 1 2 breadth_first 1 6 1 1 2
breadth_first 1 6 1 2 6 breadth_first 1 6 1 2 6
DROP TABLE IF EXISTS oq_backing;
DROP TABLE IF EXISTS oq_graph; DROP TABLE IF EXISTS oq_graph;
DROP TABLE IF EXISTS oq_backing;
...@@ -14,6 +14,6 @@ CREATE TABLE oq_graph (latch VARCHAR(32) NULL, origid BIGINT UNSIGNED NULL, dest ...@@ -14,6 +14,6 @@ CREATE TABLE oq_graph (latch VARCHAR(32) NULL, origid BIGINT UNSIGNED NULL, dest
SELECT * FROM oq_graph WHERE latch='breadth_first' AND origid=1 AND destid=6; SELECT * FROM oq_graph WHERE latch='breadth_first' AND origid=1 AND destid=6;
DROP TABLE IF EXISTS oq_backing;
DROP TABLE IF EXISTS oq_graph; DROP TABLE IF EXISTS oq_graph;
DROP TABLE IF EXISTS oq_backing;
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