• unknown's avatar
    Fix a valgrind warning. · bebdaf7c
    unknown authored
    
    sql/sql_prepare.cc:
      A small fix for the previous patch: we should first free the
      prepared statement items, and then free the runtime memory root,
      as some memory used for cleanup is allocated in that mem root.
    sql/sql_select.cc:
      - ever free the cursor mem root in close() (it's too early).
    bebdaf7c
sql_select.cc 420 KB