From: Mr. Left Date: February 10 2013 4:12pm Subject: when propagate_cond_constants will be called? List-Archive: http://lists.mysql.com/internals/38721 Message-Id: <14ba8d2c.43b5.13cc4e180ef.Coremail.hdchild@163.com> X-CM-TRANSID:YcGowECZtEEKxxdRP8JOAA--.7617W MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, all Is there anyone can tell me when the function=C2=A0propagate_cond_constants= () will be really used? Cause I found after the build_equal_items(), all It= em_func::EQ_FUNC are transformed to Item_func::MULT_EQUAL_FUNC. And the example in mysql internals 8.2.1.1. Constant Propagation, just refe= r to=C2=A0propagate_cond_constants(), but all translate are really finished= in=C2=A0build_equal_items(). So I want to know when the function=C2=A0propagate_cond_constants() will re= ally work? It's kind of you to supply an example. Thank you very much.