diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2012-04-04 13:29:45 +0400 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2012-04-04 13:29:45 +0400 |
commit | b5c690aa548ce7796d25f9df3f8ae056dcda1703 (patch) | |
tree | caa9db7fdd17a35c41bd544088379eda89ac165f /sql/password.c | |
parent | ce84cda789071df929b15ce9cc810e985d3d9dc0 (diff) | |
download | mariadb-git-b5c690aa548ce7796d25f9df3f8ae056dcda1703.tar.gz |
Bug#11766300 59387: FAILING ASSERTION: CURSOR->POS_STATE == 1997660512 (BTR_PCUR_IS_POSITIONE
Bug#13639204 64111: CRASH ON SELECT SUBQUERY WITH NON UNIQUE INDEX
The crash happened due to wrong calculation
of key length during creation of reference for
sort order index. The problem is that
keyuse->used_tables can have OUTER_REF_TABLE_BIT enabled
but used_tables parameter(create_ref_for_key() func) does
not have it. So key parts which have OUTER_REF_TABLE_BIT
are ommited and it could lead to incorrect key length
calculation(zero key length).
mysql-test/r/subselect_innodb.result:
test result
mysql-test/t/subselect_innodb.test:
test case
sql/sql_select.cc:
added OUTER_REF_TABLE_BIT to the used_tables parameter
for create_ref_for_key() function.
storage/innobase/handler/ha_innodb.cc:
added assertion, request from Inno team
storage/innodb_plugin/handler/ha_innodb.cc:
added assertion, request from Inno team
Diffstat (limited to 'sql/password.c')
0 files changed, 0 insertions, 0 deletions