1. 31 Aug, 2005 14 commits
    • unknown's avatar
      fix for bug#12913 · 11bd1f87
      unknown authored
      (Simple SQL can crash server or connection)
      (not initialized member leads to server crash)
      
      
      mysql-test/r/create.result:
        result of test for bug #12913
      mysql-test/t/create.test:
        test for bug#12913
        (Simple SQL can crash server or connection)
      sql/sql_table.cc:
        copy the interval pointer too or a bit later
        dereferencing of this pointer being 0x0 will crash the server
        (see bug #12913)
      11bd1f87
    • unknown's avatar
      92e2b9ed
    • unknown's avatar
      fcc48eb3
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1e791cc5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      1e791cc5
    • unknown's avatar
      added make of ndb sys file printer · c2005a0f
      unknown authored
      c2005a0f
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f1e34fb7
      unknown authored
      into moonbone.local:/work/12861-bug-4.1-mysql
      
      
      f1e34fb7
    • unknown's avatar
      improved the ndb redo log reader · 35c17763
      unknown authored
      35c17763
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 88dedca2
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      88dedca2
    • unknown's avatar
      Fix bug #12861 client hang with group_concat insubquery FROM DUAL. · fc45b816
      unknown authored
      Item_func_group_concat::fix_fields() set maybe_null flag to 0, and set it to
      1 only if some of it's arguments may be null. When used in subquery in tmp 
      table created field which can't be null. When no data retireved result field
      have to be set to null and error mentioned in bug report occurs. Also this 
      bug can occur if selecting from not null field in empty table.
      
      Function group_concat now marked maybe_null from the very beginning not only
      if some of it's argument may be null.
      
      
      sql/item_sum.cc:
        Fix bug #12861 client hang with group_concat insubquery FROM DUAL.
      mysql-test/r/func_gconcat.result:
        Test case for bug #12861 client hang with group_concat insubquery FROM DUAL.
      mysql-test/t/func_gconcat.test:
        Test case for bug #12861 client hang with group_concat insubquery FROM DUAL.
      fc45b816
    • unknown's avatar
      c2252e45
    • unknown's avatar
      ha_innodb.cc: · 8510e747
      unknown authored
        Fix bug #12410 : InnoDB was too permissive with LOCK TABLE ... READ LOCAL, and alowed new inserts to the table; we now make READ LOCAL equivalent to READ for InnoDB; note that this will cause slightly more locking in mysqldump, but makes the InnoDB table dumps consistent with MyISAM table dumps; note that the real code change patch was accidentally pushed with my another patch 5 minutes ago
      
      
      sql/ha_innodb.cc:
        Fix bug #12410 : InnoDB was too permissive with LOCK TABLE ... READ LOCAL, and alowed new inserts to the table; we now make READ LOCAL equivalent to READ for InnoDB; note that this will cause slightly more locking in mysqldump, but makes the InnoDB table dumps consistent with MyISAM table dumps; note that the real code change patch was accidentally pushed with my another patch 5 minutes ago
      8510e747
    • unknown's avatar
      ha_innodb.cc: · 138e44b8
      unknown authored
        Fix bug #12852 : do not increment the open handle count to a table if the table does not have an .ibd file and InnoDB decides to return an error from the ::open() function; then the table can be dropped even if the user has tried to open it
      
      
      sql/ha_innodb.cc:
        Fix bug #12852 : do not increment the open handle count to a table if the table does not have an .ibd file and InnoDB decides to return an error from the ::open() function; then the table can be dropped even if the user has tried to open it
      138e44b8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d0c2e46f
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      d0c2e46f
    • unknown's avatar
      corrected some erroneous ndb error messages · 46e57973
      unknown authored
      46e57973
  2. 30 Aug, 2005 17 commits
  3. 29 Aug, 2005 9 commits
    • unknown's avatar
      Added support for delete_all_rows() for archive. This fixes bug #12836. · 341a08ed
      unknown authored
      
      mysql-test/r/archive.result:
        Update for test case to make sure that TRUNCATE and DELETE function(hah!) as designed.
      mysql-test/t/archive.test:
        Add TRUNCATE and DELETE support.
      sql/examples/ha_archive.cc:
        Added delete_all_rows() support.
      sql/examples/ha_archive.h:
        Added delete_all_rows() support.
      sql/handler.h:
        Added flags for fast delete support for archive and federated.
      341a08ed
    • unknown's avatar
      ha_blackhole.cc: · 358c7f33
      unknown authored
        Added missing DBUG enter, compiled and tested on production with debug-max
        build (my regular build missed the previous errors friday)
      
      Changeset:
       Added missing DBUG_ENTER, compiled and tested on production with debug-max
       build!
      
      
      
      sql/ha_blackhole.cc:
        Added missing DBUG enter, compiled and tested on production with debug-max build (my regular build missed the previous errors friday)
        C
      358c7f33
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · e49ff5ca
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      e49ff5ca
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 36fcc9c6
      unknown authored
      into  frost.snake.net:/Volumes/frost2/MySQL/bk/mysql-4.1
      
      
      36fcc9c6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8d0275b3
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      8d0275b3
    • unknown's avatar
    • unknown's avatar
      Bug#12296 - CHECKSUM TABLE reports 0 for the table · ea363750
      unknown authored
      Skipping deleted records instead of breaking the loop
      during checksum calculation.
      
      
      mysql-test/r/myisam.result:
        Bug#12296 - CHECKSUM TABLE reports 0 for the table
        The test result.
      mysql-test/t/myisam.test:
        Bug#12296 - CHECKSUM TABLE reports 0 for the table
        The test case.
      ea363750
    • unknown's avatar
      Bug#11816 - Truncate table doesn't work with temporary innodb tables · 6318e449
      unknown authored
      Handle temporary tables like permanent tables: If the storage engine
      cannot truncate, delete instead.
      
      
      mysql-test/r/innodb.result:
        Bug#11816 - Truncate table doesn't work with temporary innodb tables
        The test result.
      mysql-test/t/innodb.test:
        Bug#11816 - Truncate table doesn't work with temporary innodb tables
        The test case.
      sql/sql_delete.cc:
        Bug#11816 - Truncate table doesn't work with temporary innodb tables
        Handle temporary tables like permanent tables: If the storage engine
        cannot truncate, delete instead.
        Replaced a numeric literal by its symbolic name.
      6318e449
    • unknown's avatar
      Bug#11493 - Alter table rename to default database does not work without db name qualifying · 0f7161b0
      unknown authored
      Supplied the default database name for ALTER TABLE ... RENAME 
      for the new table instead of the old tables db like we do for 
      other ALTERs.
      
      
      mysql-test/r/alter_table.result:
        Bug#11493 - Alter table rename to default database does not work without db name qualifying
        The test result.
      mysql-test/t/alter_table.test:
        Bug#11493 - Alter table rename to default database does not work without db name qualifying
        The test case.
      0f7161b0