• Sergey Petrunya's avatar
    post-merge fixes: get MWL#90 code to work with MWL#89's · 77c4c4d8
    Sergey Petrunya authored
    way of processing prepared statements:
    - conversion subquery_predicate -> TABLE_LIST is once per-statement
    - However, the code must take into account that materialized temptable
      is dropped and re-created on each execution (the tricky part is that 
      at start of n-th EXECUTE we have TABLE_LIST object but not its TABLE object)
    - IN-equality is injected into WHERE on every execution.
    77c4c4d8
sql_base.cc 302 KB