Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4843e335
Commit
4843e335
authored
Dec 18, 2006
by
skozlov/ksm@mysql.com/virtop.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for commit 1.2368
parent
5b7c2c91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/r/ndb_alter_table.result
mysql-test/r/ndb_alter_table.result
+6
-6
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+2
-2
No files found.
mysql-test/r/ndb_alter_table.result
View file @
4843e335
...
...
@@ -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
mysql-test/t/ndb_alter_table.test
View file @
4843e335
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment