• unknown's avatar
    bug #25492 (Invalid deallocation in mysql_stmt_fetch) · 925d4fb9
    unknown authored
    Operating with the prepared statements we don't alloc MYSQL_DATA structure,
    but use MYSQL_STMT's field instead (to increase performance by reducing
    malloc calls).
    So we shouldn't free this structure as we did before.
    
    
    libmysqld/lib_sql.cc:
      we only should free data->alloc here, as the 'data' is a member
      of STMT structure
    925d4fb9
lib_sql.cc 21.7 KB