Fixed MySQL
This commit is contained in:
parent
97fd71b69a
commit
71d1cc666b
@ -232,7 +232,7 @@ set(TEST_LIBRARIES
|
|||||||
tomcrypt::static
|
tomcrypt::static
|
||||||
tommath::static
|
tommath::static
|
||||||
|
|
||||||
mysqlclient.a
|
mysqlclient::static
|
||||||
jsoncpp_lib
|
jsoncpp_lib
|
||||||
${ed25519_LIBRARIES_STATIC}
|
${ed25519_LIBRARIES_STATIC}
|
||||||
${DataPipes_LIBRARIES_SHARED} # Also includes glib2.0
|
${DataPipes_LIBRARIES_SHARED} # Also includes glib2.0
|
||||||
@ -242,6 +242,7 @@ set(TEST_LIBRARIES
|
|||||||
dl
|
dl
|
||||||
z
|
z
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(src/)
|
include_directories(src/)
|
||||||
option(BUILD_TESTS "Enable/disable test building" ON)
|
option(BUILD_TESTS "Enable/disable test building" ON)
|
||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include <mysql.h>
|
|
||||||
|
|
||||||
#define CR_CONNECTION_ERROR (2002)
|
#define CR_CONNECTION_ERROR (2002)
|
||||||
#define CR_SERVER_GONE_ERROR (2006)
|
#define CR_SERVER_GONE_ERROR (2006)
|
||||||
#define CR_SERVER_LOST (2013)
|
#define CR_SERVER_LOST (2013)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user