1. 19 Feb, 2007 1 commit
    • unknown's avatar
      Bug#23240 --init-file statements with NOW() reports '1970-01-01 11:00:00'as the date time · 733ae5ef
      unknown authored
      - Starting time of a query sent by file bootstrapping wasn't initialized
        and starting time defaulted to 0. This later used value by the Now-
        item and is translated to 1970-01-01 11:00:00.
      - marking the time with thd->set_time() before the call to 
        mysql_parse resolves this issue.
      
      
      mysql-test/r/init_file.result:
        Appended test case
      mysql-test/std_data/init_file.dat:
        Appended test case
      mysql-test/t/init_file.test:
        Appended test case
      733ae5ef
  2. 24 Jan, 2007 1 commit
    • unknown's avatar
      Bug#24607 - MyISAM pointer size determined incorrectly · 2030943d
      unknown authored
      Fixed test. On 32-bit machines which compile without
      -DBIG_TABLES, MAX_ROWS is truncated to a 32-bit value.
      Using a value below 4G is portable.
      
      
      mysql-test/r/myisam.result:
        Bug#24607 - MyISAM pointer size determined incorrectly
        Fixed test results.
      2030943d
  3. 23 Jan, 2007 1 commit
  4. 17 Jan, 2007 4 commits
  5. 16 Jan, 2007 1 commit
    • unknown's avatar
      BUG#24855 - Crash mysqld 4.1.21 with corrupted tables · 282f6929
      unknown authored
      Accessing fixed record format table with crashed key definition results
      in server/myisamchk segmentation fault.
      
      This is fixed by refusing to open such tables. Affects MyISAM only.
      No test case, since it requires crashed table.
      
      
      myisam/mi_open.c:
        Refuse to open fixed record format table with key segment that includes
        BLOB part (which is true only for tables with crashed key definition).
      282f6929
  6. 05 Jan, 2007 1 commit
    • unknown's avatar
      Bug#24607 - MyISAM pointer size determined incorrectly · 0371dfc8
      unknown authored
      The function mi_get_pointer_length() computed too small
      pointer size for very large tables.
      
      Inserted missing 'else' between the branches for very
      large tables.
      
      
      myisam/mi_create.c:
        Bug#24607 - MyISAM pointer size determined incorrectly
        Inserted missing 'else' between the branches for very
        large tables.
        Harmonized literals "(longlong) 1" and "1L" to "ULL(1)"
        where they are used for "ulonglong file_length".
      mysql-test/r/myisam.result:
        Bug#24607 - MyISAM pointer size determined incorrectly
        Added the test result.
      mysql-test/t/myisam.test:
        Bug#24607 - MyISAM pointer size determined incorrectly
        Added the test.
      0371dfc8
  7. 29 Dec, 2006 2 commits
  8. 27 Dec, 2006 2 commits
  9. 20 Dec, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · 0a19529b
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21310/mysql-4.1-engines
      
      
      sql/sql_update.cc:
        Auto merged
      0a19529b
    • unknown's avatar
      BUG#21310 - Trees in SQL causing a "crashed" table with MyISAM storage engine · 70b375a6
      unknown authored
      An update that used a join of a table to itself and modified the
      table on one side of the join reported the table as crashed or
      updated wrong rows.
      
      Fixed by creating temporary table for self-joined multi update statement.
      
      
      mysql-test/r/myisam.result:
        A test case for BUG#21310.
      mysql-test/t/myisam.test:
        A test case for BUG#21310.
      sql/lock.cc:
        Exclude 'table' param from check.
      sql/sql_update.cc:
        Disabling record cache for self-joined multi update statement is wrong.
        The join must only see the table as it was at the beginning of the statement.
        safe_update_on_fly check if it is safe to update first table on the fly, that is
        not creating temporary table. It is possible in case a row from this table is
        never read more than once. safe_update_on_fly now detect self-joined table and
        refuse to update this table on the fly.
      70b375a6
    • unknown's avatar
      Bug#25213 - Compiler warnings in MyISAM code · 05f0d520
      unknown authored
      Compiler warnings due to non-matching conversion
      specifications in format strings in DBUG_PRINT calls,
      due to non-used parameters (in non-debug mode), and
      due to seemingly uninitialized variables.
      
      Initialized variables, declared parameters unused, and
      casted DBUG_PRINT arguments to get rid of warnings.
      
      
      myisam/mi_range.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized a variable to get rid of a compiler warning.
      myisam/mi_test1.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Declared an parameter unused to get rid of warnings.
      myisam/mi_write.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized a variable to get rid of a compiler warning.
        Casted arguments to DBUG_PRINT to match them with their
        format string conversion specification.
      myisam/rt_split.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized variables to get rid of compiler warnings.
      05f0d520
    • unknown's avatar
      Bug#25208 - Warnings in mi_packrec.c · 3b05bef9
      unknown authored
      Compiler warnings due to non-matching conversion
      specifications in format strings in DBUG_PRINT calls.
      
      Fixed DBUG_PRINT format specifiactions.
      
      
      myisam/mi_packrec.c:
        Bug#25208 - Warnings in mi_packrec.c
        Fixed DBUG_PRINT format specifiactions.
      3b05bef9
  10. 19 Dec, 2006 1 commit
  11. 15 Dec, 2006 1 commit
    • unknown's avatar
      BUG#24358 - Table access crashes server · 4ed86c7f
      unknown authored
      Having broken .frm, particulary number of field names does
      not match number of fields, causes server crash.
      
      Refuse to open a table if number of field names in a table
      is not equal to number of fields in a table.
      
      No test case, since it requires broken .frm file.
      
      
      sql/table.cc:
        Refuse to open a table if number of field names in a table
        is not equal to number of fields in a table.
      4ed86c7f
  12. 14 Dec, 2006 3 commits
  13. 13 Dec, 2006 1 commit
  14. 11 Dec, 2006 2 commits
  15. 08 Dec, 2006 1 commit
  16. 07 Dec, 2006 3 commits
    • unknown's avatar
      do not autorelease build ids when a child of mysql-test-run.pl dies · 7d73dccc
      unknown authored
      
      mysql-test/lib/mtr_unique.pl:
        do not autorelease build ids when a child dies
      7d73dccc
    • unknown's avatar
      BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the · 3ad3c5ee
      unknown authored
                  table
      
      ROW_FORMAT option is lost during CREATE/DROP INDEX.
      
      This fix forces CREATE/DROP INDEX to retain ROW_FORMAT by instructing
      mysql_alter_table() that ROW_FORMAT is not used during creating/dropping
      indexes.
      
      
      mysql-test/r/alter_table.result:
        A test case for bug#23404.
      mysql-test/t/alter_table.test:
        A test case for bug#23404.
      sql/sql_parse.cc:
        CREATE/DROP INDEX must not change ROW_FORMAT. Setting create_info.row_type
        to ROW_TYPE_NOT_USED informs mysql_alter_table that ROW_FORMAT was not
        used during alteration, and thus must be retained.
      3ad3c5ee
    • unknown's avatar
      BUG#24780 use --sysconfdir in scripts · 90d74761
      unknown authored
      
      scripts/Makefile.am:
        pass --sysconfdir to scripts
      scripts/mysqlaccess.sh:
        use --sysconfdir instead of hardcoded /etc
      scripts/mysqld_multi.sh:
        use --sysconfdir instead of hardcoded /etc
      90d74761
  17. 06 Dec, 2006 2 commits
    • unknown's avatar
      bug #22372 · 405f3366
      unknown authored
      datafile added to be used in gis.test
      
      
      mysql-test/std_data/bad_gis_data.dat:
        New BitKeeper file ``mysql-test/std_data/bad_gis_data.dat''
      405f3366
    • unknown's avatar
      bug #22372 (LOAD DATA crashes the table with the geometry field) · ea7d3db0
      unknown authored
      The problem is that the GEOMETRY NOT NULL can't automatically set
      any value as a default one. We always tried to complete LOAD DATA
      command even if there's not enough data in file. That doesn't work
      for GEOMETRY NOT NULL. Now Field_*::reset() returns an error sign
      and it's checked in mysql_load()
      
      
      mysql-test/r/gis.result:
        test result
      mysql-test/t/gis.test:
        testcase
      sql/field.cc:
        reset() now returns error sign
      sql/field.h:
        Field_*::reset() now returns error sign if the field can't be reset
      sql/sql_load.cc:
        check if field can't be reset and return error if it's so
      ea7d3db0
  18. 05 Dec, 2006 6 commits
  19. 04 Dec, 2006 3 commits