You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
This changeset enables quick (mariadb -q) mode when columnstore is installed. Quick mode precludes client CLI program from storing too much data in memory, preventing out of memory conditions.
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
[client]
|
||||||
|
quick
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
plugin-load-add=ha_columnstore.so
|
plugin-load-add=ha_columnstore.so
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
"Check that quick mode is enabled"
|
@ -0,0 +1,4 @@
|
|||||||
|
--echo "Check that quick mode is enabled"
|
||||||
|
# the following line will fail the test if quick mode
|
||||||
|
# is not enabled in (some) configuration file as default.
|
||||||
|
system mariadb --help | grep -q -E "^quick +TRUE\$";
|
@ -127,4 +127,4 @@ install(FILES mariadb-columnstore.service
|
|||||||
install(FILES module DESTINATION ${ENGINE_DATADIR}/local COMPONENT columnstore-engine)
|
install(FILES module DESTINATION ${ENGINE_DATADIR}/local COMPONENT columnstore-engine)
|
||||||
|
|
||||||
find_package (Python3 COMPONENTS Interpreter REQUIRED)
|
find_package (Python3 COMPONENTS Interpreter REQUIRED)
|
||||||
add_test(NAME PythonUnitTests COMMAND ${Python3_EXECUTABLE} -m unittest test_mcs-savebrm.py)
|
add_test(NAME PythonUnitTests COMMAND ${Python3_EXECUTABLE} -m unittest test_mcs-savebrm.py)
|
||||||
|
Reference in New Issue
Block a user