• unknown's avatar
    Code cleanups (done during review of new code) · 0d873f90
    unknown authored
    Rename innodb_table_locks_old_behavior -> innodb_table_locks
    Set innodb_table_locks to off by default to get same behaviour as in MySQL 4.0.20
    (This means that Innodb ignore table locks by default, which makes it easier to combine MyISAM and InnoDB to simulate a transaction)
    
    
    libmysql/libmysql.c:
      Use ulong instead of unsigned long
      Reuse _dig_vec()
    myisam/myisampack.c:
      Simplify code
    mysql-test/r/innodb-lock.result:
      new test case
    mysql-test/t/innodb-lock.test:
      new test case
    sql/ha_innodb.cc:
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
    sql/mysqld.cc:
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
      Set this off by default to get same behaviour as in MySQL 4.0.20
    sql/set_var.cc:
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
    sql/sql_class.h:
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
    0d873f90
libmysql.c 89.5 KB