diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-03-05 15:34:02 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-03-05 15:34:02 +0400 |
commit | 3ef86918a20cb682bbc48b8f6e0848772d88f94c (patch) | |
tree | 0ab9f3571010f0b093980741bb782a2be7033825 /mysql-test/t/variables.test | |
parent | 326de4957ad361c3b41569951ee6c900187cab72 (diff) | |
download | mariadb-git-3ef86918a20cb682bbc48b8f6e0848772d88f94c.tar.gz |
Bug#41030 Wrong meta data (incorrect fieldlen)
set user variable max length on
fix_length_and_dec() stage
using real value length.
mysql-test/r/variables.result:
test result
mysql-test/t/variables.test:
test case
sql/item_func.cc:
set user variable max length on
fix_length_and_dec() stage
using real value length.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r-- | mysql-test/t/variables.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test index 6cd5abc3ea2..2797bb3c801 100644 --- a/mysql-test/t/variables.test +++ b/mysql-test/t/variables.test @@ -1121,3 +1121,10 @@ SET @@session.thread_stack= 7; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@global.thread_stack= 7; # + +# +# Bug#41030 Wrong meta data (incorrect fieldlen) +# +--enable_metadata +select @@storage_engine; +--disable_metadata |