1. 29 Aug, 2006 3 commits
    • unknown's avatar
      Fix for BUG#20866 "show table status on innodb raises assertion" · 4eb10f0b
      unknown authored
      and its duplicate BUG#19057 "Test 'rpl_row_func003' fails on SuSE SLES9 x86".
      It was an assertion failure, only in debug builds, not present
      in released versions (nothing to document).
      It happened when doing SHOW TABLE STATUS on an InnoDB table
      having an auto_increment column, right after creating the table.
      The test which would have caught this problem was disabled in 
      mid-April for another reason (how much I like tests disabled for
      months...).
      
      
      mysql-test/t/disabled.def:
        test now passes (and serves as the test for this bugfix)
      sql/ha_innodb.cc:
        Before a val_() calls on a Field object, if that field was not marked
        for read, we need to mark it. This is explained here:
        ChangeSet 1.2119.601.1 2006/06/04 18:52:22 monty@mysql.com
        quoting the changeset's comment:
        
          - If a handler needs to call Field->val() or Field->store() on columns
            that are not used in the query, one should install a temporary
            all-columns-used map while doing so. For this, we provide the following
            functions:
          
            my_bitmap_map *old_map= dbug_tmp_use_all_columns(table, table->read_set);
            field->val();
            dbug_tmp_restore_column_map(table->read_set, old_map);
          
            and similar for the write map:
          
            my_bitmap_map *old_map= dbug_tmp_use_all_columns(table, table->write_set);
            field->val();
            dbug_tmp_restore_column_map(table->write_set, old_map);
          
            If this is not done, you will sooner or later hit a DBUG_ASSERT
            in the field store() / val() functions.
            (For not DBUG binaries, the dbug_tmp_restore_column_map() and
            dbug_tmp_restore_column_map() are inline dummy functions and should
            be optimized away be the compiler).
        
        Note that I verified that the bug didn't exist in non-debug builds.
      4eb10f0b
    • unknown's avatar
      Post merge changes. · a9a675a8
      unknown authored
      
      mysql-test/r/mysqldump.result:
        post-merge fix.
      mysql-test/t/mysqldump.test:
        post-merge fix.
      a9a675a8
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint_21527 · 80bb699f
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.1-new-maint_21527
      
      
      include/mysql.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      sql-common/client.c:
        Auto merged
      client/mysqldump.c:
        manual merge
      mysql-test/r/mysqldump.result:
        manual merge
      mysql-test/t/mysqldump.test:
        manual merge
      80bb699f
  2. 28 Aug, 2006 3 commits
  3. 25 Aug, 2006 7 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1 · e454fb0c
      unknown authored
      into  zim.(none):/home/brian/mysql/arch-5.1
      
      
      BUILD/compile-alpha-cxx:
        Auto merged
      BUILD/compile-alpha-debug:
        Auto merged
      BUILD/compile-dist:
        Auto merged
      BUILD/compile-ia64-debug-max:
        Auto merged
      CMakeLists.txt:
        Auto merged
      client/mysql.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      BUILD/FINISH.sh:
        Innodbase config still needed.
      e454fb0c
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 9f9c3364
      unknown authored
      into  zim.(none):/home/brian/mysql/arch-5.1
      
      
      sql/handler.cc:
        Auto merged
      9f9c3364
    • unknown's avatar
      Cleanup of unused variables. · ac11ba6c
      unknown authored
      Fixed "discover" in the handler API.
      
      Fixed problem where handlerton was not zero'ed. I need to look around, I suspect this problem is more widespread. 
      
      
      sql/ha_innodb.h:
        Unused variable
      sql/ha_ndbcluster.cc:
        Added "discover" to handlerton.
      sql/handler.cc:
        Added plugin loop and correctly now use handler API.
      sql/handler.h:
        Removed unused variable. Added discover to handler API
      sql/mysqld.cc:
        Removed unused variables.
      sql/sql_plugin.cc:
        Fixed DBUG Enter comment (obvious cut paste mistake)
      storage/csv/ha_tina.cc:
        Found that if we don't bzero handlerton, that things can go boom!
        
        This probably needs to be fixed for all handlers
      ac11ba6c
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/release/mysql-5.0-release_mergable · 3f53d3d5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/release/mysql-5.0-maint
      
      
      include/mysql.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      sql-common/client.c:
        Auto merged
      3f53d3d5
    • unknown's avatar
      Bug#21543: 5.0.24 breaks ABI compatibility for python bindings: \ · 0c1ccbf0
      unknown authored
      	InterfaceError on connect
      
      Removed the bool flag from the st_mysql_options struct, since it adds 
      another word in size to the memory size and shifts member memory locations
      down, both of which break binary-interface compatibility.
      
      Instead, use a flag, 2**30, in the client_options bit-field to represent
      that the client should check the SSL certificate of the server.
      
      
      include/mysql.h:
        Do not change the struct size.
      include/mysql_com.h:
        Add a new bit-flag for client verifying server SSL certificate.
        
        Emphasize that we're not stepping on anyone else's bit/toes.
      sql-common/client.c:
        Set and read the bit-field for client-side SSL-cert checking of the server.
      0c1ccbf0
    • unknown's avatar
      6df61606
    • unknown's avatar
      fix for windows build · cf9d738b
      unknown authored
      
      CMakeLists.txt:
        add for federated
      libmysqld/CMakeLists.txt:
        ha_heap.cc and ha_myisam.cc are removed
        add for federated
      sql/CMakeLists.txt:
        add for federated
      sql/handler.cc:
        fix for fussy compilers
      storage/heap/CMakeLists.txt:
        add ha_heap.cc
      storage/myisammrg/CMakeLists.txt:
        add ha_myisammrg.cc
      cf9d738b
  4. 24 Aug, 2006 25 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · bf5802c3
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.1-new-maint
      
      
      mysql-test/r/csv.result:
        SCCS merged
      mysql-test/t/csv.test:
        SCCS merged
      storage/csv/ha_tina.cc:
        Using petr's merge.
      sql/sql_acl.cc:
        SCCS merged
      sql/sql_show.cc:
        SCCS merged
      bf5802c3
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 19d3b53a
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/mysql-5.1-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      19d3b53a
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint_11972 · 749242b6
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.1-new-maint_11972
      
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/gen_lex_hash.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      mysql-test/r/csv.result:
        manual merge
      mysql-test/t/csv.test:
        manual merge
      storage/csv/ha_tina.cc:
        manual merge
      749242b6
    • unknown's avatar
      Merge salvation.intern.azundris.com:/home/tnurnberg/mysql-5.1 · 7547a3f1
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/mysql-5.1-maint
      
      
      BitKeeper/deleted/.del-openssl.m4~41cebd0ba8281769:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysql_client_test.test:
        Auto merged
      server-tools/instance-manager/listener.cc:
        Auto merged
      server-tools/instance-manager/portability.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      client/mysql.cc:
        manual merge
      mysql-test/r/grant.result:
        manual merge
      7547a3f1
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint · 37c33a0f
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint_11972
      
      
      37c33a0f
    • unknown's avatar
      Bug #11972: client uses wrong character set after reconnect. · 689fae64
      unknown authored
      The mysql client uses the default character set on reconnect.  The default character set is now controled by the client charset command while the client is running.  The charset command now also issues a SET NAMES command to the server to make sure that the client's charset settings are in sync with the server's.
      
      
      client/mysql.cc:
        Client charset command now changes the default character set and issues a SET NAMES command to the server.
      mysql-test/r/mysql.result:
        Corrected results for new behaviour.
      mysql-test/t/mysql.test:
        Removed redundant commands from test.
      689fae64
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug21749/my50-bug21749 · 2ff9460e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      2ff9460e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 04011331
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      04011331
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · fd989054
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.1-maint
      
      
      fd989054
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/bug17194/my51-bug17194 · 908a88f2
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.1-maint
      
      
      support-files/mysql.spec.sh:
        Auto merged
      908a88f2
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my51-m-bug20841 · 2ebea0ab
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/r/ndb_dd_backuprestore.result:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      2ebea0ab
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/bug17194/my50-bug17194 · 734a4c55
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.0-maint
      
      
      support-files/mysql.spec.sh:
        Auto merged
      734a4c55
    • unknown's avatar
      Bug#20841 mysqldump fails to store right info with --compatible=mysql40 option · 78eb30e8
      unknown authored
       - Add "not in version before" commensta around new syntax "WITH PARSER" and "TABLESPACE xxx STORAGE DISK"
       
      
      
      mysql-test/r/ndb_dd_advance.result:
        Update result file
      mysql-test/r/ndb_dd_advance2.result:
        Update result file
      mysql-test/r/ndb_dd_backuprestore.result:
        Update result file
      mysql-test/r/ndb_dd_basic.result:
        Update result file
      mysql-test/r/ndb_dd_disk2memory.result:
        Update result file
      sql/sql_show.cc:
        Add "not in version before"  comments around "WITH PARSER xxx" and "TABLESPACE xxx STORAGE DISK"
        Use STRING_WITH_LEN when adding fixed string AUTO_INCREMENT= to output from SHOW TABLE
      78eb30e8
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 43dbfa66
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.1-virgin
      
      
      43dbfa66
    • unknown's avatar
      after merge fix · 8eeac5a7
      unknown authored
      8eeac5a7
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug21749/my51-bug21749 · ffd72c7b
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      ffd72c7b
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug21749/my50-bug21749 · 123619fa
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug21749/my51-bug21749
      
      
      dbug/dbug.c:
        Auto merged
      configure.in:
        SCCS merged
      123619fa
    • unknown's avatar
      Cset exclude: msvensson@neptunus.(none)|ChangeSet|20060612110740|13873 · 91bdf295
      unknown authored
      
      configure.in:
        Exclude
      dbug/dbug.c:
        Exclude
      91bdf295
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 1ceea702
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/51
      
      
      1ceea702
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 78c7e35e
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/50
      
      
      78c7e35e
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/beef-51 · 8bf960ef
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/51
      
      
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      8bf960ef
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/beef-50 · 43176fa7
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/50
      
      
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      43176fa7
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/beef-50 · 05a42ef6
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/beef-51
      
      
      mysql-test/r/func_misc.result:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      05a42ef6
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/b21531-41 · f23adec9
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/beef-50
      
      
      mysql-test/r/func_misc.result:
        Manual merge
      mysql-test/t/func_misc.test:
        Manual merge
      sql/item_func.h:
        Manual merge
      sql/item_strfunc.cc:
        Manual merge
      f23adec9
    • unknown's avatar
      Bug #21531: EXPORT_SET() doesn't accept args with coercible character sets · b2a0d025
      unknown authored
      - Fix typo in Item_func_export_set::fix_length_and_dec() which caused character set aggregation to fail
      - Remove default argument from last arg of agg_arg_charsets() function, to reduce potential errors
      
      
      mysql-test/r/func_misc.result:
        Test EXPORT_SET() with charset coersion (bug #21531)
      mysql-test/t/func_misc.test:
        Test EXPORT_SET() with charset coersion (bug #21531)
      sql/item_func.h:
        Remove default argument from last arg of agg_arg_charsets() function, to reduce potential errors.
      sql/item_strfunc.cc:
        Fix typo in Item_func_export_set::fix_length_and_dec() which caused character set aggregation to fail.
      b2a0d025
  5. 23 Aug, 2006 2 commits