1. 08 Nov, 2006 7 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug10963/my51-bug10963 · 75d86b93
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      75d86b93
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug10963/my50-bug10963 · d75c784e
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug10963/my51-bug10963
      
      
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/t/func_str.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      d75c784e
    • unknown's avatar
      Bug#10963: LEFT/RIGHT/SUBSTR/.. string functions returns wrong result \ · 3a867382
      unknown authored
        on large length
        
      Problem:  Most (all) of the numeric inputs were being coerced into
      int (32 bit) sized variables.  Works OK for sane inputs; any input
      larger than 2^32 (or 2^31 for signed vars) exihibited predictable
      wrapping behavior (up to about 10^18) and then started having really
      strange behaviour past that point (since the conversion to 64 bit int
      from the DECIMAL type can do weird things on out of range numbers).
      
      Solution: 1)  Add many tests.  2)  Convert input from (u)long type to
      (u)longlong.  3)  Do (sometimes multiple) sanity checks on input,
      keeping in mind that sometimes a negative longlong is not a negative
      longlong (if the unsigned_flag is set).  4) Emulate existing behavior
      w/rt negative and "small" out-of-bounds values.
      
      
      mysql-test/r/func_str.result:
        Additional test results for #10963
      mysql-test/t/func_str.test:
        Additional test results for #10963
      sql/item_func.cc:
        Used larger type for counting, to avoid truncation.
      sql/item_strfunc.cc:
        Fix for #10963, including comments and cleaned up logic
      3a867382
    • unknown's avatar
      Merge ted.mysql.internal:/home/ted/src/mysql/mysql-5.0-maint · 13dc35cd
      unknown authored
      into  ted.mysql.internal:/home/ted/src/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/im_daemon_life_cycle.result:
        Auto merged
      mysql-test/t/im_daemon_life_cycle.imtest:
        Auto merged
      vio/viosslfactories.c:
        Auto merged
      13dc35cd
    • unknown's avatar
      Merge ted.mysql.internal:/home/ted/src/mysql/50-gca · 909603a4
      unknown authored
      into  ted.mysql.internal:/home/ted/src/mysql/mysql-5.0-maint
      
      
      909603a4
    • unknown's avatar
      Merge ted.mysql.internal:/home/ted/src/mysql/50-gca · 56dbd44c
      unknown authored
      into  ted.mysql.internal:/home/ted/src/mysql/mysql-5.1-new-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      56dbd44c
    • unknown's avatar
      BUG#20100 fix: mysql_upgrade modified to also accept all · cf3487ac
      unknown authored
      the communication parameters from the command line
      and pass 'em correctly to both mysqlcheck and mysql
      
      
      client/mysql_upgrade.c:
        Now mysql_upgrade passes all the parameters specified on 
        the command line to both mysqlcheck and mysql through 
        the upgrade_defaults file
      cf3487ac
  2. 07 Nov, 2006 18 commits
  3. 06 Nov, 2006 4 commits
  4. 04 Nov, 2006 6 commits
  5. 03 Nov, 2006 5 commits
    • unknown's avatar
      Fiexes for --stress mode in mysql-test-run.pl · a1c79995
      unknown authored
      
      mysql-test/lib/mtr_stress.pl:
        "stop_masters" function renamed to "stop_all_servers"
        "path_mysock" renamed to "path_sock"
      a1c79995
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · c88ab7a0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      c88ab7a0
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 62150851
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      configure.in:
        Manual merge
      myisam/sort.c:
        Manual merge(double checked)
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      mysys/mf_iocache.c:
        Manual merge
      62150851
    • unknown's avatar
      Fix problem with mysql.test relying on "echo" behaviour · 52f70ab8
      unknown authored
      
      mysql-test/r/mysql.result:
        Update test result after commenting out the test
      mysql-test/t/mysql.test:
        Rewrite the test commands so they don't depend on "echo" behaviour
        Comment out one as it's a duplicate
      52f70ab8
    • unknown's avatar
      Fix DBUG_PRINT in mysqltest, the real value to print is in ds_cmd · 8cd64ad2
      unknown authored
      
      client/mysqltest.c:
        The expanded command executed by mysqltest is in ds_cmd
      8cd64ad2