mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Remove error injection option, it's not being used.
This commit is contained in:
parent
a756b9bd27
commit
8978c1cde2
2 changed files with 0 additions and 22 deletions
|
|
@ -161,13 +161,6 @@ IF(ENABLE_DEBUG_SYNC)
|
|||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DENABLED_DEBUG_SYNC")
|
||||
ENDIF()
|
||||
|
||||
OPTION(WITH_ERROR_INJECT
|
||||
"Enable error injection in MySQL Server (debug builds only)" OFF)
|
||||
IF(WITH_ERROR_INJECT)
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DERROR_INJECT_SUPPORT")
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DERROR_INJECT_SUPPORT")
|
||||
ENDIF()
|
||||
|
||||
OPTION(ENABLED_LOCAL_INFILE
|
||||
"If we should should enable LOAD DATA LOCAL by default" ${IF_WIN})
|
||||
MARK_AS_ADVANCED(ENABLED_LOCAL_INFILE)
|
||||
|
|
|
|||
15
configure.in
15
configure.in
|
|
@ -1775,21 +1775,6 @@ else
|
|||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
# If we should allow error injection tests
|
||||
AC_ARG_WITH(error-inject,
|
||||
AC_HELP_STRING([--with-error-inject],[Enable error injection in MySQL Server]),
|
||||
[ with_error_inject=$withval ],
|
||||
[ with_error_inject=no ])
|
||||
|
||||
if test $with_debug != "no"
|
||||
then
|
||||
if test "$with_error_inject" = "yes"
|
||||
then
|
||||
AC_DEFINE([ERROR_INJECT_SUPPORT], [1],
|
||||
[Enable error injection in MySQL Server])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([fast-mutexes],
|
||||
AC_HELP_STRING([--with-fast-mutexes],
|
||||
[Compile with fast mutexes (default is disabled)]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue