MXS-1633 Turn off collecting of sqlite3 memstats

According to customer reports collecting the statistics has a significant
impact on the performance. As we don't need that information we can just
as well turn off that.

Further, since maxscale-common now links to the sqlite3-library, no
module needs to do that explicitly.
This commit is contained in:
Johan Wikman
2018-01-30 13:27:41 +02:00
parent 5bc945df3f
commit 6410b4f19a
6 changed files with 45 additions and 5 deletions

View File

@ -2,7 +2,7 @@ if(SQLITE_VERSION VERSION_LESS 3.3)
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
else()
add_library(mysqlauth SHARED mysql_auth.c dbusers.c)
target_link_libraries(mysqlauth maxscale-common mysqlcommon sqlite3)
target_link_libraries(mysqlauth maxscale-common mysqlcommon)
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0")
install_module(mysqlauth core)
endif()