summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-27 11:20:07 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-27 11:20:07 +0200
commit504e0a7a4f40eb3afc0f49dc9f1360bb4f2c0218 (patch)
treea0c1f5638b37f5e29dfc20634af76b895618f2d2 /include/config-win.h
parent8bdf015ab77a03f9d1a410634afe77af2c59a879 (diff)
downloadmariadb-git-504e0a7a4f40eb3afc0f49dc9f1360bb4f2c0218.tar.gz
Add missing SIGNAL_WITH_VIO_CLOSE to fix problem with SLAVE STOP on windows
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index b4b9a59a067..74b2ae71017 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -135,6 +135,11 @@ typedef uint rf_SetTimer;
#define HAVE_NAMED_PIPE /* We can only create pipes on NT */
#endif
+/* We need to close files to break connections on shutdown */
+#ifndef SIGNAL_WITH_VIO_CLOSE
+#define SIGNAL_WITH_VIO_CLOSE
+#endif
+
/* Use all character sets in MySQL */
#define USE_MB 1
#define USE_MB_IDENT 1