You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Add an option in build/bootstrap_mcs.sh to NOT perform a clean install. (#2853)
A new option is added (-n/--no-clean-install) that allows a user to re-install ColumnStore without deleting the existing db files. This is useful for testing new code changes in the engine without the need to re-create the database tables to test the code changes.
This commit is contained in:
@ -26,7 +26,7 @@ cd -
|
||||
|
||||
|
||||
optparse.define short=t long=build-type desc="Build Type: ${BUILD_TYPE_OPTIONS[*]}" variable=MCS_BUILD_TYPE
|
||||
optparse.define short=d long=distro desc="Choouse your OS: ${DISTRO_OPTIONS[*]}" variable=OS
|
||||
optparse.define short=d long=distro desc="Choose your OS: ${DISTRO_OPTIONS[*]}" variable=OS
|
||||
optparse.define short=D long=install-deps desc="Install dependences" variable=INSTALL_DEPS default=false value=true
|
||||
optparse.define short=C long=force-cmake-reconfig desc="Force cmake reconfigure" variable=FORCE_CMAKE_CONFIG default=false value=true
|
||||
optparse.define short=S long=skip-columnstore-submodules desc="Skip columnstore submodules initialization" variable=SKIP_SUBMODULES default=false value=true
|
||||
@ -37,6 +37,7 @@ optparse.define short=D long=without-core-dumps desc="Do not produce core dumps"
|
||||
optparse.define short=A long=asan desc="Build with ASAN" variable=ASAN default=false value=true
|
||||
optparse.define short=v long=verbose desc="Verbose makefile commands" variable=MAKEFILE_VERBOSE default=false value=true
|
||||
optparse.define short=P long=report-path desc="Path for storing reports and profiles" variable=REPORT_PATH default="/core"
|
||||
optparse.define short=n long=no-clean-install desc="Do not perform a clean install (keep existing db files)" variable=NO_CLEAN default=false value=true
|
||||
|
||||
source $( optparse.build )
|
||||
|
||||
@ -442,7 +443,11 @@ if [[ $INSTALL_DEPS = true ]] ; then
|
||||
fi
|
||||
|
||||
stop_service
|
||||
clean_old_installation
|
||||
|
||||
if [[ $NO_CLEAN = false ]] ; then
|
||||
clean_old_installation
|
||||
fi
|
||||
|
||||
build
|
||||
run_unit_tests
|
||||
run_microbenchmarks_tests
|
||||
|
Reference in New Issue
Block a user