1. 06 Apr, 2006 20 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · c23c2089
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-aid
      
      c23c2089
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1e59d9c8
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      1e59d9c8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7e12728a
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1
      
      
      client/mysqltest.c:
        Auto merged
      include/config-win.h:
        Auto merged
      include/m_ctype.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      storage/csv/ha_tina.h:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      storage/csv/ha_tina.cc:
        SCCS merged
      7e12728a
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 0c0e403c
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      libmysql/libmysql.c:
        Auto merged
      sql-common/client.c:
        Auto merged
      0c0e403c
    • unknown's avatar
      Moving mysql_get_server_version() from libmysql.c to client.c, · ba49c29d
      unknown authored
      as it is now required by mysql_set_character_set()
      
      
      libmysql/libmysql.c:
        Removing mysql_get_server_version()
      sql-common/client.c:
        Adding mysql_get_server_version()
      ba49c29d
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · ac549c70
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      libmysql/libmysql.c:
        Auto merged
      sql-common/client.c:
        Auto merged
      ac549c70
    • unknown's avatar
      client.c: · 1a6f7c6d
      unknown authored
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      
      
      sql-common/client.c:
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      1a6f7c6d
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · efff3c00
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      libmysql/libmysql.c:
        Bug#18830 incompatibility new libraries with old server
        Mergeing from 4.1
      efff3c00
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.1/new · a0d6c7d7
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/new-bug18831
      
      a0d6c7d7
    • unknown's avatar
      BUG#18831 Valgrind: cond jmp on uninit during ndb_dd_dump test · a0a7839e
      unknown authored
      don't know why this didn't generate a warning, but let's fix it too.
      
      
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        fix reversed memset
      a0a7839e
    • unknown's avatar
      BUG#18831 Valgrind: cond jmp on uninit during ndb_dd_dump test · 5592b787
      unknown authored
      
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        fix memset call
        initialize LF_UndoFreeWords(Hi|Lo)
      5592b787
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · adfbca88
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      strings/ctype-extra.c:
        Auto merged
      adfbca88
    • unknown's avatar
      libmysql.c: · 82c1be05
      unknown authored
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      
      
      libmysql/libmysql.c:
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      82c1be05
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1-bug18477 · cd224f41
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-aid
      
      
      mysql-test/t/innodb.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      cd224f41
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1-bug5390 · 7de8a6ee
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-aid
      
      7de8a6ee
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · e6ab763c
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      e6ab763c
    • unknown's avatar
      This problem has already been fixed by one of the previous changes. · 6423230d
      unknown authored
      Adding test case to cover queries which worked incorrectly earlier:
      Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      
      
      mysql-test/r/ctype_latin1.result:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      mysql-test/t/ctype_latin1.test:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      6423230d
    • unknown's avatar
      ctype-extra.c: · 07b5476b
      unknown authored
        Using local.
      
      
      strings/ctype-extra.c:
        Using local.
      07b5476b
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 7bcff99e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/conf_to_src.c:
        Auto merged
      7bcff99e
    • unknown's avatar
      conf_to_src.c: · 56dba198
      unknown authored
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      
      
      strings/ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      strings/conf_to_src.c:
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      56dba198
  2. 05 Apr, 2006 20 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · aa482ce8
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      aa482ce8
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0 · 89d110fb
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      89d110fb
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · b840ebef
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug5390
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/share/charsets/Index.xml:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      b840ebef
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 4243ecee
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      strings/ctype-extra.c:
        Auto merged
      4243ecee
    • unknown's avatar
      Manually merged · 722092b0
      unknown authored
      722092b0
    • unknown's avatar
      ctype-extra.c: · 0d213bca
      unknown authored
        Recreating ctype-extra.c with additional 5.1
        charset, and with additional missing 5.0 charset
        due to bug with too small buffer MAX_BUF.
      
      
      strings/ctype-extra.c:
        Recreating ctype-extra.c with additional 5.1
        charset, and with additional missing 5.0 charset
        due to bug with too small buffer MAX_BUF.
      0d213bca
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · dfac2112
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      dfac2112
    • unknown's avatar
      conf_to_src.c: · 931b9694
      unknown authored
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      ctype-extra.c:
        Additional charsets were generated.
      
      
      strings/ctype-extra.c:
        Additional charsets were generated.
      strings/conf_to_src.c:
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      931b9694
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 8f77e355
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/share/charsets/Index.xml:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      8f77e355
    • unknown's avatar
      Remove dead code from BUILD/ scripts: $debug_extra_warnings is · 6a5964be
      unknown authored
      never defined.
      It was used at some point to add -Wuninitialized to debug flags, 
      but not any more. If there is still need to add -Wunitialized,
      it can be added directly to $global_warnings.
      
      
      BUILD/compile-amd64-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-amd64-debug-max:
        Remove a no-op.
      BUILD/compile-darwin-mwcc:
        Remove a no-op.
      BUILD/compile-pentium-debug-max-no-embedded:
        Remove a no-op.
      BUILD/compile-pentium-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-pentium-debug-max:
        Remove a no-op.
      BUILD/compile-pentium-debug-openssl:
        Remove a no-op.
      BUILD/compile-pentium-debug-yassl:
        Remove a no-op.
      BUILD/compile-pentium-debug:
        Remove a no-op.
      BUILD/compile-pentium-mysqlfs-debug:
        Remove a no-op.
      BUILD/compile-pentium-valgrind-max:
        Remove a no-op.
      BUILD/compile-pentium64-debug-max:
        Remove a no-op.
      BUILD/compile-pentium64-debug:
        Remove a no-op.
      BUILD/compile-pentium64-valgrind-max:
        Remove a no-op.
      BUILD/compile-ppc-debug-max-no-ndb:
        Remove a no-op.
      BUILD/compile-ppc-debug-max:
        Remove a no-op.
      BUILD/compile-ppc-debug:
        Remove a no-op.
      6a5964be
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · b2b98c44
      unknown authored
      into  mysql.com:/home/bk/b18436-mysql-5.1-new
      
      b2b98c44
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 3b0336bb
      unknown authored
      into  mysql.com:/home/bk/b18436-mysql-5.1-new
      
      3b0336bb
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0-bug5390 · eadd7a64
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-bug5390
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/share/charsets/Index.xml:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/table.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      sql/lock.cc:
        BUG#5390 - problems with merge tables
        Manual merge from 5.0.
      eadd7a64
    • unknown's avatar
      Remove dead code from BUILD/ scripts. · a5b16e49
      unknown authored
      
      BUILD/SETUP.sh:
        Remove dead options.
      BUILD/compile-amd64-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-amd64-debug-max:
        Remove dead options.
      BUILD/compile-amd64-max:
        Remove dead options.
      BUILD/compile-darwin-mwcc:
        Remove dead options.
      BUILD/compile-pentium-debug-max-no-embedded:
        Remove dead options.
      BUILD/compile-pentium-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-pentium-debug-max:
        Remove dead options.
      BUILD/compile-pentium-icc-valgrind-max:
        Remove dead options.
      BUILD/compile-pentium-max:
        Remove dead options.
      BUILD/compile-pentium-valgrind-max:
        Remove dead options. There is no ISAM any more.
      BUILD/compile-pentium64-debug-max:
        Remove dead options.
      BUILD/compile-pentium64-valgrind-max:
        Remove dead options. There is no ISAM any more.
      BUILD/compile-ppc-debug-max-no-ndb:
        Remove dead options.
      BUILD/compile-ppc-debug-max:
        Remove dead options.
      BUILD/compile-ppc-max:
        Remove dead options.
      a5b16e49
    • unknown's avatar
      BUG#5390 - problems with merge tables · d04f33a7
      unknown authored
      Additional fix for INSERT DELAYED with subselect.
      Originally detected in 5.1, but 5.0 could also be affected.
      The user thread creates a dummy table object,
      which is not included in the lock. The 'real' table is
      opened and locked by the 'delayed' system thread.
      The dummy object is now marked as not locked and this is
      tested in mysql_lock_have_duplicate().
      
      
      sql/lock.cc:
        BUG#5390 - problems with merge tables
        Additional fix for INSERT DELAYED with subselect.
        The user thread creates a dummy table object,
        which is not included in the lock.
        Changed to safer asserts.
      sql/sql_insert.cc:
        BUG#5390 - problems with merge tables
        Marked the dummy table object as not being
        included in the lock.
      d04f33a7
    • unknown's avatar
      Makefile.am: · 8c2ef07b
      unknown authored
        After merge correction
      
      
      libmysqld/Makefile.am:
        After merge correction
      8c2ef07b
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new · 087a0120
      unknown authored
      into  mysql.com:/home/bk/b18436-mysql-5.1-new
      
      087a0120
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 63ca7883
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug5390
      
      
      sql/table.h:
        Auto merged
      63ca7883
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 78e2681f
      unknown authored
      into sunlight.local:/local_work/16281-bug-5.0-mysql
      
      
      sql/field.h:
        Auto merged
      78e2681f
    • unknown's avatar
      Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1 · 6c191f7a
      unknown authored
      Mutli-table uses temporary table to store new values for fields. With the
      new values the rowid of the record to be updated is stored in a Field_string
      field. Table to be updated is set as source table of the rowid field.
      But when the temporary table creates the tmp field for the rowid field it
      converts it to a varstring field because the table to be updated was created by
      the v4.1. Due to this the stored rowids were broken and no records for 
      update were found.
      
      The flag can_alter_field_type is added to Field_string class. When it is set to
      0 the field won't be converted to varstring. The Field_string::type() function 
      now always returns MYSQL_TYPE_STRING if can_alter_field_type is set to 0.
      The multi_update::initialize_tables() function now sets can_alter_field_type
      flag to 0 for the rowid fields denying conversion of the field to a varstring
      field.
      
      
      
      sql/field.h:
        Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1
        The flag can_alter_field_type is added to Field_string class. When it is set to
        0 the field won't be converted to varstring.
        The Field_string::type() function now always returns MYSQL_TYPE_STRING if 
        can_alter_field_type is set to 0.
      sql/sql_update.cc:
        Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1
        The multi_update::initialize_tables() function now sets can_alter_field_type
        flag to 0 for the rowid fields denying conversion of the field to a varstring
        field.
      6c191f7a