MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:igor Date:February 3 2006 4:38am
Subject:bk commit into 4.1 tree (igor:1.2472) BUG#14927
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of igor. When igor does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2472 06/02/02 20:37:58 igor@stripped +1 -0
  Post-review fix for bug #14927.

  sql/sql_select.cc
    1.451 06/02/02 20:37:54 igor@stripped +6 -0
    Post-review fix for bug #14927.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	igor
# Host:	rurik.mysql.com
# Root:	/home/igor/dev/mysql-4.1-0

--- 1.450/sql/sql_select.cc	2006-01-31 21:48:28 -08:00
+++ 1.451/sql/sql_select.cc	2006-02-02 20:37:54 -08:00
@@ -504,6 +504,12 @@
   {
     Item::cond_result having_value;
     having= optimize_cond(thd, having, &having_value);
+    if (thd->net.report_error)
+    {
+      error= 1;
+      DBUG_PRINT("error",("Error from optimize_cond"));
+      DBUG_RETURN(1);
+    }
 
     if (cond_value == Item::COND_FALSE || having_value == Item::COND_FALSE || 
         (!unit->select_limit_cnt && !(select_options & OPTION_FOUND_ROWS)))
Thread
bk commit into 4.1 tree (igor:1.2472) BUG#14927igor3 Feb