diff options
author | unknown <bar@mysql.com> | 2004-11-05 13:37:36 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2004-11-05 13:37:36 +0400 |
commit | aee1e78aa1e0be37acd9640dfb48f63200a7d0ef (patch) | |
tree | 2dc75c5933d9dbd60558ce6c8f7a9fbaf9e0499d /VC++Files/mysys | |
parent | d497334164505a4e380bbf4170966379c11d95a8 (diff) | |
download | mariadb-git-aee1e78aa1e0be37acd9640dfb48f63200a7d0ef.tar.gz |
As it is wrong and confusing to associate any
character set with NULL, @a should be latin2
after this query sequence:
SET @a=_latin2'string';
SET @a=NULL;
I.e. the second query should not change the charset
to the current default value, but should keep the
original value assigned during the first query.
In order to do it, we don't copy charset
from the argument if the argument is NULL
and the variable has previously been initialized.
mysql-test/r/ps_6bdb.result:
t
mysql-test/r/ps_5merge.result:
t
mysql-test/r/ps_3innodb.result:
t
mysql-test/r/ps_7ndb.result:
t
mysql-test/r/ps_4heap.result:
t
mysql-test/r/ps_2myisam.result:
t
sql/item_func.cc:
t
Diffstat (limited to 'VC++Files/mysys')
0 files changed, 0 insertions, 0 deletions