mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merging
This commit is contained in:
commit
f2944dca2a
1 changed files with 4 additions and 2 deletions
|
@ -251,9 +251,11 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
|
|||
/*
|
||||
called by myisamchk - i.e. table structure was taken from
|
||||
MYI file and SPATIAL key *does have* additional sp_segs keysegs.
|
||||
We'd better delete them now
|
||||
keydef->seg here points right at the GEOMETRY segment,
|
||||
so we only need to decrease keydef->keysegs.
|
||||
(see recreate_table() in mi_check.c)
|
||||
*/
|
||||
keydef->keysegs-=(sp_segs-1);
|
||||
keydef->keysegs-=sp_segs-1;
|
||||
}
|
||||
|
||||
for (j=0, keyseg=keydef->seg ; (int) j < keydef->keysegs ;
|
||||
|
|
Loading…
Add table
Reference in a new issue