summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2007-10-02 20:44:37 +0200
committerunknown <msvensson@pilot.mysql.com>2007-10-02 20:44:37 +0200
commit27eff217b4280c37568eea9e807e3ce81a0a7d91 (patch)
treeabdca2bc1f4aed37038dbe94fad410f8bcc67a8b /mysys/my_init.c
parentbc8d42f96dc4760bfa843affb343d6b446355296 (diff)
downloadmariadb-git-27eff217b4280c37568eea9e807e3ce81a0a7d91.tar.gz
Bug#27597 mysqld-debug broken
- "on" -> "restore" to avoid warning in MSVC when compiling with debug mysys/my_init.c: Fix spelling error that cause MSVC to throw a warning when compiling with debug. Use "restore" instaed of "on" to turn runtime checks back on
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 32d3f07fd31..8154a5fce51 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -286,7 +286,7 @@ int handle_rtc_failure(int err_type, const char *file, int line,
return 0; /* Error is handled */
}
-#pragma runtime_checks("", on)
+#pragma runtime_checks("", restore)
#endif