summaryrefslogtreecommitdiff
path: root/include/maria.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-09-14 23:06:54 +0200
committerSergei Golubchik <sergii@pisem.net>2010-09-14 23:06:54 +0200
commit50ffaf6d0f8b1ef4e8f4604d6526d3f758e9657b (patch)
tree17145568117a90277934b5c0c5dd8ac6df742dd1 /include/maria.h
parente246077bcf5fc22a381ee8591a441eb345a4a2af (diff)
downloadmariadb-git-50ffaf6d0f8b1ef4e8f4604d6526d3f758e9657b.tar.gz
provide maria* aliases for aria* command-line options,
status and system variables
Diffstat (limited to 'include/maria.h')
-rw-r--r--include/maria.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/maria.h b/include/maria.h
index 106aa61ddbb..0e406d747be 100644
--- a/include/maria.h
+++ b/include/maria.h
@@ -21,12 +21,9 @@
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef _my_base_h
#include <my_base.h>
-#endif
-#ifndef _m_ctype_h
+#include <my_sys.h>
#include <m_ctype.h>
-#endif
#include "../storage/maria/ma_pagecache.h"
#include "my_handler.h"
#include "ft_global.h"
@@ -334,6 +331,12 @@ extern int maria_begin(MARIA_HA *info);
extern void maria_disable_logging(MARIA_HA *info);
extern void maria_enable_logging(MARIA_HA *info);
+#define HA_RECOVER_NONE 0 /* No automatic recover */
+#define HA_RECOVER_DEFAULT 1 /* Automatic recover active */
+#define HA_RECOVER_BACKUP 2 /* Make a backupfile on recover */
+#define HA_RECOVER_FORCE 4 /* Recover even if we loose rows */
+#define HA_RECOVER_QUICK 8 /* Don't check rows in data file */
+
/* this is used to pass to mysql_mariachk_table */
#define MARIA_CHK_REPAIR 1 /* equivalent to mariachk -r */