summaryrefslogtreecommitdiff
path: root/storage/maria/ma_create.c
diff options
context:
space:
mode:
authorunknown <sanja@sun.com>2009-01-08 10:20:04 +0200
committerunknown <sanja@sun.com>2009-01-08 10:20:04 +0200
commitdd8e57af7b48445fefc5b591d65419c0df3f3046 (patch)
tree4a7ec93e7de8bd88e871e6b1da4d14239cfb352f /storage/maria/ma_create.c
parent6aa97fb6648e08745533eacdf5e77afd882c3246 (diff)
downloadmariadb-git-dd8e57af7b48445fefc5b591d65419c0df3f3046.tar.gz
_ma_state_info_write numeric flags changed with constants.
storage/maria/maria_def.h: Constants for _ma_state_info_write added.
Diffstat (limited to 'storage/maria/ma_create.c')
-rw-r--r--storage/maria/ma_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/maria/ma_create.c b/storage/maria/ma_create.c
index 5552fae6028..4cc2142614c 100644
--- a/storage/maria/ma_create.c
+++ b/storage/maria/ma_create.c
@@ -846,7 +846,8 @@ int maria_create(const char *name, enum data_file_type datafile_type,
errpos=1;
DBUG_PRINT("info", ("write state info and base info"));
- if (_ma_state_info_write_sub(file, &share.state, 2) ||
+ if (_ma_state_info_write_sub(file, &share.state,
+ MA_STATE_INFO_WRITE_FULL_INFO) ||
_ma_base_info_write(file, &share.base))
goto err;
DBUG_PRINT("info", ("base_pos: %d base_info_size: %d",