Commit d317fb35 authored by unknown's avatar unknown

updated test case ndb_dd_advance


mysql-test/t/ndb_dd_advance.test:
  ndb_dd_advance.test
mysql-test/r/ndb_dd_advance.result:
  ndb_dd_advance.result
parent 766dd8bd
...@@ -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