summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskozlov/ksm@mysql.com/virtop.localdomain <>2006-12-18 09:46:44 +0300
committerskozlov/ksm@mysql.com/virtop.localdomain <>2006-12-18 09:46:44 +0300
commit4843e335fccdf61a1adf06bd79854198f19119e1 (patch)
tree537a48a3e64a318e76bb2080d0d8200e304cb2c1
parent5b7c2c91c187af254a42f3783fcde626b0e9d380 (diff)
downloadmariadb-git-4843e335fccdf61a1adf06bd79854198f19119e1.tar.gz
fix for commit 1.2368
-rw-r--r--mysql-test/r/ndb_alter_table.result12
-rw-r--r--mysql-test/t/ndb_alter_table.test4
2 files changed, 8 insertions, 8 deletions
diff --git a/mysql-test/r/ndb_alter_table.result b/mysql-test/r/ndb_alter_table.result
index be258f41c52..13c445b44ca 100644
--- a/mysql-test/r/ndb_alter_table.result
+++ b/mysql-test/r/ndb_alter_table.result
@@ -386,16 +386,16 @@ t1 CREATE TABLE `t1` (
drop table t1;
create table t1 (a int not null, b int not null) engine=ndb;
insert into t1 values (1, 300), (2, 200), (3, 100);
-select * from t1;
+select * from t1 order by a;
a b
-3 100
-2 200
1 300
+2 200
+3 100
alter table t1 order by b;
-select * from t1;
+select * from t1 order by b;
a b
-1 300
-2 200
3 100
+2 200
+1 300
drop table t1;
End of 5.1 tests
diff --git a/mysql-test/t/ndb_alter_table.test b/mysql-test/t/ndb_alter_table.test
index 28a03cb4595..a7b52d54710 100644
--- a/mysql-test/t/ndb_alter_table.test
+++ b/mysql-test/t/ndb_alter_table.test
@@ -431,9 +431,9 @@ drop table t1;
# alter .. order by
create table t1 (a int not null, b int not null) engine=ndb;
insert into t1 values (1, 300), (2, 200), (3, 100);
-select * from t1;
+select * from t1 order by a;
alter table t1 order by b;
-select * from t1;
+select * from t1 order by b;
drop table t1;
--echo End of 5.1 tests