3730 magnus.blaudd@stripped 2012-03-08
The my_default_lc_messages variable was not exported by mysqld causing
link error(undefined symbol) when compiling ha_archive as dynamic plugin on Windows.
Change the my_default_lc_messags variable to be exported by mysqld using
the MYSQL_PLUGIN_IMPORT macro.
Approved via email by Svoj.
modified:
sql/sql_locale.h
3729 Sunny Bains 2012-03-08
This fixes an issue noticed in the Valgrind tests after purge was removed from
the master thread. When purge is run in a separate thread it calls trx_purge()
more often and that leads to more truncate calls. This fix reduces the number
of truncate calls by eliminating a test where we truncate also when there is
nothing to purge.
Approved by Jimmy over IM.
modified:
storage/innobase/srv/srv0srv.cc
=== modified file 'sql/sql_locale.h'
--- a/sql/sql_locale.h 2011-06-30 15:50:45 +0000
+++ b/sql/sql_locale.h 2012-03-08 08:43:32 +0000
@@ -66,7 +66,7 @@ public:
extern MY_LOCALE my_locale_en_US;
extern MY_LOCALE *my_locales[];
-extern MY_LOCALE *my_default_lc_messages;
+extern MYSQL_PLUGIN_IMPORT MY_LOCALE *my_default_lc_messages;
extern MY_LOCALE *my_default_lc_time_names;
/* Exported functions */
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-trunk branch (magnus.blaudd:3729 to 3730) | magnus.blaudd | 8 Mar |