fixed bug #439889: Embedded server asserts on startup because of pbxt
This commit is contained in:
parent
06fb006a1d
commit
8bc8de1ad3
@ -463,11 +463,13 @@ dnl Although this is "pretty", it breaks libmysqld build
|
|||||||
mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]"
|
mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]"
|
||||||
[with_plugin_]$2=yes
|
[with_plugin_]$2=yes
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
m4_ifdef([$11],[
|
m4_ifdef([$11], [
|
||||||
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp($11, [[^/]+$], [\&])"
|
m4_foreach([plugin], [$11], [
|
||||||
condition_dependent_plugin_objects="$condition_dependent_plugin_objects m4_bregexp($11, [[^/]+\.], [\&o])"
|
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp(plugin, [[^/]+$], [\&])"
|
||||||
condition_dependent_plugin_links="$condition_dependent_plugin_links $6/$11"
|
condition_dependent_plugin_objects="$condition_dependent_plugin_objects m4_bregexp(plugin, [[^/]+\.], [\&o])"
|
||||||
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
|
condition_dependent_plugin_links="$condition_dependent_plugin_links $6/plugin"
|
||||||
|
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp(plugin, [^.+[/$]], [\&])"
|
||||||
|
])
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1179,9 +1179,9 @@ int plugin_init(int *argc, char **argv, int flags)
|
|||||||
embedded server with different options than the regular server,
|
embedded server with different options than the regular server,
|
||||||
the only way was to disable PBXT from here.
|
the only way was to disable PBXT from here.
|
||||||
*/
|
*/
|
||||||
if (!my_strnncoll(&my_charset_latin1, (const uchar*) plugin->name,
|
//if (!my_strnncoll(&my_charset_latin1, (const uchar*) plugin->name,
|
||||||
4, (const uchar*) "PBXT", 4))
|
// 4, (const uchar*) "PBXT", 4))
|
||||||
continue;
|
// continue;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
bzero(&tmp, sizeof(tmp));
|
bzero(&tmp, sizeof(tmp));
|
||||||
|
@ -5,3 +5,4 @@ MYSQL_PLUGIN_STATIC(pbxt, [src/libpbxt.a])
|
|||||||
MYSQL_PLUGIN_ACTIONS(pbxt, [
|
MYSQL_PLUGIN_ACTIONS(pbxt, [
|
||||||
# AC_CONFIG_FILES(storage/pbxt/src/Makefile)
|
# AC_CONFIG_FILES(storage/pbxt/src/Makefile)
|
||||||
])
|
])
|
||||||
|
MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(pbxt, [[src/ha_pbxt.cc],[src/myxt_xt.cc],[src/discover_xt.cc]])
|
||||||
|
@ -46,7 +46,5 @@ libpbxt_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
|
|||||||
EXTRA_LIBRARIES = libpbxt.a
|
EXTRA_LIBRARIES = libpbxt.a
|
||||||
noinst_LIBRARIES = libpbxt.a
|
noinst_LIBRARIES = libpbxt.a
|
||||||
libpbxt_a_SOURCES = $(libpbxt_la_SOURCES)
|
libpbxt_a_SOURCES = $(libpbxt_la_SOURCES)
|
||||||
libpbxt_a_CXXFLAGS = $(AM_CXXFLAGS)
|
|
||||||
libpbxt_a_CFLAGS = $(AM_CFLAGS) -std=c99
|
|
||||||
|
|
||||||
EXTRA_DIST = pbms_enabled.cc win_inttypes.h
|
EXTRA_DIST = pbms_enabled.cc win_inttypes.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user