1. 17 Nov, 2006 4 commits
  2. 16 Nov, 2006 13 commits
  3. 15 Nov, 2006 8 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug19955/my50-bug19955 · ab6d4437
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      sql/item_func.cc:
        Auto merged
      ab6d4437
    • unknown's avatar
      Bug#19955: unsigned bigint used as signed with MOD function · 3be6493a
      unknown authored
      Problem:  When we have a really large number (between 2^63 and 2^64)
      as the left side of the mod operator, it gets improperly corerced
      into a signed value.
      
      Solution:  Added check to see if the "negative" number is really
      positive, and if so, cast it.
      
      
      mysql-test/r/bigint.result:
        Added test case result
      mysql-test/t/bigint.test:
        Added test case
      sql/item_func.cc:
        Added check to see if we have an unsigned number that looks like a
        signed number.
      3be6493a
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my41-bug17700 · ce51ceb5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
      
      
      ce51ceb5
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700 · 5b3cfaa8
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      5b3cfaa8
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my41-bug17700 · 574902e3
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      574902e3
    • unknown's avatar
      Bug#17700: mysql_fix_privilege_tables cannot handle a password \ · 78278bc4
      unknown authored
      	with embedded spaces
        
      Problem:  Original code written assuming password contains no spaces.
      Further, because of how sh interprets characters in variables, you
      cannot do the "simple solution".
        
      Solution:  Move the "was a password provided" check to the end. This
      allows us to correctly quote the password argument when passed to the
      mysql client program.  Addendum:  Put this check inside of a shell fn
      to simplify the code.
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Moved password existence check to end to allow for passwords with
        with embedded spaces.
      78278bc4
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 8f1337ad
      unknown authored
      into  example.com:/work/bug23760/my50
      
      
      8f1337ad
    • unknown's avatar
      Cleanup after test cases · 8b8647ff
      unknown authored
      
      mysql-test/r/init_connect.result:
        Restore global variable to the value it's set to when server is started
      mysql-test/r/key_cache.result:
        Restore global variable values to original
      mysql-test/r/mysqldump.result:
        Drop the user that was created. Specifying "drop user myDB_user" is equal to "drop user myDB_user@%"
      mysql-test/r/rpl_deadlock.result:
        Restore global variable values to original
      mysql-test/r/rpl_drop_db.result:
        Remove the conflicting file and drop database mysqltest1 before test exits
      mysql-test/r/rpl_ignore_revoke.result:
        As changes to mysql.* are ignored - explicitly delete the user on slave
      mysql-test/r/rpl_init_slave.result:
        Restore global variable values to original
      mysql-test/r/rpl_max_relay_size.result:
        Restore global variable values to original
      mysql-test/r/rpl_sp.result:
        Restore global variable values to original
      mysql-test/r/rpl_timezone.result:
        Restore global variable values to original
      mysql-test/r/rpl_variables.result:
        Restore global variable values to original
      mysql-test/r/view_grant.result:
        Use same user in all places in the same test "readonly" is equal to "readonly@%" not "readonly@localhost"
      mysql-test/t/init_connect.test:
        Restore global variable to the value it's set to when server is started
      mysql-test/t/key_cache.test:
        Restore global variable values to original
      mysql-test/t/mysqldump.test:
        Drop the user that was created. Specifying "drop user myDB_user" is equal to "drop user myDB_user@%"
      mysql-test/t/rpl_deadlock.test:
        Restore global variable values to original
      mysql-test/t/rpl_drop_db.test:
        Remove the conflicting file and drop database mysqltest1 before test exits
      mysql-test/t/rpl_ignore_revoke.test:
        As changes to mysql.* are ignored - explicitly delete the user on slave
      mysql-test/t/rpl_init_slave.test:
        Restore global variable values to original
      mysql-test/t/rpl_max_relay_size.test:
        Restore global variable values to original
      mysql-test/t/rpl_sp.test:
        Restore global variable values to original
      mysql-test/t/rpl_timezone.test:
        Restore global variable values to original
      mysql-test/t/rpl_variables.test:
        Restore global variable values to original
      mysql-test/t/view_grant.test:
        Use same user in all places in the same test "readonly" is equal to "readonly@%" not "readonly@localhost"
      8b8647ff
  4. 14 Nov, 2006 9 commits
  5. 13 Nov, 2006 6 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug18761/my50-bug18761 · 1aad9901
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      BitKeeper/etc/collapsed:
        auto-union
      sql/item_func.cc:
        Auto merged
      1aad9901
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 2df738f3
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run-shell.sh:
        Auto merged
      Makefile.am:
        Manual merge
      2df738f3
    • unknown's avatar
      Remove test-force-pl-mem and add test-force-mem · 1eb70558
      unknown authored
      1eb70558
    • unknown's avatar
      Bug#18761: constant expression as UDF parameters not passed in as constant · 154c6e06
      unknown authored
      The code that set up data to be passed to user-defined functions was very
      old and analyzed the "Type" of the data that was passed into the UDF, when
      it really should analyze the "return_type", which is hard-coded for simple
      Items and works correctly for complex ones like functions.
      ---
      Added test at Sergei's behest.
      
      
      mysql-test/r/udf.result:
        Verify that various arguments work.
        ---
        Added test at Sergei's behest.
      mysql-test/t/udf.test:
        Verify that various arguments work.
        ---
        Added test at Sergei's behest.
      sql/item_func.cc:
        For function-Items, test whether it is constant and set the struct members 
        for the UDF parameter appropriately.
        
        Replace tabs with spaces in affected code.
      sql/udf_example.c:
        Include a simple function that is useful in testing.
      154c6e06
    • unknown's avatar
      Use mysql-test-run.pl · 6da91bff
      unknown authored
      
      mysql-test/mysql-test-run-shell.sh:
        Rename: mysql-test/mysql-test-run.sh -> mysql-test/mysql-test-run-shell.sh
      mysql-test/Makefile.am:
        Remove build of mysql_test_run_new
        Symlink mysql-test-run.pl to mysql-test-run
        Rename mysql-test-run.sh to mysql-test-run-shell.sh
      6da91bff
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug19817/my50-bug19817 · b727e09c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      b727e09c