Commit c72a4dce authored by ngrishakin@mysql.com's avatar ngrishakin@mysql.com

updated test case ndb_dd_advance

parent ca498f1e
...@@ -853,11 +853,11 @@ INSERT INTO test.t1 (email, infoID, dateentered) VALUES ...@@ -853,11 +853,11 @@ INSERT INTO test.t1 (email, infoID, dateentered) VALUES
INSERT INTO test.t2(infoID, shipcode) VALUES INSERT INTO test.t2(infoID, shipcode) VALUES
(1, 'Z001'), (1, 'Z001'),
(2, 'R002'); (2, 'R002');
SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email; SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email, shipcode;
email shipcode email shipcode
test1@testdomain.com Z001 test1@testdomain.com Z001
test2@testdomain.com Z001
test2@testdomain.com R002 test2@testdomain.com R002
test2@testdomain.com Z001
test3@testdomain.com Z001 test3@testdomain.com Z001
SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC; SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC;
email email
......
...@@ -502,7 +502,7 @@ INSERT INTO test.t2(infoID, shipcode) VALUES ...@@ -502,7 +502,7 @@ INSERT INTO test.t2(infoID, shipcode) VALUES
(1, 'Z001'), (1, 'Z001'),
(2, 'R002'); (2, 'R002');
SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email; SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE t1.infoID=t2.infoID order by email, shipcode;
SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC; SELECT DISTINCTROW email FROM test.t1 ORDER BY dateentered DESC;
SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE test.t1.infoID=test.t2.infoID ORDER BY dateentered DESC; SELECT DISTINCTROW email, shipcode FROM test.t1, test.t2 WHERE test.t1.infoID=test.t2.infoID ORDER BY dateentered DESC;
drop table test.t1,test.t2; drop table test.t1,test.t2;
......
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