1. 02 Dec, 2005 10 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 176f36fa
      unknown authored
      into  mysql.com:/usr/home/pem/mysql-5.1-new
      
      
      mysql-test/r/sp.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      176f36fa
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 110b887c
      unknown authored
      into  mysql.com:/usr/home/pem/bug14376/mysql-5.0
      
      
      sql/sp_pcontext.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/sp.result:
        SCCS merged
      mysql-test/t/sp.test:
        SCCS merged
      sql/sp_pcontext.h:
        SCCS merged
      110b887c
    • unknown's avatar
      Post-review fixes for BUG#14376: MySQL crash on scoped variable (re)initialization · a9086bc7
      unknown authored
      
      sql/sp_pcontext.cc:
        Count boundary for variable visibility from the frame end instead.
      sql/sp_pcontext.h:
        Count boundary for variable visibility from the frame end instead.
        Updated comments.
      sql/sql_yacc.yy:
        Changed tabs to spaces.
      a9086bc7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 5c025e3f
      unknown authored
      into quadxeon.mysql.com:/benchmarks/ext3/BUILDS/mysql-5.1-new
      
      
      5c025e3f
    • unknown's avatar
      Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE · ca34f415
      unknown authored
        -issue more correct message for incorrect date|datetime|time values
        -ER_WARN_DATA_OUT_OF_RANGE message is changed
        -added new error message
      
      
      mysql-test/r/auto_increment.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/bigint.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ctype_ucs.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/date_formats.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/func_sapdb.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/func_str.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/func_time.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/insert.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/loaddata.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/mysqldump.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_2myisam.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_3innodb.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_4heap.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_5merge.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_6bdb.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/ps_7ndb.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/rpl_rewrite_db.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/sp.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/strict.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/timezone2.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/timezone_grant.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_bit.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_bit_innodb.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_date.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_datetime.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_decimal.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_float.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_newdecimal.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_ranges.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_time.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/type_uint.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/view.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      mysql-test/r/warnings.result:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          result change
      sql/share/errmsg.txt:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          -ER_WARN_DATA_OUT_OF_RANGE message is changed
          -added new error message
      sql/time.cc:
        Fix for bug#8294 Traditional: Misleading error message for invalid CAST to DATE
          issue more correct message for incorrect date|datetime|time values
      ca34f415
    • unknown's avatar
      Merge · 1ad9ba57
      unknown authored
      1ad9ba57
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 858eef45
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b12956
      
      
      mysql-test/r/ps.result:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      858eef45
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 44523ebc
      unknown authored
      into  mysql.com:/users/emurphy/src/mysql-5.1-new
      
      
      44523ebc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 99144d4a
      unknown authored
      into  mysql.com:/users/emurphy/src/mysql-5.1-new
      
      
      99144d4a
    • unknown's avatar
      BUG#15406: Adding support for transactions to blackhole. · e03a8358
      unknown authored
      Now when rolling back a transaction on a blackhole table,
      the transaction will not be written to the binlog.
      
      
      sql/ha_blackhole.h:
        Added support for transactions
      mysql-test/t/blackhole.test:
        Added a test for transaction support
      mysql-test/r/blackhole.result:
        updated test results for transaction support
      e03a8358
  2. 01 Dec, 2005 18 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · 15a1774e
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/unireg.h:
        Auto merged
      mysql-test/r/mysqldump.result:
        Fix conflict
      mysql-test/t/mysqldump.test:
        Fix conflict
      15a1774e
    • unknown's avatar
      Post-merge result file cleanup · 025d8c14
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Fix results
      025d8c14
    • unknown's avatar
      Merge selena.:H:/MYSQL/bkt/mysql-5.0 · 8705383a
      unknown authored
      into  selena.:H:/MYSQL/bkt/mysql-5.1
      
      
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      8705383a
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13318 · 3016ec15
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/mysqldump.result:
        Resolve conflicts
      mysql-test/t/mysqldump.test:
        Resolve conflicts
      3016ec15
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12612 · f604204f
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/r/func_equal.result:
        Auto merged
      mysql-test/t/func_equal.test:
        Auto merged
      sql/item_cmpfunc.cc:
        SCCS merged
      f604204f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-keysize · 5df3be70
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      5df3be70
    • unknown's avatar
      Enable key lengths of up to 3K on 32-bit platforms. · 4b4f7f76
      unknown authored
      
      mysql-test/r/bdb.result:
        Add new results
      mysql-test/r/innodb.result:
        Add new results
      mysql-test/t/bdb.test:
        Add simple test that large keys are allowed
      mysql-test/t/innodb.test:
        Add simple test that large keys are allowed
      sql/unireg.h:
        Allow key length of 3K even on 32-bit platforms
      4b4f7f76
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9dcae047
      unknown authored
      into  selena.:H:/MYSQL/src/#14902-mysql-5.0
      
      
      mysql-test/r/analyze.result:
        SCCS merged
      mysql-test/t/analyze.test:
        SCCS merged
      9dcae047
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.1-virgin · 90b240e7
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.1-dbg
      
      
      90b240e7
    • unknown's avatar
      Many files: · 4a115d65
      unknown authored
        Added mmap support for MyISAM engine
      
      
      configure.in:
        Added mmap support for MyISAM engine
      include/my_base.h:
        Added mmap support for MyISAM engine
      include/my_sys.h:
        Added mmap support for MyISAM engine
      sql/ha_myisam.cc:
        Added mmap support for MyISAM engine
      sql/mysql_priv.h:
        Added mmap support for MyISAM engine
      sql/mysqld.cc:
        Added mmap support for MyISAM engine
      sql/records.cc:
        Added mmap support for MyISAM engine
      sql/set_var.cc:
        Added mmap support for MyISAM engine
      storage/myisam/mi_close.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_delete_all.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_dynrec.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_extra.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_locking.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_open.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_packrec.c:
        Added mmap support for MyISAM engine
      storage/myisam/mi_statrec.c:
        Added mmap support for MyISAM engine
      storage/myisam/myisamdef.h:
        Added mmap support for MyISAM engine
      4a115d65
    • unknown's avatar
      Fix for bug#11491 Misleading error message if not NULL column set to NULL, · c86ba5f5
      unknown authored
                        SQL mode TRADITIONAL
        Message is chenged from 'ER_WARN_NULL_TO_NOTNULL' to 'ER_BAD_NULL_ERROR'
      
      
      mysql-test/r/auto_increment.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/create.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/insert.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/insert_select.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/key.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/null.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/null_key.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_2myisam.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_3innodb.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_4heap.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_5merge.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_6bdb.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/ps_7ndb.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/strict.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/view.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/r/warnings.result:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          result change
      mysql-test/t/strict.test:
        Fix for bug#11491 Misleading error message if not NULL column set to NULL,
                          SQL mode TRADITIONAL
          test change
      c86ba5f5
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · babaa74e
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      babaa74e
    • unknown's avatar
      Fix for bug #14304: auto_increment field incorrect set from within stored... · f853fbc9
      unknown authored
      Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select).
      
      
      sql/sp_head.cc:
        Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select).
        - call thd->cleanup_after_query() to clean next_insert_id.
      sql/sql_class.cc:
        Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select).
        - save/restore clear_next_insert_id
      sql/sql_class.h:
        Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select).
        - clear_next_insert_id added
      f853fbc9
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · f784ffb2
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.1-dbg
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      f784ffb2
    • unknown's avatar
      Fix for bug#9785 SELECT privilege for the whole database · 952c56ce
      unknown authored
                       is needed to do SHOW CREATE DATABASE
        To allow SHOW CREATE DATABASE when the user can use the database
      
      
      mysql-test/r/show_check.result:
        Fix for bug#9785 SELECT privilege for the whole database 
                         is needed to do SHOW CREATE DATABASE
          test result
      mysql-test/t/show_check.test:
        Fix for bug#9785 SELECT privilege for the whole database 
                         is needed to do SHOW CREATE DATABASE
          test case
      sql/sql_show.cc:
        Fix for bug#9785 SELECT privilege for the whole database 
                         is needed to do SHOW CREATE DATABASE
          removed unnecessary code
      952c56ce
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · c9ef4091
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-bug-14920
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/group_min_max.result:
        Manually merged test cases.
      mysql-test/t/group_min_max.test:
        Manually merged test cases.
      c9ef4091
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · 58007d82
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.1-new
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      58007d82
    • unknown's avatar
      Fix for bug#14476 `information_schema`.`TABLES`.`TABLE_TYPE` with empty value · ba079bad
      unknown authored
        store TABLES.TABLE_TYPE in case of error during table opening
      
      
      mysql-test/r/information_schema.result:
        Fix for bug#14476 `information_schema`.`TABLES`.`TABLE_TYPE` with empty value
          test case
      mysql-test/t/information_schema.test:
        Fix for bug#14476 `information_schema`.`TABLES`.`TABLE_TYPE` with empty value
          test case
      ba079bad
  3. 30 Nov, 2005 12 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-release · 9c81773b
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/t/alter_table.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/show_check.result:
        Resolve conflict
      sql/authors.h:
        Resolve conflicts, update replication/backup developers
      9c81773b
    • unknown's avatar
      After-merge cleanups to alter_table test · 8486e64f
      unknown authored
      
      mysql-test/r/alter_table.result:
        Add drop table that got axed in merge
      mysql-test/t/alter_table.test:
        Fix merge
      8486e64f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · eae62b1d
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      eae62b1d
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-14610 · 3c8a8de4
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      3c8a8de4
    • unknown's avatar
      Fix union.result · b775d23f
      unknown authored
      
      mysql-test/r/union.result:
        Fix order of test results
      b775d23f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · 6653213a
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      VC++Files/sql/mysqld.dsp:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/alter_table.result:
        Resolve conflict
      mysql-test/t/alter_table.test:
        Resolve conflict
      6653213a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 03e057cd
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      vio/viosslfactories.c:
        Auto merged
      03e057cd
    • unknown's avatar
      Merge tkatchaounov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 30dfba37
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-virgin
      
      
      30dfba37
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1 · c3937487
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      vio/viosslfactories.c:
        Auto merged
      c3937487
    • unknown's avatar
      WL#2486 - natural/using join according to SQL:2003 · e26eb47b
      unknown authored
      Commented out one failing query in the regression test (reported as a bug).
      
      
      mysql-test/r/join.result:
        Commented out failing query.
      mysql-test/t/join.test:
        Commented out failing query.
      e26eb47b
    • unknown's avatar
      WL#2486 - natural/using join according to SQL:2003. · 7c38fc51
      unknown authored
      Implemented specialized regression test for the WL.
      
      
      mysql-test/r/join.result:
        Test results for natural join tests.
      mysql-test/t/join.test:
        Specialized test for natural join, and join ... on.
      7c38fc51
    • unknown's avatar
      Fix for BUG#14920 Ordering aggregated result sets corrupts resultset. · e3f57552
      unknown authored
      The cause of the bug was the use of end_write_group instead of end_write
      in the case when ORDER BY required a temporary table, which didn't take
      into account the fact that loose index scan already computes the result
      of MIN/MAX aggregate functions (and performs grouping).
      
      The solution is to call end_write instead of end_write_group and to add
      the MIN/MAX functions to the list of regular functions so that their
      values are inserted into the temporary table.
      
      
      mysql-test/r/group_min_max.result:
        Test for BUG#14920
      mysql-test/t/group_min_max.test:
        Test for BUG#14920
      sql/sql_class.cc:
        Added new member to TMP_TABLE_PARAM.
      sql/sql_class.h:
        Added new member to TMP_TABLE_PARAM.
      sql/sql_select.cc:
        Enable result rows generated by loose index scan being written into
        a temporary table. The change is necessary because loose index
        scan already computes the result of GROUP BY and the MIN/MAX aggregate
        functions. This is realized by three changes:
        - create_tmp_table allocates space for aggregate functions in the
          list of regular functions,
        - use end_write instead of end_write group,
        - copy the pointers to the MIN/MAX aggregate functions to the list
          of regular functions TMP_TABLE_PARAM::items_to_copy.
      sql/sql_select.h:
        New parameter to create_tmp_table.
      e3f57552