1. 20 Dec, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21310/mysql-4.1-engines · 2efb6576
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21310/mysql-5.0-engines
      
      
      sql/lock.cc:
        Use local.
      mysql-test/r/myisam.result:
        Manual merge.
      mysql-test/t/myisam.test:
        Manual merge.
      sql/sql_update.cc:
        Manual merge.
      2efb6576
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · 9d094c56
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21310/mysql-4.1-engines
      
      
      sql/sql_update.cc:
        Auto merged
      9d094c56
    • unknown's avatar
      BUG#21310 - Trees in SQL causing a "crashed" table with MyISAM storage engine · 9d85b0a6
      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.
      9d85b0a6
  2. 19 Dec, 2006 3 commits
  3. 15 Dec, 2006 1 commit
  4. 14 Dec, 2006 7 commits
  5. 13 Dec, 2006 2 commits
  6. 12 Dec, 2006 3 commits
  7. 11 Dec, 2006 3 commits
  8. 08 Dec, 2006 3 commits
  9. 07 Dec, 2006 7 commits
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · 1a899c05
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      
      1a899c05
    • unknown's avatar
      do not autorelease build ids when a child of mysql-test-run.pl dies · 60b3a86a
      unknown authored
      
      mysql-test/lib/mtr_unique.pl:
        do not autorelease build ids when a child dies
      60b3a86a
    • unknown's avatar
      BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the · 1cb8e4e9
      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.
      1cb8e4e9
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · 8ea92111
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      
      scripts/Makefile.am:
        Auto merged
      scripts/mysqld_multi.sh:
        Auto merged
      8ea92111
    • unknown's avatar
      BUG#24780 use --sysconfdir in scripts · c29d22c9
      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
      c29d22c9
    • unknown's avatar
      merging fix · e8be5f6d
      unknown authored
      
      mysql-test/r/gis.result:
        result fixed
      mysql-test/t/gis.test:
        path to datafile fixed
      e8be5f6d
    • unknown's avatar
      merging · 7341315d
      unknown authored
      
      mysql-test/r/gis.result:
        result fixed
      sql/field.cc:
        Field_*::reset() now returns int
      sql/sql_load.cc:
        merging fix
      7341315d
  10. 06 Dec, 2006 6 commits
    • unknown's avatar
      Only call mysql_server_end if mysql_server_init has been called. · d5e094d7
      unknown authored
      Remove DBUG_ENTER in my_end
      
      
      client/mysqltest.c:
        Call 'mysql_server_end' as last function in 'free_used_memory'
        Don't use DBUG_VOID_RETURN after mysql_server_end in free_used_memory
        Only call mysql_server_end if mysql_server_init has been called
      d5e094d7
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/hf/work/22372/my41-22372 · 8f3c395c
      unknown authored
      into  mysql.com:/home/hf/work/22372/my50-22372
      
      
      mysql-test/r/gis.result:
        merging
      mysql-test/t/gis.test:
        merging
      sql/field.cc:
        merging
      sql/field.h:
        merging
      sql/sql_load.cc:
        merging
      8f3c395c
    • unknown's avatar
      bug #22372 · 63fce3a2
      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''
      63fce3a2
    • unknown's avatar
      bug #22372 (LOAD DATA crashes the table with the geometry field) · fa115a0f
      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
      fa115a0f
    • unknown's avatar
      Adjust replace to mask win paths · c0efc717
      unknown authored
      c0efc717
  11. 05 Dec, 2006 2 commits