diff options
author | unknown <msvensson@pilot.mysql.com> | 2007-10-02 20:44:37 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2007-10-02 20:44:37 +0200 |
commit | 27eff217b4280c37568eea9e807e3ce81a0a7d91 (patch) | |
tree | abdca2bc1f4aed37038dbe94fad410f8bcc67a8b /mysys/my_init.c | |
parent | bc8d42f96dc4760bfa843affb343d6b446355296 (diff) | |
download | mariadb-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.c | 2 |
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 |