From eadafb0347d606e5e3e660d21227aa15378bdb21 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 14 May 2023 16:30:05 +0200 Subject: Core/DBLayer: Relaxed restrictions on which Field class member function can be used to access column value from "strict match" to "must not truncate" --- cmake/options.cmake | 1 - cmake/showoptions.cmake | 9 --------- 2 files changed, 10 deletions(-) (limited to 'cmake') diff --git a/cmake/options.cmake b/cmake/options.cmake index ef7636549a9..e650123d71f 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -48,7 +48,6 @@ else() endif() option(WITH_WARNINGS "Show all warnings during compile" 0) option(WITH_COREDEBUG "Include additional debug-code in core" 0) -option(WITH_STRICT_DATABASE_TYPE_CHECKS "Enable strict checking of database field value accessors" 0) option(WITHOUT_METRICS "Disable metrics reporting (i.e. InfluxDB and Grafana)" 0) option(WITH_DETAILED_METRICS "Enable detailed metrics reporting (i.e. time each session takes to update)" 0) option(COPY_CONF "Copy authserver and worldserver .conf.dist files to the project dir" 1) diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index ae303259bda..dea6ef01ed4 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -161,15 +161,6 @@ elseif (WITH_DETAILED_METRICS) add_definitions(-DWITH_DETAILED_METRICS) endif() -if(WITH_STRICT_DATABASE_TYPE_CHECKS) - message("") - message(" *** WITH_STRICT_DATABASE_TYPE_CHECKS - WARNING!") - message(" *** Validates uses of database Get***() functions from Field class") - message(" *** invalid calls will result in returning value 0") - message(" *** NOT COMPATIBLE WITH MARIADB!") - add_definitions(-DTRINITY_STRICT_DATABASE_TYPE_CHECKS) -endif() - if(WITH_BOOST_STACKTRACE) if (BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE) add_definitions(-DBOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE="${BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE}") -- cgit v1.2.3