summaryrefslogtreecommitdiff
path: root/storage/archive/azlib.h
diff options
context:
space:
mode:
authorbrian@zim.(none) <>2007-01-21 11:41:00 -0800
committerbrian@zim.(none) <>2007-01-21 11:41:00 -0800
commit068d7c8203b5e9e75f49cd2a256b864d5efd06a5 (patch)
tree636cb8e2a45eeaff95bca7e1b301755235d87016 /storage/archive/azlib.h
parent4b58f41481752195f45e004a753347395b27678a (diff)
downloadmariadb-git-068d7c8203b5e9e75f49cd2a256b864d5efd06a5.tar.gz
Just adding support for a "minor" version number.
Diffstat (limited to 'storage/archive/azlib.h')
-rw-r--r--storage/archive/azlib.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/storage/archive/azlib.h b/storage/archive/azlib.h
index 94ed45121cc..804532dfdbf 100644
--- a/storage/archive/azlib.h
+++ b/storage/archive/azlib.h
@@ -51,22 +51,23 @@ extern "C" {
+ sizeof(unsigned int) + sizeof(unsigned int) \
+ sizeof(unsigned char)
-#define AZHEADER_SIZE 20
+#define AZHEADER_SIZE 21
#define AZ_MAGIC_POS 0
#define AZ_VERSION_POS 1
-#define AZ_BLOCK_POS 2
-#define AZ_STRATEGY_POS 3
-#define AZ_FRM_POS 4
-#define AZ_META_POS 8
-#define AZ_START_POS 12
-#define AZ_ROW_POS 20
-#define AZ_FLUSH_POS 28
-#define AZ_CHECK_POS 36
-#define AZ_AUTOINCREMENT_POS 44
-#define AZ_LONGEST_POS 52
-#define AZ_SHORTEST_POS 56
-#define AZ_DIRTY_POS 60
+#define AZ_MINOR_VERSION_POS 2
+#define AZ_BLOCK_POS 3
+#define AZ_STRATEGY_POS 4
+#define AZ_FRM_POS 5
+#define AZ_META_POS 9
+#define AZ_START_POS 13
+#define AZ_ROW_POS 21
+#define AZ_FLUSH_POS 29
+#define AZ_CHECK_POS 37
+#define AZ_AUTOINCREMENT_POS 45
+#define AZ_LONGEST_POS 53
+#define AZ_SHORTEST_POS 57
+#define AZ_DIRTY_POS 61
/*
@@ -210,6 +211,7 @@ typedef struct azio_stream {
int back; /* one character push-back */
int last; /* true if push-back is last character */
unsigned char version; /* Version */
+ unsigned char minor_version; /* Version */
unsigned int block_size; /* Block Size */
unsigned long long check_point; /* Last position we checked */
unsigned long long forced_flushes; /* Forced Flushes */