summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-08-09 10:23:55 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-08-09 10:23:55 -0300
commit7b7efa1261720e6c6ad76cbe9a5d922ba2dd7fc2 (patch)
treea207e9acd3b063f12f9fc5cf1ae091352b47e03b
parent4c44e2a74644c5cf9404f36411c329f62733a7ea (diff)
downloadmariadb-git-7b7efa1261720e6c6ad76cbe9a5d922ba2dd7fc2.tar.gz
Remove error injection option, it's not being used.
-rw-r--r--CMakeLists.txt7
-rw-r--r--configure.in15
2 files changed, 0 insertions, 22 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62ade30e3a4..3ba9e1cf7f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
diff --git a/configure.in b/configure.in
index e12214524fa..238cfc50a68 100644
--- a/configure.in
+++ b/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)]),