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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
69a7022d
Commit
69a7022d
authored
Jun 10, 2014
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong result for Spider test
parent
de444161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
49 deletions
+44
-49
storage/spider/mysql-test/spider/r/spider_fixes.result
storage/spider/mysql-test/spider/r/spider_fixes.result
+44
-49
No files found.
storage/spider/mysql-test/spider/r/spider_fixes.result
View file @
69a7022d
...
@@ -245,7 +245,7 @@ a b c
...
@@ -245,7 +245,7 @@ a b c
direct order limit
direct order limit
SHOW STATUS LIKE 'Spider_direct_order_limit';
SHOW STATUS LIKE 'Spider_direct_order_limit';
Variable_name Value
Variable_name Value
Spider_direct_order_limit
2
Spider_direct_order_limit
0
SELECT a, b, c FROM ta_l_int ORDER BY a LIMIT 3;
SELECT a, b, c FROM ta_l_int ORDER BY a LIMIT 3;
a b c
a b c
1 2 4
1 2 4
...
@@ -253,7 +253,7 @@ a b c
...
@@ -253,7 +253,7 @@ a b c
3 4 5
3 4 5
SHOW STATUS LIKE 'Spider_direct_order_limit';
SHOW STATUS LIKE 'Spider_direct_order_limit';
Variable_name Value
Variable_name Value
Spider_direct_order_limit
3
Spider_direct_order_limit
0
2.26
2.26
lock tables
lock tables
...
@@ -297,83 +297,79 @@ PRIMARY KEY (id)
...
@@ -297,83 +297,79 @@ PRIMARY KEY (id)
INSERT INTO t1 () VALUES ();
INSERT INTO t1 () VALUES ();
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
2
777
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
2
777
INSERT INTO t1 () VALUES ();
INSERT INTO t1 () VALUES ();
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
6
1554
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
6
1554
INSERT INTO t1 (id) VALUES (null);
INSERT INTO t1 (id) VALUES (null);
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
10
2331
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
10
2331
INSERT INTO t1 (id) VALUES (null);
INSERT INTO t1 (id) VALUES (null);
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
14
3108
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
14
3108
INSERT INTO t1 () VALUES (),(),(),();
INSERT INTO t1 () VALUES (),(),(),();
Warnings:
Note 12520 Binlog's auto-inc value is probably different from linked table's auto-inc value
Note 12520 Binlog's auto-inc value is probably different from linked table's auto-inc value
Note 12520 Binlog's auto-inc value is probably different from linked table's auto-inc value
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
18
3885
SELECT id FROM t1 ORDER BY id;
SELECT id FROM t1 ORDER BY id;
id
id
2
777
6
1554
10
2331
14
3108
18
3885
2
2
466
2
26
5439
30
6216
SET INSERT_ID=5000;
SET INSERT_ID=5000;
INSERT INTO t1 () VALUES ();
INSERT INTO t1 () VALUES ();
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
34
5000
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
34
6216
INSERT INTO t1 (id) VALUES (10000);
INSERT INTO t1 (id) VALUES (10000);
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
38
5000
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
38
10000
INSERT INTO t1 (id) VALUES (1000);
INSERT INTO t1 (id) VALUES (1000);
SELECT LAST_INSERT_ID();
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
LAST_INSERT_ID()
42
5000
SELECT MAX(id) FROM t1;
SELECT MAX(id) FROM t1;
MAX(id)
MAX(id)
42
10000
SELECT id FROM t1 ORDER BY id;
SELECT id FROM t1 ORDER BY id;
id
id
2
6
10
14
18
34
777
777
1000
1000
1554
1554
2331
2331
3108
3885
4662
5000
5439
6216
10000
10000
read only
read only
...
@@ -384,22 +380,22 @@ PRIMARY KEY (id)
...
@@ -384,22 +380,22 @@ PRIMARY KEY (id)
) MASTER_1_ENGINE MASTER_1_CHARSET MASTER_1_COMMENT_READONLY1_1
) MASTER_1_ENGINE MASTER_1_CHARSET MASTER_1_COMMENT_READONLY1_1
SELECT id FROM t1 ORDER BY id;
SELECT id FROM t1 ORDER BY id;
id
id
2
777
6
1000
1
0
1
554
14
2331
1
8
310
8
22
3885
26
4662
3
0
500
0
34
5439
38
6216
42
10000
INSERT INTO t1 (id) VALUES (1);
INSERT INTO t1 (id) VALUES (1);
ERROR HY000: Table 'auto_test_local.t1' is read only
ERROR HY000: Table 'auto_test_local.t1' is read only
UPDATE t1 SET id = 4 WHERE id =
2
;
UPDATE t1 SET id = 4 WHERE id =
777
;
ERROR HY000: Table 'auto_test_local.t1' is read only
ERROR HY000: Table 'auto_test_local.t1' is read only
DELETE FROM t1 WHERE id =
2
;
DELETE FROM t1 WHERE id =
777
;
ERROR HY000: Table 'auto_test_local.t1' is read only
ERROR HY000: Table 'auto_test_local.t1' is read only
DELETE FROM t1;
DELETE FROM t1;
ERROR HY000: Table 'auto_test_local.t1' is read only
ERROR HY000: Table 'auto_test_local.t1' is read only
...
@@ -424,7 +420,6 @@ Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
...
@@ -424,7 +420,6 @@ Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
DELETE FROM t1;
DELETE FROM t1;
Warnings:
Warnings:
Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
TRUNCATE t1;
TRUNCATE t1;
Warnings:
Warnings:
...
...
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