diff options
author | bell@sanja.is.com.ua <> | 2003-01-30 22:15:44 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-01-30 22:15:44 +0200 |
commit | e294751c41b12f7093ef51297af50c3a306f2b6a (patch) | |
tree | 217655eeaecf53f6696533c8e56d67c74da274b7 /sql/sql_prepare.cc | |
parent | 2f04313db5696f016fedd5abb7c3eaa2cf0c2cb4 (diff) | |
download | mariadb-git-e294751c41b12f7093ef51297af50c3a306f2b6a.tar.gz |
fixed bug in determinating uncacheable queries
new fatal_error interface to assign is_fatal_error and ne.report_error
commant about Item_row
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 737fc306958..5e325372ef9 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -675,7 +675,7 @@ static bool parse_prepare_query(PREP_STMT *stmt, LEX *lex=lex_start(thd, (uchar*) packet, length); lex->safe_to_cache_query= 0; - if (!yyparse((void *)thd) && !thd->fatal_error) + if (!yyparse((void *)thd) && !thd->is_fatal_error) error= send_prepare_results(stmt); lex_end(lex); DBUG_RETURN(error); |