• Michael Widenius's avatar
    Fixed bugs found by buildbot: · 69fe020f
    Michael Widenius authored
    - Use -Wno-uninitialized if -DFORCE_INIT_OF_VARS is not used, to avoid warnings about not initialized variables.
    - Fixed compiler warnings
    - Added a name for each thr_lock to get better error messages (This is needed to find out why 'archive.test' sometimes fails)
    
    
    BUILD/SETUP.sh:
      Use -Wno-uninitialized if -DFORCE_INIT_OF_VARS is not used, to avoid warnings about not initialized variables.
    BUILD/build_mccge.sh:
      Use -Wno-uninitialized if -DFORCE_INIT_OF_VARS is not used, to avoid warnings about not initialized variables.
    client/mysqltest.cc:
      Fixed bug in remove_files_wildcards (the orignal code never removed anything)
    extra/libevent/devpoll.c:
      Fixed compiler warning
    include/thr_lock.h:
      Added a name for each thr_lock to get better error messages.
    mysql-test/suite/maria/t/maria3.test:
      Speed up test.
    mysys/thr_lock.c:
      Added a name for each thr_lock to get better error messages.
      Added a second 'check_locks' to find if something goes wrong in 'wake_up_waiters'.
    sql/lock.cc:
      Added a name for each thr_lock to get better error messages.
    storage/xtradb/fil/fil0fil.c:
      Fixed compiler warning
    69fe020f
thr_lock.h 6.33 KB