1. 18 May, 2006 2 commits
    • unknown's avatar
      6b4c7bda
    • unknown's avatar
      Start servers in parallel · 8457ef0f
      unknown authored
      Add list of clusters and nodes
      
      
      mysql-test/lib/mtr_process.pl:
        Start servers in parallell
      mysql-test/lib/mtr_report.pl:
        Report about number of restarts
      mysql-test/lib/mtr_stress.pl:
        Update args to pass to mysqld_start
      mysql-test/mysql-test-run.pl:
        Start servers in  parallell
        Add lists for clusters and it's nodes to keep track of things
      8457ef0f
  2. 16 May, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/home/tmp_merge · 79b1dd35
      unknown authored
      into  mysql.com:/home/mysql-5.1-18997e
      
      
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      79b1dd35
    • unknown's avatar
      Bug#18997: DATE_ADD and DATE_SUB perform year2K autoconversion magic on 4-digit year value · 6792c154
      unknown authored
      if input year for date_add() / date_sub() with INTERVAL is low enough for
      calc_daynr() to possibly return incorrect results (calc_daynr() has no information
      on whether the year is low because it was a two-digit year ('77) or because it
      was a really low four-digit year (0077) and will indiscriminately try to turn the
      value into a four-digit year by adding 1900 or 2000 respectively), the functions
      will now throw NULL.
      
      
      include/my_time.h:
        new define YY_MAGIC_BELOW: if year is below this threshold, magic kicks in in
        calc_daynr(). the idea is to convert two-digit years to four-digit ones, adding
        1900 to values >= YY_PART_YEAR or adding 2000 otherwise.
        current value of YY_MAGIC_BELOW derived from original code in calc_daynr()
      mysql-test/r/func_time.result:
        test where 2 digit -> 4 digit year magic kicks in, and whether we throw NULL when
        it happens
      mysql-test/t/func_time.test:
        test where 2 digit -> 4 digit year magic kicks in, and whether we throw NULL when
        it happens
      sql-common/my_time.c:
        use new const YY_MAGIC_BELOW, apply 2-digit -> 4-digit magic only to years
        below this threshold.
      sql/item_timefunc.cc:
        throw NULL when year in date_add() / date_sub() would be affected by
        2 digit -> 4 digit magic.
      6792c154
  3. 15 May, 2006 13 commits
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/tmp_merge · c720b28c
      unknown authored
      into  mysql.com:/data0/mysqldev/my/mysql-5.1-new
      
      c720b28c
    • unknown's avatar
      Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge · 434c44c5
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.1-new
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      434c44c5
    • unknown's avatar
      Removed double enum value. · 55217d9c
      unknown authored
      55217d9c
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1baf03bb
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
      
      1baf03bb
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e9ef6a71
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      
      sql/sql_select.cc:
        Auto merged
      e9ef6a71
    • unknown's avatar
      After-merge fixes. · 4e97de5c
      unknown authored
      4e97de5c
    • unknown's avatar
      Fix, or a workaround for Bug#19386 "Multiple alter causes crashed table" · c9975e8f
      unknown authored
      The problem is that in a MyISAM table the following column
      after a varchar field gets corrupted, if varchar field is
      extended.
      
      This should be made to work without a copy in the future, but
      I'm not sure if this code is ready yet. This fix will force copy
      in this case. It will not do any harm to have it here, only makes
      alter table a bit slower in this case. If this should work for
      MyISAM, then the bug is somewhere else in that code.
      
      Until it works, I propose this as a temporary fix or a workaround.
      Test case for the bug has been added.
      
      
      mysql-test/r/alter_table.result:
        Added test case for Bug#19386: Multiple alter causes crashed table.
      mysql-test/t/alter_table.test:
        Added test case for Bug#19386: Multiple alter causes crashed table.
      sql/ha_myisam.cc:
        For MyISAM type, if varchar column is extended, it should return not
        compatible for now. In other words, it forces a copy of the table during
        alter table.
      c9975e8f
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-bug19633 · b8847e03
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.1
      
      
      sql/sp_head.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sp_head.cc:
        SCCS merged
      b8847e03
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-5.0-ss547-work · 28fcf51a
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.1-ss547
       Null merge
      
      
      sql/ha_innodb.cc:
        Null merge
      storage/innobase/os/os0file.c:
        Null merge
      28fcf51a
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-4.1-ss29-work · 8d5280cf
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss547-work
       Null merge
      
      
      innobase/os/os0file.c:
        Null merge
      sql/ha_innodb.cc:
        Null merge
      8d5280cf
    • unknown's avatar
      Applied innodb-5.0-ss547 snapshot. · ef56a512
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter".
      
      
      innobase/os/os0file.c:
        Applied innodb-5.0-ss547 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss547 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      ef56a512
    • unknown's avatar
      Applied innodb-4.1-ss29 snapshot. · ef57730f
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter.
       
      
      
      innobase/os/os0file.c:
        Applied innodb-4.1-ss29 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-4.1-ss29 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      ef57730f
    • unknown's avatar
      BUG#18037: Fix stack corruption in THD::rollback_item_tree_changes(). · da13cbef
      unknown authored
        
      Stored procedure execution sometimes placed the address of auto variables
      in the list of Item changes to undo in THD::rollback_item_tree_changes().
      This could cause stack corruption.
      
      
      sql/sp_head.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_head.h:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_rcontext.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_rcontext.h:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sql_class.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      da13cbef
  4. 13 May, 2006 4 commits
  5. 12 May, 2006 19 commits
    • unknown's avatar
      Merge ngrishakin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · d9557115
      unknown authored
      into  mysql.com:/home/ndbdev/ngrishakin/mysql-5.1-new
      
      
      BitKeeper/deleted/.del-ndb_partition_key.result~68b9a59cff8c9840:
        Auto merged
      BitKeeper/deleted/.del-ndb_partition_key.test~ed7b15c91f66558d:
        Auto merged
      d9557115
    • unknown's avatar
      .del-ndb_partition_range.result~17fc1db754d4153d: · d96547b0
      unknown authored
        Delete: mysql-test/r/ndb_partition_range.result
      .del-ndb_partition_list.result~7af68cd45e74abf:
        Delete: mysql-test/r/ndb_partition_list.result
      .del-ndb_partition_key.result~68b9a59cff8c9840:
        Delete: mysql-test/r/ndb_partition_key.result
      .del-ndb_partition_error.result~944f84894e323e9:
        Delete: mysql-test/r/ndb_partition_error.result
      .del-ndb_blob_partition.result~fda88ddfc5477a7e:
        Delete: mysql-test/r/ndb_blob_partition.result
      .del-ndb_partition_range.test~af8f9016b6648239:
        Delete: mysql-test/t/ndb_partition_range.test
      .del-ndb_partition_list.test~940289b3d58595ca:
        Delete: mysql-test/t/ndb_partition_list.test
      .del-ndb_partition_key.test~ed7b15c91f66558d:
        Delete: mysql-test/t/ndb_partition_key.test
      .del-ndb_partition_error.test~2da477be29be041f:
        Delete: mysql-test/t/ndb_partition_error.test
      .del-ndb_blob_partition.test~ea99ef9759705ce3:
        Delete: mysql-test/t/ndb_blob_partition.test
      
      
      BitKeeper/deleted/.del-ndb_blob_partition.test~ea99ef9759705ce3:
        Delete: mysql-test/t/ndb_blob_partition.test
      BitKeeper/deleted/.del-ndb_partition_error.test~2da477be29be041f:
        Delete: mysql-test/t/ndb_partition_error.test
      BitKeeper/deleted/.del-ndb_partition_key.test~ed7b15c91f66558d:
        Delete: mysql-test/t/ndb_partition_key.test
      BitKeeper/deleted/.del-ndb_partition_list.test~940289b3d58595ca:
        Delete: mysql-test/t/ndb_partition_list.test
      BitKeeper/deleted/.del-ndb_partition_range.test~af8f9016b6648239:
        Delete: mysql-test/t/ndb_partition_range.test
      BitKeeper/deleted/.del-ndb_blob_partition.result~fda88ddfc5477a7e:
        Delete: mysql-test/r/ndb_blob_partition.result
      BitKeeper/deleted/.del-ndb_partition_error.result~944f84894e323e9:
        Delete: mysql-test/r/ndb_partition_error.result
      BitKeeper/deleted/.del-ndb_partition_key.result~68b9a59cff8c9840:
        Delete: mysql-test/r/ndb_partition_key.result
      BitKeeper/deleted/.del-ndb_partition_list.result~7af68cd45e74abf:
        Delete: mysql-test/r/ndb_partition_list.result
      BitKeeper/deleted/.del-ndb_partition_range.result~17fc1db754d4153d:
        Delete: mysql-test/r/ndb_partition_range.result
      d96547b0
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 69297727
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      69297727
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new · 53a69176
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      53a69176
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19140 · 508336fe
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      mysql-test/t/partition.test:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/ndb_partition_key.result:
        manual merge
      mysql-test/r/partition.result:
        manual merge
      mysql-test/t/ndb_partition_key.test:
        manual merge
      508336fe
    • unknown's avatar
      merge · bff93cbe
      unknown authored
      bff93cbe
    • unknown's avatar
      fix results after merge · 7a1eba99
      unknown authored
      7a1eba99
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new · 2bbda91f
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      mysql-test/r/ndb_dd_basic.result:
        Auto merged
      mysql-test/r/ndb_partition_key.result:
        Auto merged
      mysql-test/t/ndb_partition_key.test:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/unireg.cc:
        Auto merged
      2bbda91f
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19502 · 34e8e53e
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      sql/ha_partition.cc:
        Auto merged
      mysql-test/r/partition.result:
        manual merge
      mysql-test/t/partition.test:
        manual merge
      34e8e53e
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19501 · 8e1a2d3b
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      mysql-test/r/partition.result:
        manual merge
      mysql-test/t/partition.test:
        manual merge
      8e1a2d3b
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19062 · e0132e19
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      e0132e19
    • unknown's avatar
      manual merge bug#10952 · d81a183b
      unknown authored
      
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      d81a183b
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · a6ffdda2
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      a6ffdda2
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4a831c3d
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      4a831c3d
    • unknown's avatar
      rpl_row_basic_11bugs.test, rpl_multi_engine.test, rpl_flsh_tbls.test: · 722000fc
      unknown authored
        Updated per lars
      rpl_row_flsh_tbls.test:
        updated per lars
      
      
      mysql-test/extra/rpl_tests/rpl_flsh_tbls.test:
        Updated per lars
      mysql-test/t/rpl_row_flsh_tbls.test:
        updated per lars
      mysql-test/t/rpl_multi_engine.test:
        Updated per lars
      mysql-test/t/rpl_row_basic_11bugs.test:
        Updated per lars
      722000fc
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · dfcaa4ca
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      
      BitKeeper/deleted/.del-Makefile.am~de166d6fcac3b9b6:
        Auto merged
      BitKeeper/deleted/.del-NOTES~e926d3e6929ac052:
        Auto merged
      BitKeeper/deleted/.del-client-req.pem~efd482e1d290d4d8:
        Auto merged
      BitKeeper/deleted/.del-server-req.pem~16301893cacf1be4:
        Auto merged
      client/client_priv.h:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/mysql.h:
        Auto merged
      include/violite.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/std_data/cacert.pem:
        Auto merged
      mysql-test/std_data/client-cert.pem:
        Auto merged
      mysql-test/std_data/client-key.pem:
        Auto merged
      mysql-test/std_data/server-cert.pem:
        Auto merged
      mysql-test/std_data/server-key.pem:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Auto merged
      vio/vio.c:
        Auto merged
      vio/viossl.c:
        Auto merged
      vio/viosslfactories.c:
        Auto merged
      mysql-test/Makefile.am:
        Manual merge.
      dfcaa4ca
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 22f9cee0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      sql/sql_acl.cc:
        Auto merged
      22f9cee0
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b4d6ebd2
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/5.1-bug19728_regex_win
      
      b4d6ebd2
    • unknown's avatar
      Bug#19728: Test mysqldump failure · 6f9d4d44
      unknown authored
      regex is fixed for windows.
      
      
      mysql-test/t/mysqldump.test:
        Windows' suffix is accounted.
      6f9d4d44