diff options
author | evgen@moonbone.local <> | 2005-11-24 19:16:51 +0300 |
---|---|---|
committer | evgen@moonbone.local <> | 2005-11-24 19:16:51 +0300 |
commit | a4a3215a44753d4147df183fccf2fcdfdbcdc107 (patch) | |
tree | 16784e30c0a37d173e3e44faee2f209c32a2b58a /include/config-os2.h | |
parent | b8248334d98145247dcaa249a9c7cde600192ae7 (diff) | |
download | mariadb-git-a4a3215a44753d4147df183fccf2fcdfdbcdc107.tar.gz |
Fix bug #14482 Wrongly applied optimization in resolve_const_item() caused
crash
resolve_const_item() substitutes item which will evaluate to constant with
equvalent constant item, basing on the item's result type. In this case
subselect was resolved as constant, and resolve_const_item() was substituting
it's result's Item_caches to Item_null. Later Item_cache's function was called
for Item_null object, which caused server crash.
resolve_const_item() now substitutes constants for items with
result_type == ROW_RESULT only for Item_rows.
Diffstat (limited to 'include/config-os2.h')
0 files changed, 0 insertions, 0 deletions