summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-12-09 20:50:11 +0100
committerserg@serg.mylan <>2003-12-09 20:50:11 +0100
commita5e0ea5c0e610d68ac27fcbd0269feaac9463621 (patch)
treeb8ee45262e3da0469b0169121bfbcb03b67c6557 /sql/opt_range.cc
parente82018e34f6be6824ec72b461a472250c2acdb47 (diff)
parenteaa0c4494fc799707213c2cbf5a7b3114dd0e4e8 (diff)
downloadmariadb-git-a5e0ea5c0e610d68ac27fcbd0269feaac9463621.tar.gz
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 63850709285..07f2f1eaf67 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -2454,7 +2454,7 @@ QUICK_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table, TABLE_REF *ref)
if (cp_buffer_from_ref(ref))
{
if (thd->fatal_error)
- return 0; // out of memory
+ goto err; // out of memory
return quick; // empty range
}