mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Rename CONF_SQL to CONF_MYSQL
This commit is contained in:
parent
9ef5849f0c
commit
f5d59e8719
|
@ -2816,7 +2816,7 @@ foreach(target ${TARGETS_OWN})
|
|||
target_compile_definitions(${target} PRIVATE CONF_HEADLESS_CLIENT)
|
||||
endif()
|
||||
if(MYSQL)
|
||||
target_compile_definitions(${target} PRIVATE CONF_SQL)
|
||||
target_compile_definitions(${target} PRIVATE CONF_MYSQL)
|
||||
target_include_directories(${target} PRIVATE ${MYSQL_INCLUDE_DIRS})
|
||||
endif()
|
||||
if(AUTOUPDATE AND NOT STEAM)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "connection.h"
|
||||
|
||||
#if defined(CONF_SQL)
|
||||
#if defined(CONF_MYSQL)
|
||||
#include <mysql.h>
|
||||
|
||||
#include <base/tl/threading.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#if defined(CONF_SQL)
|
||||
#if defined(CONF_MYSQL)
|
||||
int DummyMysqlInit = (MysqlInit(), 1);
|
||||
#endif
|
||||
|
||||
|
@ -457,7 +457,7 @@ TEST_P(RandomMap, UnfinishedDoesntExist)
|
|||
auto testValues
|
||||
{
|
||||
testing::Values(CreateSqliteConnection(":memory:", true)
|
||||
#if defined(CONF_SQL)
|
||||
#if defined(CONF_MYSQL)
|
||||
,
|
||||
CreateMysqlConnection("ddnet", "record", "ddnet", "thebestpassword", "localhost", 3306, true)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue