1. 11 Jan, 2007 1 commit
  2. 09 Jan, 2007 3 commits
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 1d9f47b6
      unknown authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443
      
      1d9f47b6
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443 · bdf4b690
      unknown authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443
      
      
      heap/hp_block.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      heap/hp_write.c:
        Manual merge.
      bdf4b690
    • unknown's avatar
      BUG#23443: user-defined variables can consume too much memory in the · 2500fac4
      unknown authored
                 server
      
      The problem was that when memory was exhausted HEAP engine could crash
      (GROUP BY uses HEAP TABLE).  Alternatively, if SET was used, it could
      report an error "You may only use constant expressions with SET" instead
      of "Out of memory (Needed NNNNNN bytes)".
      
      The solution is:
       - pass MY_WME to (some) calls to my_malloc() to get correct message.
       - fix heap_write() so that the first key is skipped during cleanup
         on ENOMEM because it wasn't inserted and doesn't have to be
         deleted.
      
      No test case is provided because we can't test out-of-memory behaviour
      in our current test framework.
      
      
      heap/hp_block.c:
        If allocation fails, write an error message.
      heap/hp_write.c:
        On ENOMEM, skip the first key in cleanup, as it wasn't inserted yet.
      sql/item_func.cc:
        Add MY_WME so that OOM error will be reported.
      2500fac4
  3. 02 Jan, 2007 4 commits
  4. 31 Dec, 2006 1 commit
  5. 20 Dec, 2006 2 commits
    • 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
  6. 19 Dec, 2006 1 commit
  7. 14 Dec, 2006 3 commits
  8. 13 Dec, 2006 1 commit
  9. 11 Dec, 2006 2 commits
  10. 08 Dec, 2006 2 commits
  11. 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
  12. 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
  13. 05 Dec, 2006 6 commits
  14. 04 Dec, 2006 5 commits
  15. 01 Dec, 2006 4 commits