diff options
author | unknown <guilhem@mysql.com> | 2006-02-18 17:32:15 +0100 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2006-02-18 17:32:15 +0100 |
commit | 8dc567dbed7ab9c6489d0b2f2c72d723c87c68e5 (patch) | |
tree | 511d7e8f8e3f949e041ae1f5a254d0aeb39ed4f9 /mysql-test/r/union.result | |
parent | 8470ae9cb1327ee5089b98a148e26bb207662fd7 (diff) | |
download | mariadb-git-8dc567dbed7ab9c6489d0b2f2c72d723c87c68e5.tar.gz |
Fix for BUG#13897 "failure to do SET SQL_MODE=N where N is a number > 31" (the original bug's title isn't the simplest
symptom). sys_var::check_set() was wrong. mysqlbinlog makes use of such SET SQL_MODE=N
(where N is interpreted like if SQL_MODE was a field of type SET), so
this bug affected recovery from binlogs if the server was running with certain SQL_MODE values,
for example the default values on Windows (STRICT_TRANS_TABLES); to work around this bug people
had to edit mysqlbinlog's output.
mysql-test/r/sql_mode.result:
result update
mysql-test/t/sql_mode.test:
test for various numeric SQL_MODE values
sql/set_var.cc:
For a set, it does not make sense to test if the supplied argument exceeds the number of elements in the set
(such test would make sense for an enum), but rather to check if it exceeds 2^this (to verify
that only reasonable bits are set).
Diffstat (limited to 'mysql-test/r/union.result')
0 files changed, 0 insertions, 0 deletions