List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:May 6 2006 9:19am
Subject:bk commit into 5.0 tree (sergefp:1.2114)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of psergey. When psergey 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.2114 06/05/06 13:19:09 sergefp@stripped +1 -0
  Merge mysql.com:/home/psergey/mysql-4.1-bug16798
  into mysql.com:/home/psergey/mysql-5.0-bug16798-merge

  sql/sql_select.cc
    1.410 06/05/06 13:19:05 sergefp@stripped +0 -0
    Auto merged

# 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:	sergefp
# Host:	newbox.mylan
# Root:	/home/psergey/mysql-5.0-bug16798-merge/RESYNC

--- 1.409/sql/sql_select.cc	2006-05-04 06:38:30 +04:00
+++ 1.410/sql/sql_select.cc	2006-05-06 13:19:05 +04:00
@@ -2407,7 +2407,8 @@
                                 new_fields->null_rejecting);
 	}
 	else if (old->eq_func && new_fields->eq_func &&
-		 (old->val->is_null() || new_fields->val->is_null()))
+		 ((!old->val->used_tables() && old->val->is_null()) || 
+                  new_fields->val->is_null()))
 	{
 	  /* field = expression OR field IS NULL */
 	  old->level= and_level;
Thread
bk commit into 5.0 tree (sergefp:1.2114)Sergey Petrunia6 May