diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2008-08-26 18:53:22 +0500 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2008-08-26 18:53:22 +0500 |
commit | d2541eac97aa9be4fc0b33a925e2f64c5bcafad6 (patch) | |
tree | 5d468e89bdabfd47d59b3142c9a6716394195930 /storage | |
parent | 0b19617de74594278a6ced881888bfc20542bcb1 (diff) | |
parent | 42d0266afe88fb34877d5a33e38a356dd26b02e3 (diff) | |
download | mariadb-git-d2541eac97aa9be4fc0b33a925e2f64c5bcafad6.tar.gz |
Merge
Diffstat (limited to 'storage')
-rw-r--r-- | storage/myisam/mi_create.c | 2 | ||||
-rw-r--r-- | storage/myisam/rt_index.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/storage/myisam/mi_create.c b/storage/myisam/mi_create.c index 2784861f48a..448e1b3c6f8 100644 --- a/storage/myisam/mi_create.c +++ b/storage/myisam/mi_create.c @@ -196,7 +196,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs, packed=(packed+7)/8; if (pack_reclength != INT_MAX32) pack_reclength+= reclength+packed + - test(test_all_bits(options, HA_OPTION_CHECKSUM | HA_PACK_RECORD)); + test(test_all_bits(options, HA_OPTION_CHECKSUM | HA_OPTION_PACK_RECORD)); min_pack_length+=packed; if (!ci->data_file_length && ci->max_rows) diff --git a/storage/myisam/rt_index.c b/storage/myisam/rt_index.c index 25f9d7c19e4..0b472f4fb0e 100644 --- a/storage/myisam/rt_index.c +++ b/storage/myisam/rt_index.c @@ -389,7 +389,7 @@ int rtree_get_first(MI_INFO *info, uint keynr, uint key_length) info->rtree_recursion_depth = -1; info->buff_used = 1; - return rtree_get_req(info, &keyinfo[keynr], key_length, root, 0); + return rtree_get_req(info, keyinfo, key_length, root, 0); } @@ -436,7 +436,7 @@ int rtree_get_next(MI_INFO *info, uint keynr, uint key_length) return -1; } - return rtree_get_req(info, &keyinfo[keynr], key_length, root, 0); + return rtree_get_req(info, keyinfo, key_length, root, 0); } } |