diff options
author | unknown <hf@deer.(none)> | 2005-07-21 16:40:22 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2005-07-21 16:40:22 +0500 |
commit | 4ad998027a5408eb8256b091ed4546749dad5eb6 (patch) | |
tree | 77ffb30982a2650d0fe24f84fd93ef0fab6ba5c2 | |
parent | 2e92355b4563dda37597edf949ef45160bf36ad8 (diff) | |
parent | f3174388c7e6523ec017211a750ec49826dcffe6 (diff) | |
download | mariadb-git-4ad998027a5408eb8256b091ed4546749dad5eb6.tar.gz |
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
into deer.(none):/home/hf/work/mysql-5.0.10839
-rw-r--r-- | myisam/mi_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_create.c b/myisam/mi_create.c index 560535f2933..220bc47daf3 100644 --- a/myisam/mi_create.c +++ b/myisam/mi_create.c @@ -253,7 +253,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs, MYI file and SPATIAL key *does have* additional sp_segs keysegs. We'd better delete them now */ - keydef->keysegs-=sp_segs; + keydef->keysegs-=(sp_segs-1); } for (j=0, keyseg=keydef->seg ; (int) j < keydef->keysegs ; |