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
a8250e1b
Commit
a8250e1b
authored
Mar 02, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed order by in test
parent
8f26bb55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/ndb_partition_range.result
mysql-test/r/ndb_partition_range.result
+3
-3
mysql-test/t/ndb_partition_range.test
mysql-test/t/ndb_partition_range.test
+3
-3
No files found.
mysql-test/r/ndb_partition_range.result
View file @
a8250e1b
...
...
@@ -246,17 +246,17 @@ PARTITION BY RANGE(f1)
PARTITION part2 VALUES LESS THAN (1000));
INSERT INTO t1 VALUES(1, '---1---');
INSERT INTO t1 VALUES(2, '---2---');
select * from t1;
select * from t1
order by f1
;
f1 f2
1 ---1---
2 ---2---
UPDATE t1 SET f1 = f1 + 4 WHERE f1 = 2;
select * from t1;
select * from t1
order by f1
;
f1 f2
1 ---1---
6 ---2---
UPDATE t1 SET f1 = f1 + 4 WHERE f1 = 1;
select * from t1;
select * from t1
order by f1
;
f1 f2
5 ---1---
6 ---2---
...
...
mysql-test/t/ndb_partition_range.test
View file @
a8250e1b
...
...
@@ -252,9 +252,9 @@ PARTITION BY RANGE(f1)
PARTITION
part2
VALUES
LESS
THAN
(
1000
));
INSERT
INTO
t1
VALUES
(
1
,
'---1---'
);
INSERT
INTO
t1
VALUES
(
2
,
'---2---'
);
select
*
from
t1
;
select
*
from
t1
order
by
f1
;
UPDATE
t1
SET
f1
=
f1
+
4
WHERE
f1
=
2
;
select
*
from
t1
;
select
*
from
t1
order
by
f1
;
UPDATE
t1
SET
f1
=
f1
+
4
WHERE
f1
=
1
;
select
*
from
t1
;
select
*
from
t1
order
by
f1
;
drop
table
t1
;
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