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