mirror of
https://github.com/zebrajr/server.git
synced 2025-12-06 12:20:40 +01:00
add force_and_permanent .cnf files for wrappers
to maintain old behavior when the server was dynamically linked with a library. A library cannot be unloaded at runtime and a missing library prevented the server from starting.
This commit is contained in:
parent
aa46a9c414
commit
e288efd7a5
|
|
@ -8,5 +8,5 @@ IF (HAVE_BZLIB2_H AND HAVE_BZLIB2_COMPRESS AND HAVE_BZLIB2_DECOMPRESS)
|
|||
SET_PROPERTY(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
|
||||
|
||||
MYSQL_ADD_PLUGIN(bzip2_plugin plugin.c MODULE_OUTPUT_NAME bzip2
|
||||
COMPONENT bzip2 LINK_LIBRARIES bz2)
|
||||
COMPONENT bzip2 LINK_LIBRARIES bz2 CONFIG bzip2.cnf)
|
||||
ENDIF()
|
||||
|
|
|
|||
2
plugin/wrapper_bzip2/bzip2.cnf
Normal file
2
plugin/wrapper_bzip2/bzip2.cnf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
bzip2=force_and_permanent
|
||||
|
|
@ -7,5 +7,5 @@ IF (HAVE_LZ4_H AND HAVE_LZ4_COMPRESS_DEFAULT)
|
|||
SET_PROPERTY(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
|
||||
|
||||
MYSQL_ADD_PLUGIN(lz4_plugin plugin.c MODULE_OUTPUT_NAME lz4
|
||||
COMPONENT lz4 LINK_LIBRARIES lz4)
|
||||
COMPONENT lz4 LINK_LIBRARIES lz4 CONFIG lz4.cnf)
|
||||
ENDIF()
|
||||
|
|
|
|||
2
plugin/wrapper_lz4/lz4.cnf
Normal file
2
plugin/wrapper_lz4/lz4.cnf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
lz4=force_and_permanent
|
||||
|
|
@ -8,5 +8,5 @@ IF (HAVE_LZMA_DECODE AND HAVE_LZMA_ENCODE AND HAVE_LZMA_H)
|
|||
SET_PROPERTY(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
|
||||
|
||||
MYSQL_ADD_PLUGIN(lzma_plugin plugin.c MODULE_OUTPUT_NAME lzma
|
||||
COMPONENT lzma LINK_LIBRARIES lzma)
|
||||
COMPONENT lzma LINK_LIBRARIES lzma CONFIG lzma.cnf)
|
||||
ENDIF()
|
||||
|
|
|
|||
2
plugin/wrapper_lzma/lzma.cnf
Normal file
2
plugin/wrapper_lzma/lzma.cnf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
lzma=force_and_permanent
|
||||
|
|
@ -7,5 +7,5 @@ IF (HAVE_LZO_H AND HAVE_LZO_COMPRESS)
|
|||
SET_PROPERTY(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
|
||||
|
||||
MYSQL_ADD_PLUGIN(lzo_plugin plugin.c MODULE_OUTPUT_NAME lzo
|
||||
COMPONENT lzo LINK_LIBRARIES lzo2)
|
||||
COMPONENT lzo LINK_LIBRARIES lzo2 CONFIG lzo.cnf)
|
||||
ENDIF()
|
||||
|
|
|
|||
2
plugin/wrapper_lzo/lzo.cnf
Normal file
2
plugin/wrapper_lzo/lzo.cnf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
lzo=force_and_permanent
|
||||
|
|
@ -7,5 +7,5 @@ IF (HAVE_SNAPPY_H AND HAVE_SNAPPY_UNCOMPRESS)
|
|||
SET_PROPERTY(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${dirs}")
|
||||
|
||||
MYSQL_ADD_PLUGIN(snappy_plugin plugin.c MODULE_OUTPUT_NAME snappy
|
||||
COMPONENT snappy LINK_LIBRARIES snappy)
|
||||
COMPONENT snappy LINK_LIBRARIES snappy CONFIG snappy.cnf)
|
||||
ENDIF()
|
||||
|
|
|
|||
2
plugin/wrapper_snappy/snappy.cnf
Normal file
2
plugin/wrapper_snappy/snappy.cnf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
snappy=force_and_permanent
|
||||
Loading…
Reference in New Issue
Block a user