diff options
author | unknown <kroki/tomash@moonlight.intranet> | 2006-09-07 18:51:00 +0400 |
---|---|---|
committer | unknown <kroki/tomash@moonlight.intranet> | 2006-09-07 18:51:00 +0400 |
commit | ee09b41ea277ee3916509e8c2ee3145b3b2e6518 (patch) | |
tree | e0132a61a13a83836bb9c131ca02708e3634ecf7 /sql/protocol.h | |
parent | 33294b1b50eb20e09db5f1462a12fe5668f4f097 (diff) | |
download | mariadb-git-ee09b41ea277ee3916509e8c2ee3145b3b2e6518.tar.gz |
BUG#20492: Subsequent calls to stored procedure yield incorrect result
if join is used
For procedures with selects that use complicated joins with ON expression
re-execution could erroneously ignore this ON expression, giving
incorrect result.
The problem was that optimized ON expression wasn't saved for
re-execution. The solution is to properly save it.
mysql-test/r/sp.result:
Add result for bug#20492: Subsequent calls to stored procedure yield
incorrect result if join is used.
mysql-test/t/sp.test:
Add test case for bug#20492: Subsequent calls to stored procedure yield
incorrect result if join is used.
sql/sql_select.cc:
Save modified ON expression for re-execution.
Diffstat (limited to 'sql/protocol.h')
0 files changed, 0 insertions, 0 deletions