diff options
author | unknown <evgen@moonbone.local> | 2005-06-22 04:45:10 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2005-06-22 04:45:10 +0400 |
commit | 401fa3cb4b47e2eee663058905a4430104c9b75f (patch) | |
tree | 8250cd82d602c34a867dd2c7154f4429f3aa4f29 /myisam/mi_rprev.c | |
parent | 04f6f63dd8bdcb4e0d5e7cc6b2200a87eff037fe (diff) | |
download | mariadb-git-401fa3cb4b47e2eee663058905a4430104c9b75f.tar.gz |
Fix bug#11298 insert into select from VIEW produces incorrect result
when using ORDER BY
Insert were inserting data from last record fetched instead of inserting from
temporary table.
Make Item_ref to save data from result_field if it's available rather then
from *ref on save_in_field() call.
sql/item.h:
Fix bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
sql/item.cc:
Fix bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
mysql-test/r/view.result:
Test case for bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
mysql-test/t/view.test:
Test case for bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
Diffstat (limited to 'myisam/mi_rprev.c')
0 files changed, 0 insertions, 0 deletions