when propagate_cond_constants will be called?

"Mr. Left" <[email protected]> Mon, 11 Feb 2013 00:12:58 +0800 (CST)
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
Hi, all
Is there anyone can tell me when the function propagate_cond_constants() will be really used? Cause I found after the build_equal_items(), all Item_func::EQ_FUNC
are transformed to Item_func::MULT_EQUAL_FUNC.
And the example in mysql internals 8.2.1.1. Constant Propagation, just refer to propagate_cond_constants(), but all translate are really finished in build_equal_items().

So I want to know when the function propagate_cond_constants() will really work? It's kind of you to supply an example.
Thank you very much.

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals