summaryrefslogtreecommitdiff
path: root/sql/thr_malloc.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-01-30 22:15:44 +0200
committerbell@sanja.is.com.ua <>2003-01-30 22:15:44 +0200
commite294751c41b12f7093ef51297af50c3a306f2b6a (patch)
tree217655eeaecf53f6696533c8e56d67c74da274b7 /sql/thr_malloc.cc
parent2f04313db5696f016fedd5abb7c3eaa2cf0c2cb4 (diff)
downloadmariadb-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/thr_malloc.cc')
-rw-r--r--sql/thr_malloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/thr_malloc.cc b/sql/thr_malloc.cc
index 8b9baa6f045..57560715fbe 100644
--- a/sql/thr_malloc.cc
+++ b/sql/thr_malloc.cc
@@ -24,7 +24,7 @@ extern "C" {
{
THD *thd=current_thd;
if (thd) // QQ; To be removed
- thd->fatal_error=1; /* purecov: inspected */
+ thd->fatal_error(); /* purecov: inspected */
sql_print_error(ER(ER_OUT_OF_RESOURCES));
}
}