summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorunknown <jani@labbari.dsl.inet.fi>2007-07-07 22:13:36 +0300
committerunknown <jani@labbari.dsl.inet.fi>2007-07-07 22:13:36 +0300
commit81e32ad00bc76a08b63d68ad600e4a3db8caaee3 (patch)
tree866327a921acf293b57583832e4ee368b02be868 /include/my_base.h
parent8c35eec8af8095bacecf9c681165768bc50e2158 (diff)
parentebd53ca2e62f85422afe1be0d57eb7aed1642bb1 (diff)
downloadmariadb-git-81e32ad00bc76a08b63d68ad600e4a3db8caaee3.tar.gz
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
into labbari.dsl.inet.fi:/home/my/bk/mysql-maria.prod configure.in: Auto merged include/my_base.h: Auto merged mysql-test/lib/mtr_report.pl: Auto merged mysql-test/t/disabled.def: Auto merged sql/mysql_priv.h: Auto merged sql/share/errmsg.txt: Auto merged storage/csv/ha_tina.cc: Auto merged storage/myisam/ft_parser.c: Auto merged
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/my_base.h b/include/my_base.h
index bbc0c0f1f5c..57446e6136f 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -14,7 +14,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* This file includes constants used with all databases */
-/* Author: Michael Widenius */
#ifndef _my_base_h
#define _my_base_h
@@ -48,8 +47,9 @@
#define HA_OPEN_FOR_REPAIR 32 /* open even if crashed */
#define HA_OPEN_FROM_SQL_LAYER 64
#define HA_OPEN_MMAP 128 /* open memory mapped */
+#define HA_OPEN_COPY 256 /* Open copy (for repair) */
- /* The following is parameter to ha_rkey() how to use key */
+/* The following is parameter to ha_rkey() how to use key */
/*
We define a complete-field prefix of a key value as a prefix where
@@ -471,7 +471,7 @@ enum en_fieldtype {
};
enum data_file_type {
- STATIC_RECORD,DYNAMIC_RECORD,COMPRESSED_RECORD
+ STATIC_RECORD, DYNAMIC_RECORD, COMPRESSED_RECORD, BLOCK_RECORD
};
/* For key ranges */
@@ -523,4 +523,7 @@ typedef ulong ha_rows;
#define HA_VARCHAR_PACKLENGTH(field_length) ((field_length) < 256 ? 1 :2)
+/* invalidator function reference for Query Cache */
+typedef void (* invalidator_by_filename)(const char * filename);
+
#endif /* _my_base_h */