summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-18 00:32:06 +0400
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-18 00:32:06 +0400
commitfe54b274db6b900aa7911769f860dca721a6e81f (patch)
treea96990e871c1cf4dfff9b9b751753954581cbe9c /libmysqld
parentf4f7e1f42c831152d750a0f159db7bae1b756601 (diff)
downloadmariadb-git-fe54b274db6b900aa7911769f860dca721a6e81f.tar.gz
Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server
failing 'INSTALL PLUGIN' statement doesn't work in embedded server as we disable library loading there. Fixed by enabling loading libraries (#define HAVE_DLOPEN), what also makes UDF working in the embedded server. include/mysql_embed.h: Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server Let loading libraries in the embedded server libmysqld/CMakeLists.txt: Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server let loading libraries in the embedded server mysql-test/t/windows.test: Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server make sure proc_1() doesn't exists before we start
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index fb3316c303c..9fa7d46d466 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -22,7 +22,7 @@ IF(WIN32)
ADD_DEFINITIONS(-DUSE_TLS)
ENDIF(WIN32)
-ADD_DEFINITIONS(-DMYSQL_SERVER -DEMBEDDED_LIBRARY)
+ADD_DEFINITIONS(-DMYSQL_SERVER -DEMBEDDED_LIBRARY -DHAVE_DLOPEN)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/libmysqld