1. 10 Nov, 2007 3 commits
  2. 09 Nov, 2007 1 commit
  3. 07 Nov, 2007 1 commit
    • unknown's avatar
      Fix for bug #32137: prepared statement crash with str_to_date in update clause · dd780037
      unknown authored
      Problem: calling non-constant argument's val_xxx() methods 
      in the ::fix_length_and_dec() is inadmissible.
      
      Fix: call the method only for constant arguments.
      
      
      mysql-test/r/ps.result:
        Fix for bug #32137: prepared statement crash with str_to_date in update clause
          - test result.
      mysql-test/t/ps.test:
        Fix for bug #32137: prepared statement crash with str_to_date in update clause
          - test case.
      sql/item_timefunc.cc:
        Fix for bug #32137: prepared statement crash with str_to_date in update clause
          - call argument's val_str() only for constant items in the 
            Item_func_str_to_date::fix_length_and_dec().
      dd780037
  4. 06 Nov, 2007 3 commits
  5. 01 Nov, 2007 5 commits
  6. 31 Oct, 2007 8 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · c0f690b1
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.1-new-maint
      
      c0f690b1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 1c6a97e2
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-maint
      
      1c6a97e2
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/mysql-5.0-maint · a6ce0e21
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.1-new-maint
      
      
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-ucs2.c:
        SCCS merged
      a6ce0e21
    • unknown's avatar
      BUG#31799: Scrambled number output due to integer overflow · 0b023e98
      unknown authored
      An integer overflow in number->string conversion caused completely
      wrong output of the number LONGLONG_MIN with gcc 4.2.1.
      
      Fixed by eliminating the overflow, using only operations that are
      well-defined in ANSI C.
      
      
      strings/ctype-simple.c:
        An integer overflow in number->string conversion caused completely
        wrong output of the number LONGLONG_MIN with gcc 4.2.1.
        
        Fixed by eliminating the overflow, using only operations that are
        well-defined in ANSI C.
      strings/ctype-ucs2.c:
        An integer overflow in number->string conversion caused completely
        wrong output of the number LONGLONG_MIN with gcc 4.2.1.
        
        Fixed by eliminating the overflow, using only operations that are
        well-defined in ANSI C.
      strings/int2str.c:
        An integer overflow in number->string conversion caused completely
        wrong output of the number LONGLONG_MIN with gcc 4.2.1.
        
        Fixed by eliminating the overflow, using only operations that are
        well-defined in ANSI C.
      strings/longlong2str.c:
        An integer overflow in number->string conversion caused completely
        wrong output of the number LONGLONG_MIN with gcc 4.2.1.
        
        Fixed by eliminating the overflow, using only operations that are
        well-defined in ANSI C.
      0b023e98
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 1bfd921f
      unknown authored
      into  mysql.com:/home/ram/work/b30679/b30679.5.1
      
      
      client/mysqlcheck.c:
        Auto merged
      mysql-test/r/mysqlcheck.result:
        Auto merged
      mysql-test/t/mysqlcheck.test:
        Auto merged
      1bfd921f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 18dc4af1
      unknown authored
      into  mysql.com:/home/ram/work/b30654/b30654.5.1
      
      
      client/mysqlcheck.c:
        Auto merged
      18dc4af1
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · f4ee53fa
      unknown authored
      into  mysql.com:/home/ram/work/b30654/b30654.5.0
      
      f4ee53fa
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30654/b30654.5.0 · 79ac3982
      unknown authored
      into  mysql.com:/home/ram/work/b30654/b30654.5.1
      
      
      client/mysqlcheck.c:
        Auto merged
      mysql-test/r/mysqlcheck.result:
        Auto merged
      mysql-test/t/mysqlcheck.test:
        manual merge.
      79ac3982
  7. 30 Oct, 2007 1 commit
    • unknown's avatar
      Fix for bug #30654: mysqlcheck fails during upgrade of tables whose · ce18ce32
      unknown authored
      names include backticks or blank
      
      Problem: mysqlcheck doesn't escape backtick characters in the table names.
      
      Fix: escape them.
      
      
      client/mysqlcheck.c:
        Fix for bug #30654: mysqlcheck fails during upgrade of tables whose 
        names include backticks or blank
          - escape backtick characters in the table names.
      mysql-test/r/mysqlcheck.result:
        Fix for bug #30654: mysqlcheck fails during upgrade of tables whose 
        names include backticks or blank
          - test result.
      mysql-test/t/mysqlcheck.test:
        Fix for bug #30654: mysqlcheck fails during upgrade of tables whose 
        names include backticks or blank
          - test case.
      ce18ce32
  8. 29 Oct, 2007 6 commits
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 8f45e5f6
      unknown authored
      into  mysql.com:/home/ram/work/b31137/b31137.5.0
      
      8f45e5f6
    • unknown's avatar
      after-merge fix-up. · 68e59c00
      unknown authored
      68e59c00
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b31137/b31137.5.0 · 99678229
      unknown authored
      into  mysql.com:/home/ram/work/b31137/b31137.5.1
      
      
      sql/sql_table.cc:
        Auto merged
      sql/structs.h:
        Auto merged
      mysql-test/include/mix1.inc:
        will merge tests manually
      mysql-test/r/innodb_mysql.result:
        will merge tests manually
      mysql-test/r/key.result:
        will merge tests manually
      mysql-test/t/key.test:
        will merge tests manually
      include/my_base.h:
        manual merge.
      99678229
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 9b241a7d
      unknown authored
      into  mysql.com:/home/ram/work/b30782/b30782.5.0
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      9b241a7d
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30782/b30782.5.0 · 3076fff2
      unknown authored
      into  mysql.com:/home/ram/work/b30782/b30782.5.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/case.result:
        manual merge.
      mysql-test/t/case.test:
        manual merge.
      sql/item_cmpfunc.h:
        manual merge.
      3076fff2
    • unknown's avatar
      Fix for bug #30782: Truncated UNSIGNED BIGINT columns only in SELECT w/ CASE, · 90081aed
      unknown authored
      JOIN, and ORDER BY
      
      Problem: improper maximum length calculation of the CASE function leads to 
      decimal value truncation (storing/retrieving decimal field values).
      
      Fix: accurately calculate maximum length/unsigned flag/decimals parameters 
      of the CASE function.
      
      
      mysql-test/r/case.result:
        Fix for bug #30782: Truncated UNSIGNED BIGINT columns only in SELECT w/ CASE, 
        JOIN, and ORDER BY
          - test result.
      mysql-test/t/case.test:
        Fix for bug #30782: Truncated UNSIGNED BIGINT columns only in SELECT w/ CASE, 
        JOIN, and ORDER BY
          - test case.
      sql/item_cmpfunc.cc:
        Fix for bug #30782: Truncated UNSIGNED BIGINT columns only in SELECT w/ CASE, 
        JOIN, and ORDER BY
          - accurately calculate Item_func_case::max_length/unsigned_flag/decimals.
      sql/item_cmpfunc.h:
        Fix for bug #30782: Truncated UNSIGNED BIGINT columns only in SELECT w/ CASE, 
        JOIN, and ORDER BY
          - accurately calculate Item_func_case::max_length/unsigned_flag/decimals.
      90081aed
  9. 26 Oct, 2007 1 commit
    • unknown's avatar
      Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, · 51a49b17
      unknown authored
      file .\ha_innodb.
      
      Problem: if a partial unique key followed by a non-partial one we declare
      the second one as a primary key.
      
      Fix: sort non-partial unique keys before partial ones.
      
      
      include/my_base.h:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - sort unique keys that don't contain partial segments before other keys:
              set HA_KEY_HAS_PART_KEY_SEG flag for such keys in the mysql_prepare_table(),
              use it in the sort_keys();
      mysql-test/r/innodb_mysql.result:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - test result.
      mysql-test/r/key.result:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - test result.
      mysql-test/t/innodb_mysql.test:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - test case.
      mysql-test/t/key.test:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - test case.
      sql/sql_table.cc:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - sort unique keys that don't contain partial segments before other keys:
              set HA_KEY_HAS_PART_KEY_SEG flag for such keys in the mysql_prepare_table(),
              use it in the sort_keys();
      sql/structs.h:
        Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 
        file .\ha_innodb.
          - sort unique keys that don't contain partial segments before other keys:
              set HA_KEY_HAS_PART_KEY_SEG flag for such keys in the mysql_prepare_table(),
              use it in the sort_keys();
      51a49b17
  10. 25 Oct, 2007 4 commits
  11. 24 Oct, 2007 7 commits