mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
Merge mysql.com:/home/svoj/devel/mysql/BUG24855/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG24855/mysql-5.1-engines storage/myisam/mi_open.c: Auto merged
This commit is contained in:
commit
2e9f070cc2
1 changed files with 7 additions and 1 deletions
|
@ -334,7 +334,13 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
|
||||||
for (j=0 ; j < share->keyinfo[i].keysegs; j++,pos++)
|
for (j=0 ; j < share->keyinfo[i].keysegs; j++,pos++)
|
||||||
{
|
{
|
||||||
disk_pos=mi_keyseg_read(disk_pos, pos);
|
disk_pos=mi_keyseg_read(disk_pos, pos);
|
||||||
|
if (pos->flag & HA_BLOB_PART &&
|
||||||
|
! (share->options & (HA_OPTION_COMPRESS_RECORD |
|
||||||
|
HA_OPTION_PACK_RECORD)))
|
||||||
|
{
|
||||||
|
my_errno= HA_ERR_CRASHED;
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
if (pos->type == HA_KEYTYPE_TEXT ||
|
if (pos->type == HA_KEYTYPE_TEXT ||
|
||||||
pos->type == HA_KEYTYPE_VARTEXT1 ||
|
pos->type == HA_KEYTYPE_VARTEXT1 ||
|
||||||
pos->type == HA_KEYTYPE_VARTEXT2)
|
pos->type == HA_KEYTYPE_VARTEXT2)
|
||||||
|
|
Loading…
Add table
Reference in a new issue