summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-10-06 20:37:55 +0200
committerunknown <knielsen@knielsen-hq.org>2009-10-06 20:37:55 +0200
commit8ea19fa73e86a3c27917a92affd6a9e43763c7ce (patch)
treec3957f39651dbd55bd84a90cdc1c2c8edc7410d3 /sql
parentffee15b1244cd2e51b639e83a3c2e21e3170cc80 (diff)
parent3bc025506b76b481d099d5db39a4b251e4c171fb (diff)
downloadmariadb-git-8ea19fa73e86a3c27917a92affd6a9e43763c7ce.tar.gz
Merge a bunch of small fixes from release tree into main lp:maria.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_plugin.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index fa19d7188bf..3a2756d070a 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -1168,6 +1168,22 @@ int plugin_init(int *argc, char **argv, int flags)
!my_strnncoll(&my_charset_latin1, (const uchar*) plugin->name,
6, (const uchar*) "InnoDB", 6))
continue;
+#ifdef EMBEDDED_LIBRARY
+ /*
+ MariaDB: disable PBXT in embedded server. We do this for two reasons
+ - PBXT currently doesn't work in embedded server (see
+ https://bugs.launchpad.net/maria/+bug/439889)
+ - Embedded server is supposed to be "leaner" and our current
+ understanding of that is "without PBXT". At the same time, we want
+ regular server to be with PBXT, and since we don't support compiling
+ embedded server with different options than the regular server,
+ the only way was to disable PBXT from here.
+ */
+ if (!my_strnncoll(&my_charset_latin1, (const uchar*) plugin->name,
+ 4, (const uchar*) "PBXT", 4))
+ continue;
+
+#endif
bzero(&tmp, sizeof(tmp));
tmp.plugin= plugin;
tmp.name.str= (char *)plugin->name;