• unknown's avatar
    Fix a valgrind warning. · b32d2ac2
    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).
    b32d2ac2
sql_prepare.cc 67.4 KB