• unknown's avatar
    BUG #14524 · 5409870e
    unknown authored
    Patch that fixes crashing when partition uses blackole for 
    underlying tables.
    
    
    mysql-test/r/partition.result:
      BUG #14524 New test result
    mysql-test/t/partition.test:
      BUG #14524
      
      New test
    sql/ha_partition.cc:
      BUG# 14524
      
      Added new class var m_no_locks to keep track of the absense of locks. If 
      '0', then lock_count returns 0, which keeps thr_multi_lock from crashing
      in the case of the underlying table being ha_blackhole.
    sql/ha_partition.h:
      BUG #14524
      
      Added new class var m_no_locks to keep track of lock count
    sql/lock.cc:
      BUG #14524
      
      DBUG PRINTs and ENTERs to make tracking the bug easier. I think these are 
      useful regardless of this bug.
    sql/sql_partition.cc:
      BUG #14524
      
      Changed umlaut o to allow fixing bug 14524 using DDD (file would not display
      in DDD)
    5409870e
partition.result 2.59 KB