diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-02-12 13:44:20 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-02-12 13:44:20 +0400 |
commit | 46cffd7f5b585527387e2a23d1c3c43d2b14bf2c (patch) | |
tree | eb5fe8ec07789d4b60868b31919ad12b97c01348 /storage/myisam | |
parent | 80164ae9a08041e67c65460d9bb2a6b0e1aeb277 (diff) | |
download | mariadb-git-46cffd7f5b585527387e2a23d1c3c43d2b14bf2c.tar.gz |
Bug#48294 assertion when creating a view based on some row() construct in select query
In case of 'CREATE VIEW' subselect transformation does not happen(see JOIN::prepare).
During fix_fields Item_row may call is_null() method for its arugmens which
leads to item calculation(wrong subselect in our case as
transformation did not happen before). This is_null() call
does not make sence for 'CREATE VIEW'.
Note:
Only Item_row is affected because other items don't call is_null()
during fix_fields() for arguments.
mysql-test/r/view.result:
test case
mysql-test/t/view.test:
test case
sql/item_row.cc:
skip is_null() call in case of 'CREATE VIEW' as unnecessary.
Diffstat (limited to 'storage/myisam')
0 files changed, 0 insertions, 0 deletions