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
9c53c7ff
Commit
9c53c7ff
authored
Oct 03, 2006
by
bar@mysql.com/bar.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automerge fix: "Out of range value" error message adjusted to 5.1.
parent
0cfb76b8
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
94 additions
and
104 deletions
+94
-104
mysql-test/r/log_tables.result
mysql-test/r/log_tables.result
+2
-2
mysql-test/r/ps_2myisam.result
mysql-test/r/ps_2myisam.result
+12
-12
mysql-test/r/ps_3innodb.result
mysql-test/r/ps_3innodb.result
+12
-12
mysql-test/r/ps_4heap.result
mysql-test/r/ps_4heap.result
+12
-12
mysql-test/r/ps_5merge.result
mysql-test/r/ps_5merge.result
+24
-24
mysql-test/r/ps_7ndb.result
mysql-test/r/ps_7ndb.result
+12
-12
mysql-test/r/round.result
mysql-test/r/round.result
+16
-16
mysql-test/r/select.result
mysql-test/r/select.result
+1
-11
mysql-test/r/strict_autoinc_4bdb.result
mysql-test/r/strict_autoinc_4bdb.result
+3
-3
No files found.
mysql-test/r/log_tables.result
View file @
9c53c7ff
...
...
@@ -112,8 +112,8 @@ slow_log CREATE TABLE `slow_log` (
alter table mysql.general_log engine=myisam;
alter table mysql.slow_log engine=myisam;
Warnings:
Warning 1
264 Out of range value
for column 'last_insert_id' at row 0
Warning 1
264 Out of range value
for column 'insert_id' at row 0
Warning 1
366 Incorrect integer value: ''
for column 'last_insert_id' at row 0
Warning 1
366 Incorrect integer value: ''
for column 'insert_id' at row 0
show create table mysql.general_log;
Table Create Table
general_log CREATE TABLE `general_log` (
...
...
mysql-test/r/ps_2myisam.result
View file @
9c53c7ff
...
...
@@ -2689,12 +2689,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -2739,12 +2739,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
mysql-test/r/ps_3innodb.result
View file @
9c53c7ff
...
...
@@ -2672,12 +2672,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -2722,12 +2722,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
mysql-test/r/ps_4heap.result
View file @
9c53c7ff
...
...
@@ -2673,12 +2673,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -2723,12 +2723,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
mysql-test/r/ps_5merge.result
View file @
9c53c7ff
...
...
@@ -2609,12 +2609,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -2659,12 +2659,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -5623,12 +5623,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -5673,12 +5673,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
mysql-test/r/ps_7ndb.result
View file @
9c53c7ff
...
...
@@ -2672,12 +2672,12 @@ set @arg00= '1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
@@ -2722,12 +2722,12 @@ set @arg00= '-1.11111111111111111111e+50' ;
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
@arg00, @arg00, @arg00, @arg00, @arg00 ;
Warnings:
Warning 1264 Out of range value
adjusted
for column 'c1' at row 1
Warning 1264 Out of range value
adjusted
for column 'c2' at row 1
Warning 1264 Out of range value
adjusted
for column 'c3' at row 1
Warning 1264 Out of range value
adjusted
for column 'c4' at row 1
Warning 1264 Out of range value
adjusted
for column 'c5' at row 1
Warning 1264 Out of range value
adjusted
for column 'c6' at row 1
Warning 1264 Out of range value for column 'c1' at row 1
Warning 1264 Out of range value for column 'c2' at row 1
Warning 1264 Out of range value for column 'c3' at row 1
Warning 1264 Out of range value for column 'c4' at row 1
Warning 1264 Out of range value for column 'c5' at row 1
Warning 1264 Out of range value for column 'c6' at row 1
Warning 1264 Out of range value for column 'c7' at row 1
Warning 1264 Out of range value for column 'c12' at row 1
execute my_select ;
...
...
mysql-test/r/round.result
View file @
9c53c7ff
...
...
@@ -5,7 +5,7 @@ INSERT INTO t1 VALUES ('0.5');
INSERT INTO t1 VALUES ('127.4');
INSERT INTO t1 VALUES ('127.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint8' at row 1
Warning 1264 Out of range value for column 'sint8' at row 1
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
INSERT INTO t1 VALUES ('-127.4');
...
...
@@ -13,7 +13,7 @@ INSERT INTO t1 VALUES ('-127.5');
INSERT INTO t1 VALUES ('-128.4');
INSERT INTO t1 VALUES ('-128.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint8' at row 1
Warning 1264 Out of range value for column 'sint8' at row 1
SELECT * FROM t1;
sint8
0
...
...
@@ -35,11 +35,11 @@ INSERT INTO t1 VALUES ('127.5');
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint8' at row 1
Warning 1264 Out of range value for column 'uint8' at row 1
INSERT INTO t1 VALUES ('255.4');
INSERT INTO t1 VALUES ('255.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint8' at row 1
Warning 1264 Out of range value for column 'uint8' at row 1
SELECT * FROM t1;
uint8
0
...
...
@@ -57,7 +57,7 @@ INSERT INTO t1 VALUES ('0.5');
INSERT INTO t1 VALUES ('32767.4');
INSERT INTO t1 VALUES ('32767.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint16' at row 1
Warning 1264 Out of range value for column 'sint16' at row 1
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
INSERT INTO t1 VALUES ('-32767.4');
...
...
@@ -65,7 +65,7 @@ INSERT INTO t1 VALUES ('-32767.5');
INSERT INTO t1 VALUES ('-32768.4');
INSERT INTO t1 VALUES ('-32768.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint16' at row 1
Warning 1264 Out of range value for column 'sint16' at row 1
SELECT * FROM t1;
sint16
0
...
...
@@ -87,11 +87,11 @@ INSERT INTO t1 VALUES ('32767.5');
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint16' at row 1
Warning 1264 Out of range value for column 'uint16' at row 1
INSERT INTO t1 VALUES ('65535.4');
INSERT INTO t1 VALUES ('65535.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint16' at row 1
Warning 1264 Out of range value for column 'uint16' at row 1
SELECT * FROM t1;
uint16
0
...
...
@@ -109,7 +109,7 @@ INSERT INTO t1 VALUES ('0.5');
INSERT INTO t1 VALUES ('8388607.4');
INSERT INTO t1 VALUES ('8388607.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint24' at row 1
Warning 1264 Out of range value for column 'sint24' at row 1
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
INSERT INTO t1 VALUES ('-8388607.4');
...
...
@@ -117,7 +117,7 @@ INSERT INTO t1 VALUES ('-8388607.5');
INSERT INTO t1 VALUES ('-8388608.4');
INSERT INTO t1 VALUES ('-8388608.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint24' at row 1
Warning 1264 Out of range value for column 'sint24' at row 1
SELECT * FROM t1;
sint24
0
...
...
@@ -139,11 +139,11 @@ INSERT INTO t1 VALUES ('8388607.5');
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint24' at row 1
Warning 1264 Out of range value for column 'uint24' at row 1
INSERT INTO t1 VALUES ('16777215.4');
INSERT INTO t1 VALUES ('16777215.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint24' at row 1
Warning 1264 Out of range value for column 'uint24' at row 1
SELECT * FROM t1;
uint24
0
...
...
@@ -161,7 +161,7 @@ INSERT INTO t1 VALUES ('0.5');
INSERT INTO t1 VALUES ('9223372036854775807.4');
INSERT INTO t1 VALUES ('9223372036854775807.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint64' at row 1
Warning 1264 Out of range value for column 'sint64' at row 1
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
INSERT INTO t1 VALUES ('-9223372036854775807.4');
...
...
@@ -169,7 +169,7 @@ INSERT INTO t1 VALUES ('-9223372036854775807.5');
INSERT INTO t1 VALUES ('-9223372036854775808.4');
INSERT INTO t1 VALUES ('-9223372036854775808.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'sint64' at row 1
Warning 1264 Out of range value for column 'sint64' at row 1
SELECT * FROM t1;
sint64
0
...
...
@@ -191,11 +191,11 @@ INSERT INTO t1 VALUES ('9223372036854775807.5');
INSERT INTO t1 VALUES ('-0.1');
INSERT INTO t1 VALUES ('-0.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint64' at row 1
Warning 1264 Out of range value for column 'uint64' at row 1
INSERT INTO t1 VALUES ('18446744073709551615.4');
INSERT INTO t1 VALUES ('18446744073709551615.5');
Warnings:
Warning 1264 Out of range value
adjusted
for column 'uint64' at row 1
Warning 1264 Out of range value for column 'uint64' at row 1
INSERT INTO t1 VALUES ('1844674407370955161.0');
INSERT INTO t1 VALUES ('1844674407370955161.1');
INSERT INTO t1 VALUES ('1844674407370955161.2');
...
...
mysql-test/r/select.result
View file @
9c53c7ff
...
...
@@ -2730,16 +2730,6 @@ ERROR 42000: Key 'a' doesn't exist in table 't1'
EXPLAIN SELECT * FROM t1 FORCE INDEX (a);
ERROR 42000: Key 'a' doesn't exist in table 't1'
DROP TABLE t1;
ERROR HY000: Key 'a' doesn't exist in table 't1'
EXPLAIN SELECT * FROM t1 FORCE INDEX (a);
ERROR HY000: Key 'a' doesn't exist in table 't1'
DROP TABLE t1;
CREATE TABLE t1 (i BIGINT UNSIGNED NOT NULL);
INSERT INTO t1 VALUES (10);
SELECT i='1e+01',i=1e+01, i in (1e+01,1e+01), i in ('1e+01','1e+01') FROM t1;
i='1e+01' i=1e+01 i in (1e+01,1e+01) i in ('1e+01','1e+01')
1 1 1 1
DROP TABLE t1;
CREATE TABLE t1 (a int, b int);
INSERT INTO t1 VALUES (1,1), (2,1), (4,10);
CREATE TABLE t2 (a int PRIMARY KEY, b int, KEY b (b));
...
...
@@ -2819,7 +2809,7 @@ CREATE TABLE t1 (i BIGINT UNSIGNED NOT NULL);
INSERT INTO t1 VALUES (10);
SELECT i='1e+01',i=1e+01, i in (1e+01,1e+01), i in ('1e+01','1e+01') FROM t1;
i='1e+01' i=1e+01 i in (1e+01,1e+01) i in ('1e+01','1e+01')
0
1 1 1
1
1 1 1
DROP TABLE t1;
CREATE TABLE t1 (
K2C4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '',
...
...
mysql-test/r/strict_autoinc_4bdb.result
View file @
9c53c7ff
...
...
@@ -6,21 +6,21 @@ primary key (`a`)
) engine = 'BDB' ;
set @@sql_mode='strict_all_tables';
insert into t1 values(1000);
ERROR 22003: Out of range value
adjusted
for column 'a' at row 1
ERROR 22003: Out of range value for column 'a' at row 1
select count(*) from t1;
count(*)
0
set auto_increment_increment=1000;
set auto_increment_offset=700;
insert into t1 values(null);
ERROR 22003: Out of range value
adjusted
for column 'a' at row 1
ERROR 22003: Out of range value for column 'a' at row 1
select count(*) from t1;
count(*)
0
set @@sql_mode=@org_mode;
insert into t1 values(null);
Warnings:
Warning 1264 Out of range value
adjusted
for column 'a' at row 1
Warning 1264 Out of range value for column 'a' at row 1
select * from t1;
a
127
...
...
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