1. 18 Feb, 2006 2 commits
    • unknown's avatar
      Fix for BUG#16559 "Replication Problems with Non transactional tables inside... · cefc0b6d
      unknown authored
      Fix for BUG#16559 "Replication Problems with Non transactional tables inside an interrupted trans.":
      problem was: when a connection disconnects having an open transaction affecting MyISAM and InnoDB, the ROLLBACK event stored in the binary log
      contained a non-zero error code (1053 because of the disconnection), so when slave applied the transaction, slave complained that its ROLLBACK succeeded
      (error_code=0) while master's had 1053, so slave stopped. But internally generated binlog events such as this ROLLBACK
      should always have 0 as error code, as is true in 4.1 and was accidentally broken in 5.0,
      so that there is no false alarm.
      
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        result update
      mysql-test/t/mix_innodb_myisam_binlog.test:
        test for BUG#16559
      sql/log.cc:
        Internally generated binlog events should always have an error code of zero (like in 4.1; in 5.0 this was accidentally broken).
      cefc0b6d
    • unknown's avatar
      Add a shift in the parser. Forgotten in the previous commit. · 187aab97
      unknown authored
      
      server-tools/instance-manager/parse.cc:
        shift the second value for the log
      187aab97
  2. 17 Feb, 2006 8 commits
  3. 16 Feb, 2006 9 commits
  4. 15 Feb, 2006 11 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2974245c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      2974245c
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 5d6985c4
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      5d6985c4
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 9849b248
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      9849b248
    • unknown's avatar
      Fix bug #15706 find_field_in_tables() returns field from outer select · de0c65dd
      unknown authored
      If item->cached_table is set, find_field_in_tables() returns found field
      even if it doesn't belong to current select. Because Item_field::fix_fields
      doesn't expect such behaviour, reported bug occurs.
      
      Item_field::fix_fields() was modifed to detect when find_field_in_tables() 
      can return field from outer select and process such fields accordingly.
      In order to ease this code which was searching and processing outed fields was
      moved into separate function called Item_field::fix_outer_field().
      
      
      sql/item_subselect.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Item_field::fix_outer_field() was marked as friend to Item_subselect class.
      sql/item.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        fix_outer_field() function is added to the Item_field class.
      sql/item.cc:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        
        Item_ref::fix_fields() and Item_field::fix_fields() were modifed to detect when
        find_field_in_tables() can return field from outer select and process such
        fields accordingly.
        In order to ease this, code Item_field::fix_fields() which was searching and
        processing outer fields was moved into separate function called
        Item_field::fix_outer_field().
        To the Item_field::fix_field() added a loop for finding context for found field.
      mysql-test/t/disabled.def:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Enable subselect test
      de0c65dd
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · a7abbd91
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      a7abbd91
    • unknown's avatar
      Bug#16143 mysql_stmt_sqlstate returns an empty string instead of '00000' · 69ede4d9
      unknown authored
       - Init sql_state in mysql_stmt_init
      
      
      libmysql/libmysql.c:
        Init sql_state to not_error_sql_state in mysql_init
      tests/mysql_client_test.c:
        Add test for mysql_stmt_sqlstate after mysql_stmt_init
      69ede4d9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 02091fd5
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      02091fd5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c49c9645
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      c49c9645
    • unknown's avatar
      BUG#17411 cannot have path longer than 128 characters · 56c99820
      unknown authored
      Use the POSIX limits.h define of PATH_MAX for maximum path length.
      
      This has been being hit in pushbuild
      
      
      ndb/include/util/File.hpp:
        use PATH_MAX for maximum filename length
      ndb/src/common/portlib/NdbConfig.c:
        use PATH_MAX for max path name length instead of hardcoding 128
      ndb/src/common/util/File.cpp:
        use PATH_MAX for maximum filename length
      56c99820
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 94e5b710
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      client/mysqldump.c:
        Resolve conflict by using local version
      94e5b710
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-16389 · 4f9faf5e
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      4f9faf5e
  5. 14 Feb, 2006 10 commits