summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <tulin@dl145b.mysql.com>2005-06-07 19:38:28 +0200
committerunknown <tulin@dl145b.mysql.com>2005-06-07 19:38:28 +0200
commit95caf683159fdf55c6d4b12d5bb28b297000e509 (patch)
tree3c27000b2cf3f50553272b964c461568a7164052 /storage
parent0de81f007f688d5debf69209f264d343dc30f0c8 (diff)
parent829257e7ce42c0933b28adfd2ef91328405de27d (diff)
downloadmariadb-git-95caf683159fdf55c6d4b12d5bb28b297000e509.tar.gz
merge
BitKeeper/etc/logging_ok: auto-union sql/mysqld.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_repl.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged storage/myisam/mi_key.c: Auto merged storage/myisam/mi_rnext_same.c: Auto merged support-files/mysql.spec.sh: Auto merged
Diffstat (limited to 'storage')
-rw-r--r--storage/myisam/mi_key.c2
-rw-r--r--storage/myisam/mi_rnext_same.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/storage/myisam/mi_key.c b/storage/myisam/mi_key.c
index 9fb673483ea..ae50900a190 100644
--- a/storage/myisam/mi_key.c
+++ b/storage/myisam/mi_key.c
@@ -107,7 +107,7 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
}
if (keyseg->flag & HA_SPACE_PACK)
{
- end=pos+length;
+ end= pos + length;
if (type != HA_KEYTYPE_NUM)
{
while (end > pos && end[-1] == ' ')
diff --git a/storage/myisam/mi_rnext_same.c b/storage/myisam/mi_rnext_same.c
index 06408f57a3f..4d770258a72 100644
--- a/storage/myisam/mi_rnext_same.c
+++ b/storage/myisam/mi_rnext_same.c
@@ -68,8 +68,8 @@ int mi_rnext_same(MI_INFO *info, byte *buf)
info->lastkey_length,SEARCH_BIGGER,
info->s->state.key_root[inx])))
break;
- if (ha_key_cmp(keyinfo->seg,info->lastkey2,info->lastkey,
- info->last_rkey_length, SEARCH_FIND, &not_used))
+ if (ha_key_cmp(keyinfo->seg, info->lastkey, info->lastkey2,
+ info->last_rkey_length, SEARCH_FIND, &not_used))
{
error=1;
my_errno=HA_ERR_END_OF_FILE;