From 746330fb34821eace72c1ac71cf867fb51ebb5d3 Mon Sep 17 00:00:00 2001 From: Andrew McDonnell Date: Tue, 28 May 2013 22:07:57 +0930 Subject: [PATCH] Added no-search to regression --- mysql-test/suite/oqgraph/legacy_upgrade.result | 5 +++++ mysql-test/suite/oqgraph/legacy_upgrade.test | 3 +++ 2 files changed, 8 insertions(+) diff --git a/mysql-test/suite/oqgraph/legacy_upgrade.result b/mysql-test/suite/oqgraph/legacy_upgrade.result index 394f1ec9468..d08fa6a4df6 100644 --- a/mysql-test/suite/oqgraph/legacy_upgrade.result +++ b/mysql-test/suite/oqgraph/legacy_upgrade.result @@ -76,6 +76,11 @@ latch origid destid weight seq linkid 1 4 1 NULL 0 4 1 4 1 1 1 3 1 4 1 1 2 1 +SELECT * FROM graph WHERE latch=0 and destid=2 and origid=1; +latch origid destid weight seq linkid +0 1 2 1 3 1 +0 1 2 1 2 3 +0 1 2 1 1 2 # Adding new row to base table INSERT INTO graph_base (from_id,to_id) VALUES (4,6); # Deleting rows from base table diff --git a/mysql-test/suite/oqgraph/legacy_upgrade.test b/mysql-test/suite/oqgraph/legacy_upgrade.test index 665c50e8cb9..f7fc79340ce 100644 --- a/mysql-test/suite/oqgraph/legacy_upgrade.test +++ b/mysql-test/suite/oqgraph/legacy_upgrade.test @@ -84,6 +84,9 @@ SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=6; SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=4; SELECT * FROM graph WHERE latch=1 AND origid=4 AND destid=1; +SELECT * FROM graph WHERE latch=0 and destid=2 and origid=1; + + --echo # Adding new row to base table INSERT INTO graph_base (from_id,to_id) VALUES (4,6);