1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +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:
Michael Widenius 2011-05-23 15:14:54 +03:00
parent 4749f34bf0
commit de44b51e15
6 changed files with 268 additions and 258 deletions

View File

@ -945,8 +945,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -960,8 +960,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2595,9 +2595,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2611,9 +2611,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2969,8 +2969,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2984,8 +2984,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -3296,9 +3296,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3314,9 +3314,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
DROP VIEW v1; DROP VIEW v1;
@ -3386,9 +3386,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3403,9 +3403,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3422,11 +3422,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3444,11 +3444,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3468,9 +3468,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3485,9 +3485,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3504,11 +3504,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3524,11 +3524,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
DROP VIEW v1; DROP VIEW v1;

View File

@ -946,8 +946,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -961,8 +961,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2596,9 +2596,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2612,9 +2612,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2970,8 +2970,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2985,8 +2985,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -3297,9 +3297,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3315,9 +3315,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
DROP VIEW v1; DROP VIEW v1;
@ -3387,9 +3387,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3404,9 +3404,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3423,11 +3423,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3445,11 +3445,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3469,9 +3469,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3486,9 +3486,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3505,11 +3505,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3525,11 +3525,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
DROP VIEW v1; DROP VIEW v1;

View File

@ -946,8 +946,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select left('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö',`t1_values`.`my_decimal`) AS `LEFT('AaBbCcDdEeFfGgHhIiJjÄäÜüÃö', my_decimal)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -961,8 +961,8 @@ AaBbCcDdEeFfGgHhIiJjÄäÜüÖö 9999999999999999999999999999999999.999999999999
0.000000000000000000000000000000 4 0.000000000000000000000000000000 4
-1.000000000000000000000000000000 5 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2596,9 +2596,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as unsigned) AS `CAST(my_decimal AS UNSIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2612,9 +2612,9 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
0 -1.000000000000000000000000000000 5 0 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to UNSIGNED INT. Value truncated.
Error 1657 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated. Error 1916 Got overflow when converting '-1.000000000000000000000000000000' to UNSIGNED INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -2970,8 +2970,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_decimal` as signed) AS `CAST(my_decimal AS SIGNED INTEGER)`,`t1_values`.`my_decimal` AS `my_decimal`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -2985,8 +2985,8 @@ NULL NULL 1
0 0.000000000000000000000000000000 4 0 0.000000000000000000000000000000 4
-1 -1.000000000000000000000000000000 5 -1 -1.000000000000000000000000000000 5
Warnings: Warnings:
Error 1657 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '-9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
Error 1657 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated. Error 1916 Got overflow when converting '9999999999999999999999999999999999.999999999999999999999999999999' to INT. Value truncated.
DROP VIEW v1; DROP VIEW v1;
@ -3297,9 +3297,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3315,9 +3315,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 30 -3333.33 -3333.3333 30
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 Got overflow when converting '' to DECIMAL. Value truncated.
Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1 Error 1264 Out of range value for column 'CAST(my_double AS DECIMAL(37,2))' at row 1
DROP VIEW v1; DROP VIEW v1;
@ -3387,9 +3387,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varbinary_1000` as decimal(37,2)) AS `CAST(my_varbinary_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varbinary_1000` AS `my_varbinary_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3404,9 +3404,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 29 -3333.33 -3333.3333 29
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3423,11 +3423,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3445,11 +3445,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 28 -3333.33 -3333.3333 28
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '' Warning 1292 Truncated incorrect DECIMAL value: ''
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
Warning 1292 Truncated incorrect DECIMAL value: '-1' Warning 1292 Truncated incorrect DECIMAL value: '-1'
Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333' Warning 1292 Truncated incorrect DECIMAL value: '-3333.3333'
@ -3469,9 +3469,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select cast(`t1_values`.`my_varchar_1000` as decimal(37,2)) AS `CAST(my_varchar_1000 AS DECIMAL(37,2))`,`t1_values`.`my_varchar_1000` AS `my_varchar_1000`,`t1_values`.`id` AS `id` from `t1_values` latin1 latin1_swedish_ci
@ -3486,9 +3486,9 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 27 -3333.33 -3333.3333 27
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
DROP VIEW v1; DROP VIEW v1;
@ -3505,11 +3505,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
SHOW CREATE VIEW v1; SHOW CREATE VIEW v1;
View Create View character_set_client collation_connection View Create View character_set_client collation_connection
@ -3525,11 +3525,11 @@ NULL NULL 1
-1.00 -1 5 -1.00 -1 5
-3333.33 -3333.3333 26 -3333.33 -3333.3333 26
Warnings: Warnings:
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ' Warning 1292 Truncated incorrect DECIMAL value: ' '
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->' Warning 1292 Truncated incorrect DECIMAL value: '<--------30 characters------->'
Error 1659 Encountered illegal value '' when converting to DECIMAL Error 1918 Encountered illegal value '' when converting to DECIMAL
Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- ' Warning 1292 Truncated incorrect DECIMAL value: ' ---äÖüß@µ*$-- '
DROP VIEW v1; DROP VIEW v1;

View File

@ -1504,7 +1504,7 @@ select locate('lo','hello',-18446744073709551615);
locate('lo','hello',-18446744073709551615) locate('lo','hello',-18446744073709551615)
0 0
Warnings: 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); select locate('lo','hello',18446744073709551615);
locate('lo','hello',18446744073709551615) locate('lo','hello',18446744073709551615)
0 0
@ -1512,22 +1512,22 @@ select locate('lo','hello',-18446744073709551616);
locate('lo','hello',-18446744073709551616) locate('lo','hello',-18446744073709551616)
0 0
Warnings: 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); select locate('lo','hello',18446744073709551616);
locate('lo','hello',18446744073709551616) locate('lo','hello',18446744073709551616)
0 0
Warnings: 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); select locate('lo','hello',-18446744073709551617);
locate('lo','hello',-18446744073709551617) locate('lo','hello',-18446744073709551617)
0 0
Warnings: 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); select locate('lo','hello',18446744073709551617);
locate('lo','hello',18446744073709551617) locate('lo','hello',18446744073709551617)
0 0
Warnings: 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); select left('hello', 10);
left('hello', 10) left('hello', 10)
hello hello
@ -1559,8 +1559,8 @@ select left('hello', -18446744073709551615);
left('hello', -18446744073709551615) left('hello', -18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select left('hello', 18446744073709551615); select left('hello', 18446744073709551615);
left('hello', 18446744073709551615) left('hello', 18446744073709551615)
hello hello
@ -1568,26 +1568,26 @@ select left('hello', -18446744073709551616);
left('hello', -18446744073709551616) left('hello', -18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select left('hello', 18446744073709551616); select left('hello', 18446744073709551616);
left('hello', 18446744073709551616) left('hello', 18446744073709551616)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select left('hello', -18446744073709551617); select left('hello', -18446744073709551617);
left('hello', -18446744073709551617) left('hello', -18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select left('hello', 18446744073709551617); select left('hello', 18446744073709551617);
left('hello', 18446744073709551617) left('hello', 18446744073709551617)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select right('hello', 10); select right('hello', 10);
right('hello', 10) right('hello', 10)
hello hello
@ -1619,8 +1619,8 @@ select right('hello', -18446744073709551615);
right('hello', -18446744073709551615) right('hello', -18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select right('hello', 18446744073709551615); select right('hello', 18446744073709551615);
right('hello', 18446744073709551615) right('hello', 18446744073709551615)
hello hello
@ -1628,26 +1628,26 @@ select right('hello', -18446744073709551616);
right('hello', -18446744073709551616) right('hello', -18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select right('hello', 18446744073709551616); select right('hello', 18446744073709551616);
right('hello', 18446744073709551616) right('hello', 18446744073709551616)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select right('hello', -18446744073709551617); select right('hello', -18446744073709551617);
right('hello', -18446744073709551617) right('hello', -18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select right('hello', 18446744073709551617); select right('hello', 18446744073709551617);
right('hello', 18446744073709551617) right('hello', 18446744073709551617)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', 2, -1); select substring('hello', 2, -1);
substring('hello', 2, -1) substring('hello', 2, -1)
@ -1679,8 +1679,8 @@ select substring('hello', -18446744073709551615, 1);
substring('hello', -18446744073709551615, 1) substring('hello', -18446744073709551615, 1)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551615, 1); select substring('hello', 18446744073709551615, 1);
substring('hello', 18446744073709551615, 1) substring('hello', 18446744073709551615, 1)
@ -1688,26 +1688,26 @@ select substring('hello', -18446744073709551616, 1);
substring('hello', -18446744073709551616, 1) substring('hello', -18446744073709551616, 1)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551616, 1); select substring('hello', 18446744073709551616, 1);
substring('hello', 18446744073709551616, 1) substring('hello', 18446744073709551616, 1)
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', -18446744073709551617, 1); select substring('hello', -18446744073709551617, 1);
substring('hello', -18446744073709551617, 1) substring('hello', -18446744073709551617, 1)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551617, 1); select substring('hello', 18446744073709551617, 1);
substring('hello', 18446744073709551617, 1) substring('hello', 18446744073709551617, 1)
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', 1, -1); select substring('hello', 1, -1);
substring('hello', 1, -1) substring('hello', 1, -1)
@ -1733,8 +1733,8 @@ select substring('hello', 1, -18446744073709551615);
substring('hello', 1, -18446744073709551615) substring('hello', 1, -18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select substring('hello', 1, 18446744073709551615); select substring('hello', 1, 18446744073709551615);
substring('hello', 1, 18446744073709551615) substring('hello', 1, 18446744073709551615)
hello hello
@ -1742,26 +1742,26 @@ select substring('hello', 1, -18446744073709551616);
substring('hello', 1, -18446744073709551616) substring('hello', 1, -18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', 1, 18446744073709551616); select substring('hello', 1, 18446744073709551616);
substring('hello', 1, 18446744073709551616) substring('hello', 1, 18446744073709551616)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', 1, -18446744073709551617); select substring('hello', 1, -18446744073709551617);
substring('hello', 1, -18446744073709551617) substring('hello', 1, -18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', 1, 18446744073709551617); select substring('hello', 1, 18446744073709551617);
substring('hello', 1, 18446744073709551617) substring('hello', 1, 18446744073709551617)
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', -1, -1); select substring('hello', -1, -1);
substring('hello', -1, -1) substring('hello', -1, -1)
@ -1787,10 +1787,10 @@ select substring('hello', -18446744073709551615, -18446744073709551615);
substring('hello', -18446744073709551615, -18446744073709551615) substring('hello', -18446744073709551615, -18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551615, 18446744073709551615); select substring('hello', 18446744073709551615, 18446744073709551615);
substring('hello', 18446744073709551615, 18446744073709551615) substring('hello', 18446744073709551615, 18446744073709551615)
@ -1798,34 +1798,34 @@ select substring('hello', -18446744073709551616, -18446744073709551616);
substring('hello', -18446744073709551616, -18446744073709551616) substring('hello', -18446744073709551616, -18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551616, 18446744073709551616); select substring('hello', 18446744073709551616, 18446744073709551616);
substring('hello', 18446744073709551616, 18446744073709551616) substring('hello', 18446744073709551616, 18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select substring('hello', -18446744073709551617, -18446744073709551617); select substring('hello', -18446744073709551617, -18446744073709551617);
substring('hello', -18446744073709551617, -18446744073709551617) substring('hello', -18446744073709551617, -18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select substring('hello', 18446744073709551617, 18446744073709551617); select substring('hello', 18446744073709551617, 18446744073709551617);
substring('hello', 18446744073709551617, 18446744073709551617) substring('hello', 18446744073709551617, 18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select insert('hello', -1, 1, 'hi'); select insert('hello', -1, 1, 'hi');
insert('hello', -1, 1, 'hi') insert('hello', -1, 1, 'hi')
hello hello
@ -1851,7 +1851,7 @@ select insert('hello', -18446744073709551615, 1, 'hi');
insert('hello', -18446744073709551615, 1, 'hi') insert('hello', -18446744073709551615, 1, 'hi')
hello hello
Warnings: 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'); select insert('hello', 18446744073709551615, 1, 'hi');
insert('hello', 18446744073709551615, 1, 'hi') insert('hello', 18446744073709551615, 1, 'hi')
hello hello
@ -1859,22 +1859,22 @@ select insert('hello', -18446744073709551616, 1, 'hi');
insert('hello', -18446744073709551616, 1, 'hi') insert('hello', -18446744073709551616, 1, 'hi')
hello hello
Warnings: 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'); select insert('hello', 18446744073709551616, 1, 'hi');
insert('hello', 18446744073709551616, 1, 'hi') insert('hello', 18446744073709551616, 1, 'hi')
hello hello
Warnings: 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'); select insert('hello', -18446744073709551617, 1, 'hi');
insert('hello', -18446744073709551617, 1, 'hi') insert('hello', -18446744073709551617, 1, 'hi')
hello hello
Warnings: 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'); select insert('hello', 18446744073709551617, 1, 'hi');
insert('hello', 18446744073709551617, 1, 'hi') insert('hello', 18446744073709551617, 1, 'hi')
hello hello
Warnings: 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'); select insert('hello', 1, -1, 'hi');
insert('hello', 1, -1, 'hi') insert('hello', 1, -1, 'hi')
hi hi
@ -1900,7 +1900,7 @@ select insert('hello', 1, -18446744073709551615, 'hi');
insert('hello', 1, -18446744073709551615, 'hi') insert('hello', 1, -18446744073709551615, 'hi')
hi hi
Warnings: 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'); select insert('hello', 1, 18446744073709551615, 'hi');
insert('hello', 1, 18446744073709551615, 'hi') insert('hello', 1, 18446744073709551615, 'hi')
hi hi
@ -1908,22 +1908,22 @@ select insert('hello', 1, -18446744073709551616, 'hi');
insert('hello', 1, -18446744073709551616, 'hi') insert('hello', 1, -18446744073709551616, 'hi')
hi hi
Warnings: 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'); select insert('hello', 1, 18446744073709551616, 'hi');
insert('hello', 1, 18446744073709551616, 'hi') insert('hello', 1, 18446744073709551616, 'hi')
hi hi
Warnings: 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'); select insert('hello', 1, -18446744073709551617, 'hi');
insert('hello', 1, -18446744073709551617, 'hi') insert('hello', 1, -18446744073709551617, 'hi')
hi hi
Warnings: 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'); select insert('hello', 1, 18446744073709551617, 'hi');
insert('hello', 1, 18446744073709551617, 'hi') insert('hello', 1, 18446744073709551617, 'hi')
hi hi
Warnings: 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'); select insert('hello', -1, -1, 'hi');
insert('hello', -1, -1, 'hi') insert('hello', -1, -1, 'hi')
hello hello
@ -1949,8 +1949,8 @@ select insert('hello', -18446744073709551615, -18446744073709551615, 'hi');
insert('hello', -18446744073709551615, -18446744073709551615, 'hi') insert('hello', -18446744073709551615, -18446744073709551615, 'hi')
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select insert('hello', 18446744073709551615, 18446744073709551615, 'hi'); select insert('hello', 18446744073709551615, 18446744073709551615, 'hi');
insert('hello', 18446744073709551615, 18446744073709551615, 'hi') insert('hello', 18446744073709551615, 18446744073709551615, 'hi')
hello hello
@ -1958,26 +1958,26 @@ select insert('hello', -18446744073709551616, -18446744073709551616, 'hi');
insert('hello', -18446744073709551616, -18446744073709551616, 'hi') insert('hello', -18446744073709551616, -18446744073709551616, 'hi')
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select insert('hello', 18446744073709551616, 18446744073709551616, 'hi'); select insert('hello', 18446744073709551616, 18446744073709551616, 'hi');
insert('hello', 18446744073709551616, 18446744073709551616, 'hi') insert('hello', 18446744073709551616, 18446744073709551616, 'hi')
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
select insert('hello', -18446744073709551617, -18446744073709551617, 'hi'); select insert('hello', -18446744073709551617, -18446744073709551617, 'hi');
insert('hello', -18446744073709551617, -18446744073709551617, 'hi') insert('hello', -18446744073709551617, -18446744073709551617, 'hi')
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select insert('hello', 18446744073709551617, 18446744073709551617, 'hi'); select insert('hello', 18446744073709551617, 18446744073709551617, 'hi');
insert('hello', 18446744073709551617, 18446744073709551617, 'hi') insert('hello', 18446744073709551617, 18446744073709551617, 'hi')
hello hello
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
select repeat('hello', -1); select repeat('hello', -1);
repeat('hello', -1) repeat('hello', -1)
@ -2009,8 +2009,8 @@ select repeat('hello', -18446744073709551615);
repeat('hello', -18446744073709551615) repeat('hello', -18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select repeat('hello', 18446744073709551615); select repeat('hello', 18446744073709551615);
repeat('hello', 18446744073709551615) repeat('hello', 18446744073709551615)
NULL NULL
@ -2020,27 +2020,27 @@ select repeat('hello', -18446744073709551616);
repeat('hello', -18446744073709551616) repeat('hello', -18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select repeat('hello', 18446744073709551616); select repeat('hello', 18446744073709551616);
repeat('hello', 18446744073709551616) repeat('hello', 18446744073709551616)
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
select repeat('hello', -18446744073709551617); select repeat('hello', -18446744073709551617);
repeat('hello', -18446744073709551617) repeat('hello', -18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select repeat('hello', 18446744073709551617); select repeat('hello', 18446744073709551617);
repeat('hello', 18446744073709551617) repeat('hello', 18446744073709551617)
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
select space(-1); select space(-1);
space(-1) space(-1)
@ -2073,8 +2073,8 @@ select space(-18446744073709551615);
space(-18446744073709551615) space(-18446744073709551615)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select space(18446744073709551615); select space(18446744073709551615);
space(18446744073709551615) space(18446744073709551615)
NULL NULL
@ -2084,27 +2084,27 @@ select space(-18446744073709551616);
space(-18446744073709551616) space(-18446744073709551616)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select space(18446744073709551616); select space(18446744073709551616);
space(18446744073709551616) space(18446744073709551616)
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
select space(-18446744073709551617); select space(-18446744073709551617);
space(-18446744073709551617) space(-18446744073709551617)
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select space(18446744073709551617); select space(18446744073709551617);
space(18446744073709551617) space(18446744073709551617)
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of repeat() was larger than max_allowed_packet (1048576) - truncated
select rpad('hello', -1, '1'); select rpad('hello', -1, '1');
rpad('hello', -1, '1') rpad('hello', -1, '1')
@ -2137,8 +2137,8 @@ select rpad('hello', -18446744073709551615, '1');
rpad('hello', -18446744073709551615, '1') rpad('hello', -18446744073709551615, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select rpad('hello', 18446744073709551615, '1'); select rpad('hello', 18446744073709551615, '1');
rpad('hello', 18446744073709551615, '1') rpad('hello', 18446744073709551615, '1')
NULL NULL
@ -2148,27 +2148,27 @@ select rpad('hello', -18446744073709551616, '1');
rpad('hello', -18446744073709551616, '1') rpad('hello', -18446744073709551616, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select rpad('hello', 18446744073709551616, '1'); select rpad('hello', 18446744073709551616, '1');
rpad('hello', 18446744073709551616, '1') rpad('hello', 18446744073709551616, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated
select rpad('hello', -18446744073709551617, '1'); select rpad('hello', -18446744073709551617, '1');
rpad('hello', -18446744073709551617, '1') rpad('hello', -18446744073709551617, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select rpad('hello', 18446744073709551617, '1'); select rpad('hello', 18446744073709551617, '1');
rpad('hello', 18446744073709551617, '1') rpad('hello', 18446744073709551617, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of rpad() was larger than max_allowed_packet (1048576) - truncated
select lpad('hello', -1, '1'); select lpad('hello', -1, '1');
lpad('hello', -1, '1') lpad('hello', -1, '1')
@ -2201,8 +2201,8 @@ select lpad('hello', -18446744073709551615, '1');
lpad('hello', -18446744073709551615, '1') lpad('hello', -18446744073709551615, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551615' to INT. Value truncated. Error 1916 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.
select lpad('hello', 18446744073709551615, '1'); select lpad('hello', 18446744073709551615, '1');
lpad('hello', 18446744073709551615, '1') lpad('hello', 18446744073709551615, '1')
NULL NULL
@ -2212,27 +2212,27 @@ select lpad('hello', -18446744073709551616, '1');
lpad('hello', -18446744073709551616, '1') lpad('hello', -18446744073709551616, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551616' to INT. Value truncated. Error 1916 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.
select lpad('hello', 18446744073709551616, '1'); select lpad('hello', 18446744073709551616, '1');
lpad('hello', 18446744073709551616, '1') lpad('hello', 18446744073709551616, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551616' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated
select lpad('hello', -18446744073709551617, '1'); select lpad('hello', -18446744073709551617, '1');
lpad('hello', -18446744073709551617, '1') lpad('hello', -18446744073709551617, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '-18446744073709551617' to INT. Value truncated. Error 1916 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.
select lpad('hello', 18446744073709551617, '1'); select lpad('hello', 18446744073709551617, '1');
lpad('hello', 18446744073709551617, '1') lpad('hello', 18446744073709551617, '1')
NULL NULL
Warnings: Warnings:
Error 1657 Got overflow when converting '18446744073709551617' to INT. Value truncated. Error 1916 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.
Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated Warning 1301 Result of lpad() was larger than max_allowed_packet (1048576) - truncated
SET @orig_sql_mode = @@SQL_MODE; SET @orig_sql_mode = @@SQL_MODE;
SET SQL_MODE=traditional; SET SQL_MODE=traditional;

View File

@ -838,12 +838,12 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999
x x
99999999999999999999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999999999999999999
Warnings: 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; select 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 1 as x;
x x
100000000000000000000000000000000000000000000000000000000000000000 100000000000000000000000000000000000000000000000000000000000000000
Warnings: 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; select 0.190287977636363637 + 0.040372670 * 0 - 0;
0.190287977636363637 + 0.040372670 * 0 - 0 0.190287977636363637 + 0.040372670 * 0 - 0
0.190287977636363637 0.190287977636363637
@ -1368,15 +1368,15 @@ create table t1 (c1 decimal(64));
insert into t1 values( insert into t1 values(
89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000); 89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);
Warnings: 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 Warning 1264 Out of range value for column 'c1' at row 1
insert into t1 values( insert into t1 values(
99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 * 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 *
99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999);
Warnings: Warnings:
Error 1657 Got overflow when converting '' to DECIMAL. Value truncated. Error 1916 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 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 Warning 1264 Out of range value for column 'c1' at row 1
insert into t1 values(1e100); insert into t1 values(1e100);
Warnings: Warnings:
@ -1447,4 +1447,4 @@ select cast(19999999999999999999 as unsigned);
cast(19999999999999999999 as unsigned) cast(19999999999999999999 as unsigned)
18446744073709551615 18446744073709551615
Warnings: 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.

View File

@ -506,6 +506,16 @@
fun:_ZL13plugin_dl_delPK19st_mysql_lex_string fun:_ZL13plugin_dl_delPK19st_mysql_lex_string
} }
{
dlclose memory loss from plugin variant 10
Memcheck:Leak
fun:calloc
obj:/lib*/libdl-*.so
fun:dlclose
fun:*free_plugin_mem*
fun:*plugin_dl_del*
}
{ {
dlsym memory loss from plugin on SuSE 11.1 x64 dlsym memory loss from plugin on SuSE 11.1 x64
Memcheck:Leak Memcheck:Leak