diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-10-14 14:05:59 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-10-14 14:05:59 +0400 |
commit | 650e4c25db94273bdf2300ddb987294f0d4edd72 (patch) | |
tree | f67bbc8fc84328fceebe45f28240253bfcb31fcf /sql/sql_parse.cc | |
parent | 1d43e72a0b98ed89b990965313c4c31d5d262890 (diff) | |
download | mariadb-git-650e4c25db94273bdf2300ddb987294f0d4edd72.tar.gz |
A patch for Bug#48874 (Test "is_triggers" fails because of wrong charset info).
The thing is that the following attributes are fixed (remembered) when a trigger
is created:
- character_set_client
- character_set_results
- collation_connection
There are two triggers created in mysql-test/include/mtr_warnings.sql.
They were created using "current default" character set / collation.
is_triggers.test shows definition of these triggers including recorded
character set information.
The problem was that if "current default" changed, the recorded character
set information was not accurate.
There might be two ways to fix that:
a) update is_triggers.test so that it does not put character-set information
into result-file;
b) update mtr_warnings.sql so that the triggers are created using
hard-coded character sets.
This patch implements option b).
Diffstat (limited to 'sql/sql_parse.cc')
0 files changed, 0 insertions, 0 deletions