From: Sergey Petrunia Date: July 3 2006 1:19am Subject: bk commit into 4.1 tree (sergefp:1.2521) List-Archive: http://lists.mysql.com/commits/8624 Message-Id: <20060703011933.591BB37B0D@newbox.mylan> Below is the list of changes that have just been committed into a local 4.1 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.2521 06/07/03 05:19:27 sergefp@stripped +1 -0 Better comments for void Item::top_level_item() sql/item.h 1.195 06/07/03 05:19:20 sergefp@stripped +7 -2 Better comments for void Item::top_level_item() # 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-4.1-opt-comments --- 1.194/sql/item.h 2006-06-13 19:07:53 +04:00 +++ 1.195/sql/item.h 2006-07-03 05:19:20 +04:00 @@ -275,9 +275,14 @@ public: Any new item which can be NULL must implement this call. */ virtual bool is_null() { return 0; } + /* - it is "top level" item of WHERE clause and we do not need correct NULL - handling + Inform the item that there will be no distinction between its result + being FALSE or NULL. + + NOTES + This holds for Items that are top-level AND-parts of the WHERE clause. + Items implementing this function enable special optimizations. */ virtual void top_level_item() {} /*