diff options
| author | Kristofer Pettersson <kristofer.pettersson@oracle.com> | 2011-09-15 10:01:15 +0200 |
|---|---|---|
| committer | Kristofer Pettersson <kristofer.pettersson@oracle.com> | 2011-09-15 10:01:15 +0200 |
| commit | 6db30ab85681f2d8e20153d0be271caca2b242fa (patch) | |
| tree | 153393cd9a51cf76d0421e789e1b21b3489f141c /mysql-test | |
| parent | 1a2b1ba6aa972b622b41417171f51998d5753c7d (diff) | |
| download | mariadb-git-6db30ab85681f2d8e20153d0be271caca2b242fa.tar.gz | |
Bug#11764310 - 57132: CONV FUNCTION CRASHES, NEGATIVE ARGUMENT TO MEMCPY
Amendment to previous patch:
Failure in CONV() should return NULL instead of
empty set.
When compiled on Windows or Solaris the function
Item_func_conv::val_str() doesn't fail on
longlong2str() but finds an earlier exit path
based on the attributes of the arguments.
This exit path returns NULL on failure and as a
consequence the original patch caused different
test results depending on the OS used.
Diffstat (limited to 'mysql-test')
| -rw-r--r-- | mysql-test/r/func_str.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result index 5a582f08829..d3757f799ce 100644 --- a/mysql-test/r/func_str.result +++ b/mysql-test/r/func_str.result @@ -2789,7 +2789,7 @@ DROP TABLE t1; # SELECT CONV(1,-2147483648,-2147483648); CONV(1,-2147483648,-2147483648) - +NULL # # End of 5.5 tests # |
