Commit 037065e4 authored by Michael Widenius's avatar Michael Widenius

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)
parent 935aafb6
...@@ -1504,7 +1504,7 @@ select locate('lo','hello',-18446744073709551615); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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'); ...@@ -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;
......
...@@ -838,12 +838,12 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999 ...@@ -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)); ...@@ -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); ...@@ -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.
...@@ -506,6 +506,16 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment