diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-05-14 16:30:05 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-08-15 22:00:22 +0200 |
| commit | 24fc0dcb1ee627cdec5ff5670a85050afc62d281 (patch) | |
| tree | b0f7a1a2c6f7959d981703c199b85905bbc43c35 /cmake | |
| parent | a4299c2a4b88d1cbdcea1301a190da6081abf876 (diff) | |
Core/DBLayer: Relaxed restrictions on which Field class member function can be used to access column value from "strict match" to "must not truncate"
(cherry picked from commit eadafb0347d606e5e3e660d21227aa15378bdb21)
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/options.cmake | 1 | ||||
| -rw-r--r-- | cmake/showoptions.cmake | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake index 8e7031a683a..4267989b046 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 ac10525f532..260431843d2 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}") |
