diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-25 11:37:43 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-25 11:37:43 +0300 |
commit | e80cfbc068e7b2bec53208f7256468c9947835af (patch) | |
tree | a016857c481c106410276511c453f438f977ce44 /sql/sql_select.cc | |
parent | 530d46f4e3ca688301623eefbc01401c676dc79c (diff) | |
download | mariadb-git-e80cfbc068e7b2bec53208f7256468c9947835af.tar.gz |
fixed EXPLAIN behaviour with prepared statements (BUG#4271)
mysql-test/r/ps.result:
test of prepared EXPLAIN
mysql-test/t/ps.test:
fix layout and table removing of previous tests
test of prepared EXPLAIN
sql/sql_prepare.cc:
explain pave to be prepared, too
cleanup options after explain execution
sql/sql_select.cc:
removed unneed assignment
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index f7f7f24ccf4..d8662af1d39 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -603,7 +603,6 @@ JOIN::optimize() { zero_result_cause= "no matching row in const table"; DBUG_PRINT("error",("Error: %s", zero_result_cause)); - select_options= 0; //TODO why option in return_zero_rows was droped error= 0; DBUG_RETURN(0); } |