mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Added no-search to regression
This commit is contained in:
parent
607d9fc17f
commit
746330fb34
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue