Below is the list of changes that have just been committed into a local
6.0 repository of vvaintroub. When vvaintroub does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-05-08 22:11:41+02:00, vvaintroub@wva. +4 -0
Fix build error:
- embedded should compile with falcon (
to avoid "unresolved symbol builtin_falcon_plugin")
- #ifndef EMBEDDED_LIBRARY for all ssl functions
libmysqld/CMakeLists.txt@stripped, 2008-05-08 21:45:55+02:00, vvaintroub@wva. +9 -0
Correct embedded build error
(unresolved symbols builtin_falcon_plugin)
Include falcon sources for libmysqld
storage/falcon/CMakeLists.txt@stripped, 2008-05-08 21:45:55+02:00, vvaintroub@wva. +8 -2
correct build error - build embedded with falcon
vio/viossl.c@stripped, 2008-05-08 21:45:56+02:00, vvaintroub@wva. +2 -2
Fix compile error while building embedded
- exclude ssl function from embedded library
vio/viosslfactories.c@stripped, 2008-05-08 21:45:56+02:00, vvaintroub@wva. +2 -0
Exclude SSL functions from embedded library
diff -Nrup a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
--- a/libmysqld/CMakeLists.txt 2008-05-01 11:34:51 +02:00
+++ b/libmysqld/CMakeLists.txt 2008-05-08 21:45:55 +02:00
@@ -145,6 +145,14 @@ IF(WITH_CSV_STORAGE_ENGINE)
ENDFOREACH(rpath)
ENDIF(WITH_CSV_STORAGE_ENGINE)
+IF(WITH_FALCON_STORAGE_ENGINE)
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/storage/falcon
${CMAKE_SOURCE_DIR}/storage/falcon/TransformLib)
+ INCLUDE(${CMAKE_SOURCE_DIR}/storage/falcon/CMakeLists.txt)
+ FOREACH(rpath ${FALCON_SOURCES})
+ SET(LIB_SOURCES ${LIB_SOURCES} ../storage/falcon/${rpath})
+ ENDFOREACH(rpath)
+ENDIF(WITH_FALCON_STORAGE_ENGINE)
+
SET(SOURCE_SUBLIBS FALSE)
SET(LIBMYSQLD_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
@@ -188,6 +196,7 @@ SET(LIBMYSQLD_SOURCES emb_qcache.cc libm
../sql/time.cc ../sql/tztime.cc ../sql/uniques.cc ../sql/unireg.cc
../sql/partition_info.cc ../sql/sql_connect.cc
../sql/scheduler.cc ../sql/sql_audit.cc ../sql/stacktrace.c
+ ../sql/ddl_blocker.cc ../sql/si_objects.cc
${GEN_SOURCES}
${LIB_SOURCES})
diff -Nrup a/storage/falcon/CMakeLists.txt b/storage/falcon/CMakeLists.txt
--- a/storage/falcon/CMakeLists.txt 2008-04-28 22:47:19 +02:00
+++ b/storage/falcon/CMakeLists.txt 2008-05-08 21:45:55 +02:00
@@ -30,7 +30,8 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studi
SET(CMAKE_CXX_FLAGS_DEBUG_INIT "${CMAKE_CXX_FLAGS_DEBUG_INIT} /EHsc")
ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR
CMAKE_GENERATOR MATCHES "Visual Studio 8")
-ADD_LIBRARY(ha_falcon
+
+SET(FALCON_SOURCES
Agent.cpp
Alias.cpp
AsciiBlob.cpp
@@ -604,4 +605,9 @@ ADD_LIBRARY(ha_falcon
TransFormLib/Transform.h
TransFormLib/TransformException.h
TransFormLib/TransformUtil.h
- ../../sql/handler.h)
+ ../../sql/handler.h
+)
+IF(NOT SOURCE_SUBLIBS)
+ ADD_LIBRARY(ha_falcon ${FALCON_SOURCES} )
+ ADD_DEPENDENCIES(ha_falcon GenError)
+ENDIF(NOT SOURCE_SUBLIBS)
diff -Nrup a/vio/viossl.c b/vio/viossl.c
--- a/vio/viossl.c 2008-02-07 09:55:46 +01:00
+++ b/vio/viossl.c 2008-05-08 21:45:56 +02:00
@@ -172,7 +172,7 @@ void vio_ssl_delete(Vio *vio)
vio_delete(vio);
}
-
+#ifndef EMBEDDED_LIBRARY
static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, long timeout,
int (*connect_accept_func)(SSL*))
{
@@ -262,7 +262,7 @@ int sslconnect(struct st_VioSSLFd *ptr,
DBUG_ENTER("sslconnect");
DBUG_RETURN(ssl_do(ptr, vio, timeout, SSL_connect));
}
-
+#endif /*EMBEDDED_LIBRARY*/
int vio_ssl_blocking(Vio *vio __attribute__((unused)),
my_bool set_blocking_mode,
diff -Nrup a/vio/viosslfactories.c b/vio/viosslfactories.c
--- a/vio/viosslfactories.c 2008-02-18 23:29:35 +01:00
+++ b/vio/viosslfactories.c 2008-05-08 21:45:56 +02:00
@@ -225,6 +225,7 @@ static void check_ssl_init()
}
}
+#ifndef EMBEDDED_LIBRARY
/************************ VioSSLFd **********************************/
static struct st_VioSSLFd *
new_VioSSLFd(const char *key_file, const char *cert_file,
@@ -380,4 +381,5 @@ void free_vio_ssl_acceptor_fd(struct st_
SSL_CTX_free(fd->ssl_context);
my_free((uchar*) fd, MYF(0));
}
+#endif /*EMBEDDED_LIBRARY*/
#endif /* HAVE_OPENSSL */
| Thread |
|---|
| • bk commit into 6.0 tree (vvaintroub:1.2674) | vvaintroub | 8 May 2008 |