summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authormsvensson@pilot.mysql.com <>2007-10-02 20:44:37 +0200
committermsvensson@pilot.mysql.com <>2007-10-02 20:44:37 +0200
commite4d7e2168353270b04d5c0ba6221db6459f43519 (patch)
treeabdca2bc1f4aed37038dbe94fad410f8bcc67a8b /mysys
parent80a2d47b22dde619656b55831f2a920bfcf8b5b1 (diff)
downloadmariadb-git-e4d7e2168353270b04d5c0ba6221db6459f43519.tar.gz
Bug#27597 mysqld-debug broken
- "on" -> "restore" to avoid warning in MSVC when compiling with debug
Diffstat (limited to 'mysys')
-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