summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorunknown <Li-Bing.Song@sun.com>2009-08-12 11:54:05 +0800
committerunknown <Li-Bing.Song@sun.com>2009-08-12 11:54:05 +0800
commit0d821fafe99fbaf362529f8237b4a61a6394c0fb (patch)
tree0ded16cb38fd34669a6d7bfcdbd59037cd6b0ec0 /mysql-test/std_data
parentd33a57a694ec9ccf8a0d4f901b86ee4bbe5a6019 (diff)
downloadmariadb-git-0d821fafe99fbaf362529f8237b4a61a6394c0fb.tar.gz
BUG#45516 SQL thread does not use database charset properly
Replication SQL thread does not set database default charset to thd->variables.collation_database properly, when executing LOAD DATA binlog. This bug can be repeated by using "LOAD DATA" command in STATEMENT mode. This patch adds code to find the default character set of the current database then assign it to thd->db_charset when slave server begins to execute a relay log. The test of this bug is added into rpl_loaddata_charset.test
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/loaddata_utf8.dat3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/std_data/loaddata_utf8.dat b/mysql-test/std_data/loaddata_utf8.dat
new file mode 100644
index 00000000000..fc7a28229d4
--- /dev/null
+++ b/mysql-test/std_data/loaddata_utf8.dat
@@ -0,0 +1,3 @@
+一二三
+四五六
+七八九