• unknown's avatar
    Fixed compiler and valgrind warnings · eda5d729
    unknown authored
    Added missing DBUG_xxx_RETURN statements
    Fixed some usage of not initialized variables (as found by valgrind)
    Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
    This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
    This will allow Tomas to continue with his work to use namelocks to syncronize things.
    
    Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
    
    
    BitKeeper/etc/ignore:
      added mysql-test/r/*.log
    client/mysqltest.c:
      Change type of variables to get rid of compiler warnings
      More debugging
      Fix memory leak
    mysql-test/mysql-test-run.sh:
      Collect warnings about missing DBUG_RETURN statements
    mysql-test/r/lock_multi.result:
      Add test of new code
    mysql-test/r/ndb_condition_pushdown.result:
      Drop used tables before test
    mysql-test/t/lo...
    eda5d729
ha_ndbcluster.cc 291 KB