mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Fixed errors found in buildbot
mysql-test/suite/funcs_1/r/innodb_func_view.result: Updated results mysql-test/suite/funcs_1/r/memory_func_view.result: Updated results mysql-test/suite/funcs_1/r/myisam_func_view.result: Updated results mysql-test/suite/pbxt/r/func_str.result: Updated error numbers mysql-test/suite/pbxt/r/type_newdecimal.result: Updated error numbers mysql-test/valgrind.supp: Added suppression for warning on Work (OpenSuse 11.3 64 bit)
This commit is contained in:
@@ -1504,7 +1504,7 @@ select locate('lo','hello',-18446744073709551615);
|
||||
locate('lo','hello',-18446744073709551615)
|
||||
0
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select locate('lo','hello',18446744073709551615);
|
||||
locate('lo','hello',18446744073709551615)
|
||||
0
|
||||
@@ -1512,22 +1512,22 @@ select locate('lo','hello',-18446744073709551616);
|
||||
locate('lo','hello',-18446744073709551616)
|
||||
0
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select locate('lo','hello',18446744073709551616);
|
||||
locate('lo','hello',18446744073709551616)
|
||||
0
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select locate('lo','hello',-18446744073709551617);
|
||||
locate('lo','hello',-18446744073709551617)
|
||||
0
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select locate('lo','hello',18446744073709551617);
|
||||
locate('lo','hello',18446744073709551617)
|
||||
0
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select left('hello', 10);
|
||||
left('hello', 10)
|
||||
hello
|
||||
@@ -1559,8 +1559,8 @@ select left('hello', -18446744073709551615);
|
||||
left('hello', -18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select left('hello', 18446744073709551615);
|
||||
left('hello', 18446744073709551615)
|
||||
hello
|
||||
@@ -1568,26 +1568,26 @@ select left('hello', -18446744073709551616);
|
||||
left('hello', -18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select left('hello', 18446744073709551616);
|
||||
left('hello', 18446744073709551616)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select left('hello', -18446744073709551617);
|
||||
left('hello', -18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select left('hello', 18446744073709551617);
|
||||
left('hello', 18446744073709551617)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select right('hello', 10);
|
||||
right('hello', 10)
|
||||
hello
|
||||
@@ -1619,8 +1619,8 @@ select right('hello', -18446744073709551615);
|
||||
right('hello', -18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select right('hello', 18446744073709551615);
|
||||
right('hello', 18446744073709551615)
|
||||
hello
|
||||
@@ -1628,26 +1628,26 @@ select right('hello', -18446744073709551616);
|
||||
right('hello', -18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select right('hello', 18446744073709551616);
|
||||
right('hello', 18446744073709551616)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select right('hello', -18446744073709551617);
|
||||
right('hello', -18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select right('hello', 18446744073709551617);
|
||||
right('hello', 18446744073709551617)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', 2, -1);
|
||||
substring('hello', 2, -1)
|
||||
|
||||
@@ -1679,8 +1679,8 @@ select substring('hello', -18446744073709551615, 1);
|
||||
substring('hello', -18446744073709551615, 1)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551615, 1);
|
||||
substring('hello', 18446744073709551615, 1)
|
||||
|
||||
@@ -1688,26 +1688,26 @@ select substring('hello', -18446744073709551616, 1);
|
||||
substring('hello', -18446744073709551616, 1)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551616, 1);
|
||||
substring('hello', 18446744073709551616, 1)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', -18446744073709551617, 1);
|
||||
substring('hello', -18446744073709551617, 1)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551617, 1);
|
||||
substring('hello', 18446744073709551617, 1)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', 1, -1);
|
||||
substring('hello', 1, -1)
|
||||
|
||||
@@ -1733,8 +1733,8 @@ select substring('hello', 1, -18446744073709551615);
|
||||
substring('hello', 1, -18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select substring('hello', 1, 18446744073709551615);
|
||||
substring('hello', 1, 18446744073709551615)
|
||||
hello
|
||||
@@ -1742,26 +1742,26 @@ select substring('hello', 1, -18446744073709551616);
|
||||
substring('hello', 1, -18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', 1, 18446744073709551616);
|
||||
substring('hello', 1, 18446744073709551616)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', 1, -18446744073709551617);
|
||||
substring('hello', 1, -18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', 1, 18446744073709551617);
|
||||
substring('hello', 1, 18446744073709551617)
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', -1, -1);
|
||||
substring('hello', -1, -1)
|
||||
|
||||
@@ -1787,10 +1787,10 @@ select substring('hello', -18446744073709551615, -18446744073709551615);
|
||||
substring('hello', -18446744073709551615, -18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551615, 18446744073709551615);
|
||||
substring('hello', 18446744073709551615, 18446744073709551615)
|
||||
|
||||
@@ -1798,34 +1798,34 @@ select substring('hello', -18446744073709551616, -18446744073709551616);
|
||||
substring('hello', -18446744073709551616, -18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551616, 18446744073709551616);
|
||||
substring('hello', 18446744073709551616, 18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select substring('hello', -18446744073709551617, -18446744073709551617);
|
||||
substring('hello', -18446744073709551617, -18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select substring('hello', 18446744073709551617, 18446744073709551617);
|
||||
substring('hello', 18446744073709551617, 18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', -1, 1, 'hi');
|
||||
insert('hello', -1, 1, 'hi')
|
||||
hello
|
||||
@@ -1851,7 +1851,7 @@ select insert('hello', -18446744073709551615, 1, 'hi');
|
||||
insert('hello', -18446744073709551615, 1, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551615, 1, 'hi');
|
||||
insert('hello', 18446744073709551615, 1, 'hi')
|
||||
hello
|
||||
@@ -1859,22 +1859,22 @@ select insert('hello', -18446744073709551616, 1, 'hi');
|
||||
insert('hello', -18446744073709551616, 1, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551616, 1, 'hi');
|
||||
insert('hello', 18446744073709551616, 1, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', -18446744073709551617, 1, 'hi');
|
||||
insert('hello', -18446744073709551617, 1, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551617, 1, 'hi');
|
||||
insert('hello', 18446744073709551617, 1, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', 1, -1, 'hi');
|
||||
insert('hello', 1, -1, 'hi')
|
||||
hi
|
||||
@@ -1900,7 +1900,7 @@ select insert('hello', 1, -18446744073709551615, 'hi');
|
||||
insert('hello', 1, -18446744073709551615, 'hi')
|
||||
hi
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select insert('hello', 1, 18446744073709551615, 'hi');
|
||||
insert('hello', 1, 18446744073709551615, 'hi')
|
||||
hi
|
||||
@@ -1908,22 +1908,22 @@ select insert('hello', 1, -18446744073709551616, 'hi');
|
||||
insert('hello', 1, -18446744073709551616, 'hi')
|
||||
hi
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', 1, 18446744073709551616, 'hi');
|
||||
insert('hello', 1, 18446744073709551616, 'hi')
|
||||
hi
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', 1, -18446744073709551617, 'hi');
|
||||
insert('hello', 1, -18446744073709551617, 'hi')
|
||||
hi
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', 1, 18446744073709551617, 'hi');
|
||||
insert('hello', 1, 18446744073709551617, 'hi')
|
||||
hi
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', -1, -1, 'hi');
|
||||
insert('hello', -1, -1, 'hi')
|
||||
hello
|
||||
@@ -1949,8 +1949,8 @@ select insert('hello', -18446744073709551615, -18446744073709551615, 'hi');
|
||||
insert('hello', -18446744073709551615, -18446744073709551615, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551615, 18446744073709551615, 'hi');
|
||||
insert('hello', 18446744073709551615, 18446744073709551615, 'hi')
|
||||
hello
|
||||
@@ -1958,26 +1958,26 @@ select insert('hello', -18446744073709551616, -18446744073709551616, 'hi');
|
||||
insert('hello', -18446744073709551616, -18446744073709551616, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551616, 18446744073709551616, 'hi');
|
||||
insert('hello', 18446744073709551616, 18446744073709551616, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
select insert('hello', -18446744073709551617, -18446744073709551617, 'hi');
|
||||
insert('hello', -18446744073709551617, -18446744073709551617, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select insert('hello', 18446744073709551617, 18446744073709551617, 'hi');
|
||||
insert('hello', 18446744073709551617, 18446744073709551617, 'hi')
|
||||
hello
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
select repeat('hello', -1);
|
||||
repeat('hello', -1)
|
||||
|
||||
@@ -2009,8 +2009,8 @@ select repeat('hello', -18446744073709551615);
|
||||
repeat('hello', -18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select repeat('hello', 18446744073709551615);
|
||||
repeat('hello', 18446744073709551615)
|
||||
NULL
|
||||
@@ -2020,27 +2020,27 @@ select repeat('hello', -18446744073709551616);
|
||||
repeat('hello', -18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select repeat('hello', 18446744073709551616);
|
||||
repeat('hello', 18446744073709551616)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
|
||||
select repeat('hello', -18446744073709551617);
|
||||
repeat('hello', -18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select repeat('hello', 18446744073709551617);
|
||||
repeat('hello', 18446744073709551617)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
|
||||
select space(-1);
|
||||
space(-1)
|
||||
@@ -2073,8 +2073,8 @@ select space(-18446744073709551615);
|
||||
space(-18446744073709551615)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select space(18446744073709551615);
|
||||
space(18446744073709551615)
|
||||
NULL
|
||||
@@ -2084,27 +2084,27 @@ select space(-18446744073709551616);
|
||||
space(-18446744073709551616)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select space(18446744073709551616);
|
||||
space(18446744073709551616)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
|
||||
select space(-18446744073709551617);
|
||||
space(-18446744073709551617)
|
||||
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select space(18446744073709551617);
|
||||
space(18446744073709551617)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
|
||||
select rpad('hello', -1, '1');
|
||||
rpad('hello', -1, '1')
|
||||
@@ -2137,8 +2137,8 @@ select rpad('hello', -18446744073709551615, '1');
|
||||
rpad('hello', -18446744073709551615, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select rpad('hello', 18446744073709551615, '1');
|
||||
rpad('hello', 18446744073709551615, '1')
|
||||
NULL
|
||||
@@ -2148,27 +2148,27 @@ select rpad('hello', -18446744073709551616, '1');
|
||||
rpad('hello', -18446744073709551616, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select rpad('hello', 18446744073709551616, '1');
|
||||
rpad('hello', 18446744073709551616, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated
|
||||
select rpad('hello', -18446744073709551617, '1');
|
||||
rpad('hello', -18446744073709551617, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select rpad('hello', 18446744073709551617, '1');
|
||||
rpad('hello', 18446744073709551617, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated
|
||||
select lpad('hello', -1, '1');
|
||||
lpad('hello', -1, '1')
|
||||
@@ -2201,8 +2201,8 @@ select lpad('hello', -18446744073709551615, '1');
|
||||
lpad('hello', -18446744073709551615, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551615' to INT. Value truncated.
|
||||
select lpad('hello', 18446744073709551615, '1');
|
||||
lpad('hello', 18446744073709551615, '1')
|
||||
NULL
|
||||
@@ -2212,27 +2212,27 @@ select lpad('hello', -18446744073709551616, '1');
|
||||
lpad('hello', -18446744073709551616, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551616' to INT. Value truncated.
|
||||
select lpad('hello', 18446744073709551616, '1');
|
||||
lpad('hello', 18446744073709551616, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated.
|
||||
Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated
|
||||
select lpad('hello', -18446744073709551617, '1');
|
||||
lpad('hello', -18446744073709551617, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '-18446744073709551617' to INT. Value truncated.
|
||||
select lpad('hello', 18446744073709551617, '1');
|
||||
lpad('hello', 18446744073709551617, '1')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '18446744073709551617' to INT. Value truncated.
|
||||
Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated
|
||||
SET @orig_sql_mode = @@SQL_MODE;
|
||||
SET SQL_MODE=traditional;
|
||||
|
@@ -838,12 +838,12 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999
|
||||
x
|
||||
99999999999999999999999999999999999999999999999999999999999999999
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
select 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 1 as x;
|
||||
x
|
||||
100000000000000000000000000000000000000000000000000000000000000000
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
select 0.190287977636363637 + 0.040372670 * 0 - 0;
|
||||
0.190287977636363637 + 0.040372670 * 0 - 0
|
||||
0.190287977636363637
|
||||
@@ -1368,15 +1368,15 @@ create table t1 (c1 decimal(64));
|
||||
insert into t1 values(
|
||||
89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
insert into t1 values(
|
||||
99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 *
|
||||
99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999);
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
insert into t1 values(1e100);
|
||||
Warnings:
|
||||
@@ -1447,4 +1447,4 @@ select cast(19999999999999999999 as unsigned);
|
||||
cast(19999999999999999999 as unsigned)
|
||||
18446744073709551615
|
||||
Warnings:
|
||||
Error 1657 Got overflow when converting '19999999999999999999' to UNSIGNED INT. Value truncated.
|
||||
Error 1916 Got overflow when converting '19999999999999999999' to UNSIGNED INT. Value truncated.
|
||||
|
Reference in New Issue
Block a user