summaryrefslogtreecommitdiff
path: root/include/my_handler.h
diff options
context:
space:
mode:
authorgkodinov/kgeorge@magare.gmz <>2008-03-28 18:45:03 +0200
committergkodinov/kgeorge@magare.gmz <>2008-03-28 18:45:03 +0200
commita95c6b9516c65e05e23c9d407ab8021909c05aeb (patch)
tree4711cd6d2ffea0a95e9b60ca57e1ad8c9a490ff9 /include/my_handler.h
parentfd64a7735d6f981df1f3bd92b008856a66b0c0f3 (diff)
downloadmariadb-git-a95c6b9516c65e05e23c9d407ab8021909c05aeb.tar.gz
Fixed problem with non-synchronous error lists
in perror and handler descriptors (BUG#25177) Fixed problem of masking mysql error by system error in perror (BUG#23028)
Diffstat (limited to 'include/my_handler.h')
-rw-r--r--include/my_handler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_handler.h b/include/my_handler.h
index dabe73bd138..a3376cb74a2 100644
--- a/include/my_handler.h
+++ b/include/my_handler.h
@@ -19,6 +19,9 @@
#define _my_handler_h
#include "myisampack.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
There is a hard limit for the maximum number of keys as there are only
@@ -118,5 +121,8 @@ extern void my_handler_error_unregister(void);
this amount of bytes.
*/
#define portable_sizeof_char_ptr 8
+#ifdef __cplusplus
+}
+#endif
#endif /* _my_handler_h */