1. 23 Nov, 2007 12 commits
  2. 22 Nov, 2007 1 commit
  3. 21 Nov, 2007 19 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-axmrg · 46b060d6
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      46b060d6
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.1-amain · a1f90b62
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      configure.in:
        Auto merged
      a1f90b62
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-4.1-axmrg · 3d58c0cd
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      3d58c0cd
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · dc06b5be
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      dc06b5be
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-4.1-amain · 4b34622b
      unknown authored
      into  stella.local:/home2/mydev/mysql-4.1-axmrg
      
      4b34622b
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 0bdc06e8
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
      
      0bdc06e8
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1-build · e36e11b2
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
      
      e36e11b2
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build · 30ef8673
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
      
      
      support-files/compiler_warnings.supp:
        merge fix
      30ef8673
    • unknown's avatar
      add wrong warning to suppression file · eeae7489
      unknown authored
      
      support-files/compiler_warnings.supp:
        we want that.
      eeae7489
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build · 009f611c
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
      
      
      support-files/compiler_warnings.supp:
        merge fix
      009f611c
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0-build · e86dfae3
      unknown authored
      into  five.local.lan:/work/trees/mysql-5.0-build-src-clean
      
      e86dfae3
    • unknown's avatar
      ignore readline warnings · 1b5c57d4
      unknown authored
      
      support-files/compiler_warnings.supp:
        readline is not maintained by us
      1b5c57d4
    • unknown's avatar
      Merge five.local.lan:/work/merge/mysql-5.0-build-30418 · cbf7008a
      unknown authored
      into  five.local.lan:/work/merge/mysql-5.1-build-31610
      
      
      mysql-test/suite/funcs_1/datadict/datadict_master.inc:
        Auto merged
      mysql-test/suite/funcs_1/datadict/datadict_show_schema.inc:
        Auto merged
      mysql-test/suite/funcs_1/datadict/datadict_tables.inc:
        Auto merged
      mysql-test/suite/funcs_1/r/innodb__datadict.result:
        Auto merged
      mysql-test/suite/funcs_1/r/memory__datadict.result:
        Auto merged
      mysql-test/suite/funcs_1/r/myisam__datadict.result:
        Auto merged
      cbf7008a
    • unknown's avatar
      This changeset fixes · c68db60f
      unknown authored
         Bug#31567 "datadict" tests (all engines) fail:
                   Reference protocol is non-standard build
         Bug#30418 "datadict" tests (all engines) fail:
                   Dependency on the host name for ordering   
      Modifications:
         1. The standard builds (build team) do not contain
            the collation 'utf8_general_cs'.
            The common developer builds (compuile-....-max)
            contain this collation.
            Solution fitting to both build variants:
               Exclude the collation 'utf8_general_cs' from
               result sets.
         2. Use mysqltest builtin sorting of result set for
            the statement where the hostname affects the
            row order.
      
      
      mysql-test/suite/funcs_1/datadict/datadict_master.inc:
        Exclude collation 'utf8_general_cs' from result set.
      mysql-test/suite/funcs_1/datadict/datadict_show_schema.inc:
        Use mysqltest builtin sorting of result set.
      mysql-test/suite/funcs_1/datadict/datadict_tables.inc:
        Exclude collation 'utf8_general_cs' from result set.
      mysql-test/suite/funcs_1/r/innodb__datadict.result:
        Updated  results
      mysql-test/suite/funcs_1/r/memory__datadict.result:
        Updated  results
      mysql-test/suite/funcs_1/r/myisam__datadict.result:
        Updated  results
      c68db60f
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-axmrg · 42568bc8
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-axmrg
      
      
      configure.in:
        Manual merge from 5.0.
      42568bc8
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · 1ac563d3
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      1ac563d3
    • unknown's avatar
      Fix for bug #32021: Using Date 000-00-01 in WHERE causes wrong result · 372b650a
      unknown authored
        
      Problem: caching 00000000-00000099 dates as integer values we're 
      improperly shifting them up twice in the get_datetime_value().
        
      Fix: don't shift cached DATETIME values up for the second time.
      
      
      mysql-test/r/type_date.result:
        Fix for bug #32021: Using Date 000-00-01 in WHERE causes wrong result
          - test result.
      mysql-test/t/type_date.test:
        Fix for bug #32021: Using Date 000-00-01 in WHERE causes wrong result
          - test case.
      sql/item.h:
        Fix for bug #32021: Using Date 000-00-01 in WHERE causes wrong result
          - Item_cache::field_type() method added.
          - new Item_cache(enum_field_types) and Item_cache_int(enum_field_types) 
            constructors added.
      sql/item_cmpfunc.cc:
        Fix for bug #32021: Using Date 000-00-01 in WHERE causes wrong result
          - don't shift cached DATETIME values for the second time in the
            get_datetime_value():
              creating new Item_cache_int set DATETIME filed type,
              check the type before shifting.
      372b650a
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/build/b25146/51 · b3d7569d
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/51
      
      
      client/mysql.cc:
        Auto merged
      b3d7569d
    • unknown's avatar
      Bug #25146: Some warnings/errors not shown when using --show-warnings · 408df4a1
      unknown authored
      In several cases, an error when processing the query would cause mysql to
      return to the top level without printing warnings.  Fix is to always
      print any available warnings before returning to the top level.
      
      
      client/mysql.cc:
        In com_go(), ensure that warnings are printed even if an error
        occurred when processing the query.  Before this patch, an error
        in several places would return to the top level without printing
        associated warnings.
        
        Attempt to avoid printing the warning, though, if it's a duplicate
        of mysql_error() for the connection handle.
      mysql-test/r/mysql.result:
        Add test for bug 25146
      mysql-test/t/mysql.test:
        Add test for bug 25146
      408df4a1
  4. 20 Nov, 2007 8 commits
    • unknown's avatar
      Minor update to allowed errors list in mysql-test's mtr_report.pl · dad7426b
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Update 'allowed errors' list to match re-formatted InnoDB error message.
      dad7426b
    • unknown's avatar
      Applied InnoDB snapshot innodb-5.1-ss2093 · 2706ec5d
      unknown authored
      Fixes the following bug:
      
      - Bug #32125: Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase
      
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
      
      
      storage/innobase/dict/dict0dict.c:
        Applied InnoDB snapshot innodb-5.1-ss2093
        
        Revision r2092:
        Remove the unused function innobase_convert_from_filename() that was
        inadvertently added in r590.
      storage/innobase/handler/ha_innodb.cc:
        Applied InnoDB snapshot innodb-5.1-ss2093
        
        Revision r2088:
        Fix Bug#32125 (http://bugs.mysql.com/32125)
        "Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase":
        
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
        
        Approved by:	Heikki (via IM)
        
        
        
        Revision r2093:
        convert_search_mode_to_innobase(): Add the missing case label
        HA_READ_MBR_EQUAL that was forgotten in r2088.
        
        
        Revision r2089:
        Non-functional change: convert the switch in convert_search_mode_to_innobase()
        to the InnoDB coding style.
        
        
        Revision r2092:
        Remove the unused function innobase_convert_from_filename() that was
        inadvertently added in r590.
      storage/innobase/include/page0cur.h:
        Applied InnoDB snapshot innodb-5.1-ss2093
        
        Revision r2088:
        Fix Bug#32125 (http://bugs.mysql.com/32125)
        "Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase":
        
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
        
        Approved by:	Heikki (via IM)
      2706ec5d
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build · be7d47d4
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/inno/nov19/51
      
      be7d47d4
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/inno/nov19/50 · fadb454f
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/inno/nov19/51
      
      
      storage/innobase/handler/ha_innodb.cc:
        Use local (null merge)
      storage/innobase/include/db0err.h:
        Use local (null merge)
      storage/innobase/include/os0sync.h:
        Use local (null merge)
      storage/innobase/include/page0cur.h:
        Use local (null merge)
      storage/innobase/include/sync0rw.h:
        Use local (null merge)
      storage/innobase/include/sync0rw.ic:
        Use local (null merge)
      storage/innobase/include/sync0sync.ic:
        Use local (null merge)
      storage/innobase/os/os0sync.c:
        Use local (null merge)
      storage/innobase/srv/srv0srv.c:
        Use local (null merge)
      storage/innobase/sync/sync0arr.c:
        Use local (null merge)
      storage/innobase/sync/sync0rw.c:
        Use local (null merge)
      storage/innobase/sync/sync0sync.c:
        Use local (null merge)
      fadb454f
    • unknown's avatar
      Applied InnoDB snapshot innodb-5.0-ss2095 · 31561cfa
      unknown authored
      Fixes the following bugs:
      
      - Bug #29560: InnoDB >= 5.0.30 hangs on adaptive hash rw-lock 'waiting for an X-lock'
      
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
      
      - Bug #32125: Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase
      
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
      
      
      innobase/include/db0err.h:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2091:
        branches/5.0:
         
        Merge r2088 from trunk:
         
        log for r2088:
        
        Fix Bug#32125 (http://bugs.mysql.com/32125)
        "Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase":
        
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
        
        Approved by:	Heikki
      innobase/include/os0sync.h:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/include/page0cur.h:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2091:
        branches/5.0:
         
        Merge r2088 from trunk:
         
        log for r2088:
        
        Fix Bug#32125 (http://bugs.mysql.com/32125)
        "Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase":
        
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
        
        Approved by:	Heikki
      innobase/include/sync0rw.h:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/include/sync0rw.ic:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/include/sync0sync.ic:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/os/os0sync.c:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/srv/srv0srv.c:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/sync/sync0arr.c:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/sync/sync0rw.c:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      innobase/sync/sync0sync.c:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2082:
        branches/5.0:  bug#29560
        
        Fixed a race condition in the rw_lock where an os_event_reset()
        can overwrite an earlier os_event_set() triggering an indefinite
        wait.
        NOTE: This fix for windows is different from that for other platforms.
        NOTE2: This bug is introduced in the scalability fix to the
        sync0arr which was applied to 5.0 only. Therefore, it need not be
        applied to the 5.1 tree. If we decide to port the scalability fix
        to 5.1 then this fix should be ported as well.
        
        Reviewed by: Heikki
      sql/ha_innodb.cc:
        Applied InnoDB snapshot innodb-5.0-ss2095
        
        Revision r2091:
        branches/5.0:
         
        Merge r2088 from trunk:
         
        log for r2088:
        
        Fix Bug#32125 (http://bugs.mysql.com/32125)
        "Database crash due to ha_innodb.cc:3896: ulint convert_search_mode_to_innobase":
        
        When unknown find_flag is encountered in convert_search_mode_to_innobase()
        do not call assert(0); instead queue a MySQL error using my_error() and
        return the error code PAGE_CUR_UNSUPP. Change the functions that call
        convert_search_mode_to_innobase() to handle that error code by "canceling"
        execution and returning appropriate error code further upstream.
        
        Approved by:	Heikki
        
        
        Revision r2095:
        branches/5.0: Merge r2093 from trunk:
        
        convert_search_mode_to_innobase(): Add the missing case label
        HA_READ_MBR_EQUAL that was forgotten in r2088.
      31561cfa
    • unknown's avatar
      Merge five.local.lan:/work/merge/mysql-5.1-build-31610 · 303443f4
      unknown authored
      into  five.local.lan:/work/trees/mysql-5.1-build-src-clean
      
      303443f4
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmpmerge/mysql-5.0-build · a6e9f792
      unknown authored
      into  mysql.com:/home/kent/bk/tmpmerge/mysql-5.1-build
      
      a6e9f792
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · b39cd4cf
      unknown authored
      into  mysql.com:/home/kent/bk/tmpmerge/mysql-5.0-build
      
      b39cd4cf