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
9eae31ab
Commit
9eae31ab
authored
May 05, 2010
by
Horst.Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch for 47759 to trunk-bugfixing.
parent
8372ce97
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
5 deletions
+50
-5
mysql-test/include/have_federated_plugin.inc
mysql-test/include/have_federated_plugin.inc
+5
-0
mysql-test/suite/federated/federated_plugin-master.opt
mysql-test/suite/federated/federated_plugin-master.opt
+2
-0
mysql-test/suite/federated/federated_plugin.result
mysql-test/suite/federated/federated_plugin.result
+0
-0
mysql-test/suite/federated/federated_plugin.test
mysql-test/suite/federated/federated_plugin.test
+22
-0
storage/federated/Makefile.am
storage/federated/Makefile.am
+21
-5
No files found.
mysql-test/include/have_federated_plugin.inc
0 → 100644
View file @
9eae31ab
if
(
`select plugin_library IS NULL from information_schema.plugins where plugin_name LIKE '%federated%'`
)
{
--
skip
federated
plugin
not
available
}
mysql-test/suite/federated/federated_plugin-master.opt
0 → 100644
View file @
9eae31ab
--plugin_dir=../storage/federated/.libs
mysql-test/suite/federated/federated_plugin.result
0 → 100644
View file @
9eae31ab
mysql-test/suite/federated/federated_plugin.test
0 → 100644
View file @
9eae31ab
--
source
include
/
not_windows
.
inc
--
source
include
/
have_federated_plugin
.
inc
CREATE
TABLE
t1
(
a
int
)
ENGINE
=
FEDERATED
;
DROP
TABLE
t1
;
INSTALL
PLUGIN
federated
SONAME
'ha_federated.so'
;
--
error
1125
INSTALL
PLUGIN
FEDERATED
SONAME
'ha_federated.so'
;
UNINSTALL
PLUGIN
federated
;
INSTALL
PLUGIN
federated
SONAME
'ha_federated.so'
;
CREATE
TABLE
t1
(
a
int
)
ENGINE
=
FEDERATED
;
DROP
TABLE
t1
;
UNINSTALL
PLUGIN
federated
;
--
error
ER_SP_DOES_NOT_EXIST
UNINSTALL
PLUGIN
federated
;
storage/federated/Makefile.am
View file @
9eae31ab
# Copyright (C) 200
6 MySQL AB
# Copyright (C) 200
5-2006 MySQL AB, 2009 Sun Microsystems, Inc.
#
#
All rights reserved.
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
# the Free Software Foundation; version 2 of the License.
...
@@ -23,7 +23,8 @@ pkgplugindir = $(pkglibdir)/plugin
...
@@ -23,7 +23,8 @@ pkgplugindir = $(pkglibdir)/plugin
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_builddir)
/include
\
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_builddir)
/include
\
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
/sql
\
-I
$(top_srcdir)
/sql
\
-I
$(srcdir)
-I
$(srcdir)
WRAPLIBS
=
WRAPLIBS
=
LDADD
=
LDADD
=
...
@@ -50,11 +51,22 @@ libfederated_a_SOURCES= ha_federated.cc
...
@@ -50,11 +51,22 @@ libfederated_a_SOURCES= ha_federated.cc
EXTRA_DIST
=
CMakeLists.txt plug.in
EXTRA_DIST
=
CMakeLists.txt plug.in
if
HAVE_DTRACE_DASH_G
if
HAVE_DTRACE_DASH_G
# The object for static and dynamic linking of federated differ
# For static linkage of federated to mysqld
libfederated_a_LIBADD
=
probes_mysql.o
libfederated_a_LIBADD
=
probes_mysql.o
libfederated_a_DEPENDENCIES
=
probes_mysql.o dtrace_files dtrace_providers
libfederated_a_DEPENDENCIES
=
probes_mysql.o dtrace_files dtrace_providers
CLEANFILES
=
probes_mysql.o dtrace_files dtrace_providers
# For federated as shared library
DTRACEFILES
=
libfederated_a-ha_federated.o
ha_federated_la_LIBADD
=
probes_sh_mysql.o
# Hack: We "depend" on ".libs/" but have no rule for it,
# but it is created as a byproduct of the ".lo"
DTRACESHAREDDEPS
=
ha_federated_la-ha_federated.lo
DTRACESHAREDFILES
=
ha_federated_la-ha_federated.o
DTRACEPROVIDER
=
probes_mysql.d
DTRACEPROVIDER
=
probes_mysql.d
ha_federated_la_DEPENDENCIES
=
probes_sh_mysql.o
$(DTRACESHAREDDEPS)
dtrace_providers
CLEANFILES
=
$(DTRACEPROVIDER)
dtrace_files dtrace_providers
$(DTRACESHAREDFILES)
DTRACEFILES
=
libfederated_a-ha_federated.o
dtrace_files
:
dtrace_files
:
echo
$(DTRACEFILES)
>
$@
echo
$(DTRACEFILES)
>
$@
...
@@ -65,8 +77,12 @@ probes_mysql.d:
...
@@ -65,8 +77,12 @@ probes_mysql.d:
$(CP)
$(top_srcdir)
/include/probes_mysql.d.base probes_mysql.d
$(CP)
$(top_srcdir)
/include/probes_mysql.d.base probes_mysql.d
echo
timestamp
>
dtrace_sources
echo
timestamp
>
dtrace_sources
probes_sh_mysql.o
:
$(DTRACEPROVIDER) $(DTRACESHAREDDEPS)
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACESHAREDFILES)
-o
$@
$(CP)
$(DTRACESHAREDFILES)
.libs
probes_mysql.o
:
$(DTRACEPROVIDER) $(DTRACEFILES)
probes_mysql.o
:
$(DTRACEPROVIDER) $(DTRACEFILES)
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACEFILES)
-o
$@
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
$(DTRACEPROVIDER)
$(DTRACEFILES)
-o
$@
endif
endif
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
...
...
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