1. 02 Dec, 2005 9 commits
    • unknown's avatar
      compatibility fix for yassl · 00c7ac6c
      unknown authored
      00c7ac6c
    • unknown's avatar
      Add a test case for Bug#5967 "Stored procedure declared variable · 84616357
      unknown authored
       used instead of column", the bug is to be fixed later.
      
      
      mysql-test/r/sp.result:
        Test results were fixed (Bug#5967)
      84616357
    • unknown's avatar
      query_cache.result: · 8e06e969
      unknown authored
        After merge fix
      
      
      mysql-test/r/query_cache.result:
        After merge fix
      8e06e969
    • unknown's avatar
      Manually merged · 2a5e527e
      unknown authored
      
      mysql-test/r/update.result:
        Auto merged
      mysql-test/t/update.test:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      2a5e527e
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7368605c
      unknown authored
      into moonbone.local:/work/15028-bug-4.1-mysql
      
      7368605c
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 3b94510a
      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
      3b94510a
    • unknown's avatar
      Post-review fixes for BUG#14376: MySQL crash on scoped variable (re)initialization · 4cf50da6
      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.
      4cf50da6
    • unknown's avatar
      BUG#15425 Small window for NF during backup failing without error · 109b0665
      unknown authored
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        If crash 10018 is inserted on a 2 node cluster with fast CPU and slower disk,
        all nodes can respond with BACKUP_FRAGMENT_CONF for all fragments before the
        error in FSAPPENDCONF is hit.
        
        This would mean that no error code was set for the backup and that it would
        be incomplete as not all IO had been written to disk before the node crash.
        This would not be reported to the user.
        
        So the backup would appear to succeed but it really didn't.
        
        The window for this is rather small though.
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Assert is incorrect for testBackup NFSlave test (causes crash insert 10015 to fail)
      109b0665
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 16580191
      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
      16580191
  2. 01 Dec, 2005 12 commits
    • unknown's avatar
      Post-merge result file cleanup · acc875f9
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Fix results
      acc875f9
    • unknown's avatar
      Fix bug#15028 Multitable update returns different numbers of matched rows · e811c864
      unknown authored
      depending on table order
      
      multi_update::send_data() was counting updates, not updated rows. Thus if one 
      record have several updates it will be counted several times in 'rows matched'
      but updated only once.
      
      multi_update::send_data() now counts only unique rows.
      
      
      sql/sql_update.cc:
        Fix bug#15028  Multitable update returns different numbers of matched rows
        depending on table order
        multi_update::send_data() now counts only unique rows.
      mysql-test/t/update.test:
        Test case for bug#15028 Multitable update returns different numbers of matched rows depending on table order
      mysql-test/r/update.result:
        Test case for bug#15028 Multitable update returns different numbers of matched rows depending on table order
      e811c864
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13318 · 049767dc
      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
      049767dc
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12612 · f7e7eede
      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
      f7e7eede
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-keysize · 9c57c510
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      9c57c510
    • unknown's avatar
      Enable key lengths of up to 3K on 32-bit platforms. · 9a6107ff
      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
      9a6107ff
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7d99d362
      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
      7d99d362
    • unknown's avatar
      We should skip beggining '(' characters when test query on possibility · 134fe714
      unknown authored
      to be in the query cache. (BUG#14652)
      
      
      mysql-test/r/query_cache.result:
        BUG#14652 test suite.
      mysql-test/t/query_cache.test:
        BUG#14652 test suite.
      sql/sql_cache.cc:
        We should skip beggining '(' characters when test query on possibility
        to be in the query cache.
      134fe714
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7ceeb05e
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      7ceeb05e
    • unknown's avatar
      Fix for bug #14304: auto_increment field incorrect set from within stored... · 506a2b6b
      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
      506a2b6b
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · c1a05438
      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.
      c1a05438
    • unknown's avatar
      Fix for bug#14476 `information_schema`.`TABLES`.`TABLE_TYPE` with empty value · 65f8e2ab
      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
      65f8e2ab
  3. 30 Nov, 2005 10 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-14610 · 48d3869a
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      48d3869a
    • unknown's avatar
      Fix union.result · b8fdba58
      unknown authored
      
      mysql-test/r/union.result:
        Fix order of test results
      b8fdba58
    • unknown's avatar
      5773f0b1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b8d88dca
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      vio/viosslfactories.c:
        Auto merged
      b8d88dca
    • unknown's avatar
      Merge tkatchaounov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2b5e160e
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-virgin
      
      2b5e160e
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1 · 2e01ef75
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      vio/viosslfactories.c:
        Auto merged
      2e01ef75
    • unknown's avatar
      WL#2486 - natural/using join according to SQL:2003 · f5e15a98
      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.
      f5e15a98
    • unknown's avatar
      WL#2486 - natural/using join according to SQL:2003. · aed39ac7
      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.
      aed39ac7
    • unknown's avatar
      Fix for BUG#14920 Ordering aggregated result sets corrupts resultset. · c9751785
      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.
      c9751785
    • unknown's avatar
      Addition to fix for bug #12956: cast make differ rounding. · 4737d32a
      unknown authored
      - use rint() in some other val_int() methods as well.
      
      4737d32a
  4. 29 Nov, 2005 9 commits