Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8bc8de1a
Commit
8bc8de1a
authored
Dec 09, 2009
by
Vladimir Kolesnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug #439889: Embedded server asserts on startup because of pbxt
parent
06fb006a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
config/ac-macros/plugins.m4
config/ac-macros/plugins.m4
+7
-5
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-3
storage/pbxt/plug.in
storage/pbxt/plug.in
+1
-0
storage/pbxt/src/Makefile.am
storage/pbxt/src/Makefile.am
+0
-2
No files found.
config/ac-macros/plugins.m4
View file @
8bc8de1a
...
...
@@ -463,11 +463,13 @@ dnl Although this is "pretty", it breaks libmysqld build
mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]"
[with_plugin_]$2=yes
AC_MSG_RESULT([yes])
m4_ifdef([$11],[
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp($11, [[^/]+$], [\&])"
condition_dependent_plugin_objects="$condition_dependent_plugin_objects m4_bregexp($11, [[^/]+\.], [\&o])"
condition_dependent_plugin_links="$condition_dependent_plugin_links $6/$11"
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
m4_ifdef([$11], [
m4_foreach([plugin], [$11], [
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp(plugin, [[^/]+$], [\&])"
condition_dependent_plugin_objects="$condition_dependent_plugin_objects m4_bregexp(plugin, [[^/]+\.], [\&o])"
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
...
...
sql/sql_plugin.cc
View file @
8bc8de1a
...
...
@@ -1179,9 +1179,9 @@ int plugin_init(int *argc, char **argv, int flags)
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
;
//
if (!my_strnncoll(&my_charset_latin1, (const uchar*) plugin->name,
//
4, (const uchar*) "PBXT", 4))
//
continue;
#endif
bzero
(
&
tmp
,
sizeof
(
tmp
));
...
...
storage/pbxt/plug.in
View file @
8bc8de1a
...
...
@@ -5,3 +5,4 @@ MYSQL_PLUGIN_STATIC(pbxt, [src/libpbxt.a])
MYSQL_PLUGIN_ACTIONS(pbxt, [
# 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]])
storage/pbxt/src/Makefile.am
View file @
8bc8de1a
...
...
@@ -46,7 +46,5 @@ libpbxt_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
EXTRA_LIBRARIES
=
libpbxt.a
noinst_LIBRARIES
=
libpbxt.a
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment