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
342b098c
Commit
342b098c
authored
Feb 04, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_xtradb.so fix for solaris, gcc 3.4.3
parent
bbfd1131
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
12 deletions
+24
-12
storage/innobase/CMakeLists.txt
storage/innobase/CMakeLists.txt
+0
-11
storage/xtradb/CMakeLists.txt
storage/xtradb/CMakeLists.txt
+12
-1
storage/xtradb/plugin_exports
storage/xtradb/plugin_exports
+12
-0
No files found.
storage/innobase/CMakeLists.txt
View file @
342b098c
...
@@ -385,17 +385,6 @@ IF(WITH_INNODB)
...
@@ -385,17 +385,6 @@ IF(WITH_INNODB)
SET
(
WITH_INNOBASE_STORAGE_ENGINE TRUE
)
SET
(
WITH_INNOBASE_STORAGE_ENGINE TRUE
)
ENDIF
()
ENDIF
()
# On solaris, reduce symbol visibility, so loader does not mix
# the same symbols from builtin innodb and from shared one.
# Only required for old GCC (3.4.3) that does not support hidden visibility
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
AND CMAKE_COMPILER_IS_GNUCC
AND NOT HAVE_VISIBILITY_HIDDEN
)
SET
(
LINKER_SCRIPT
"-Wl,-M
${
CMAKE_CURRENT_SOURCE_DIR
}
/plugin_exports"
)
ELSE
()
SET
(
LINKER_SCRIPT
)
ENDIF
()
MYSQL_ADD_PLUGIN
(
innobase
${
INNOBASE_SOURCES
}
STORAGE_ENGINE
MYSQL_ADD_PLUGIN
(
innobase
${
INNOBASE_SOURCES
}
STORAGE_ENGINE
DEFAULT
DEFAULT
MODULE_OUTPUT_NAME ha_innodb
MODULE_OUTPUT_NAME ha_innodb
...
...
storage/xtradb/CMakeLists.txt
View file @
342b098c
...
@@ -394,10 +394,21 @@ IF(WITH_INNODB)
...
@@ -394,10 +394,21 @@ IF(WITH_INNODB)
SET
(
WITH_INNOBASE_STORAGE_ENGINE TRUE
)
SET
(
WITH_INNOBASE_STORAGE_ENGINE TRUE
)
ENDIF
()
ENDIF
()
# On solaris, reduce symbol visibility, so loader does not mix
# the same symbols from builtin innodb and from shared one.
# Only required for old GCC (3.4.3) that does not support hidden visibility
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
AND CMAKE_COMPILER_IS_GNUCC
AND NOT HAVE_VISIBILITY_HIDDEN
)
SET
(
LINKER_SCRIPT
"-Wl,--version-script=
${
CMAKE_CURRENT_SOURCE_DIR
}
/plugin_exports"
)
ELSE
()
SET
(
LINKER_SCRIPT
)
ENDIF
()
IF
(
XTRADB_OK
)
IF
(
XTRADB_OK
)
MYSQL_ADD_PLUGIN
(
xtradb
${
INNOBASE_SOURCES
}
STORAGE_ENGINE
MYSQL_ADD_PLUGIN
(
xtradb
${
INNOBASE_SOURCES
}
STORAGE_ENGINE
MODULE_ONLY RECOMPILE_FOR_EMBEDDED
MODULE_ONLY RECOMPILE_FOR_EMBEDDED
LINK_LIBRARIES
${
ZLIB_LIBRARY
}
)
LINK_LIBRARIES
${
ZLIB_LIBRARY
}
${
LINKER_SCRIPT
}
)
ELSE
()
ELSE
()
MESSAGE
(
"Percona XtraDB is not supported on this platform"
)
MESSAGE
(
"Percona XtraDB is not supported on this platform"
)
ENDIF
()
ENDIF
()
storage/xtradb/plugin_exports
0 → 100644
View file @
342b098c
{
global:
_maria_plugin_interface_version_;
_maria_sizeof_struct_st_plugin_;
_maria_plugin_declarations_;
_mysql_plugin_interface_version_;
_mysql_sizeof_struct_st_plugin_;
_mysql_plugin_declarations_;
*_service;
local:
*;
};
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