• Evgeny Potemkin's avatar
    Bug#49746: Const expression caching led to NDB not using engine condition · 48738f73
    Evgeny Potemkin authored
    pushdown.
          
    NDB supports only a limited set of item nodes for use in engine condition
    pushdown. Because of this adding cache for const expression effectively
    disabled this optimization.
          
    The ndb_serialize_cond function is extended to support Item_cache and treat
    it as a constant values.
    A helper function called ndb_serialize_const is added. It is used to create
    Ndb_cond value node from given const item.
    48738f73
disabled.def 775 Bytes