1. 17 Nov, 2006 2 commits
    • unknown's avatar
      Bug#24274 option "--big-test" of mysql-test-run.pl does not work anymore · 6fa7f66a
      unknown authored
       - Set environment variable BIG_TEST when using --big-test
       - Skip comment lines when looking for features a test case supports.
      
      
      mysql-test/lib/mtr_cases.pl:
        Skip all lines that start with # when looking for features required by the test case
      mysql-test/mysql-test-run.pl:
        Set environment variable BIG_TEST if option --big-test passed.
      6fa7f66a
    • unknown's avatar
      Bug#24354 option "--extern" of mysql-test-run.pl does not work anymore · b0f1559f
      unknown authored
       - Dont require restart when using extern and there is no record of
         master being started(pid is not known) 
      
      
      mysql-test/mysql-test-run.pl:
        Don't require restart when running against extern server and no
        record of master being started
      b0f1559f
  2. 16 Nov, 2006 8 commits
  3. 15 Nov, 2006 8 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug19955/my50-bug19955 · 8fa38d2a
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      sql/item_func.cc:
        Auto merged
      8fa38d2a
    • unknown's avatar
      Bug#19955: unsigned bigint used as signed with MOD function · 0d18a405
      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.
      0d18a405
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my41-bug17700 · 1230d805
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
      
      1230d805
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700 · 374b60c9
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      374b60c9
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my41-bug17700 · 5d7dcb80
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      5d7dcb80
    • unknown's avatar
      Bug#17700: mysql_fix_privilege_tables cannot handle a password \ · e4849218
      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.
      e4849218
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 6d47168b
      unknown authored
      into  example.com:/work/bug23760/my50
      
      6d47168b
    • unknown's avatar
      Cleanup after test cases · f4251720
      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"
      f4251720
  4. 14 Nov, 2006 9 commits
  5. 13 Nov, 2006 13 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug18761/my50-bug18761 · 23c63995
      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
      23c63995
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · dd671060
      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
      dd671060
    • unknown's avatar
      Remove test-force-pl-mem and add test-force-mem · c9369365
      unknown authored
      c9369365
    • unknown's avatar
      Bug#18761: constant expression as UDF parameters not passed in as constant · e375f6e2
      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.
      e375f6e2
    • unknown's avatar
      Use mysql-test-run.pl · 0c9b2a68
      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
      0c9b2a68
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug19817/my50-bug19817 · cbce4940
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      cbce4940
    • unknown's avatar
      Bug#19817 error when try to compile PHP5.1 with mysql 5.0.21 static libs · 73484b5a
      unknown authored
       - Most likely caused by linking with libmysqlclient using gcc and not g++.
       - Removing our "yassl_dummy_link_fix" hacks so some test programs are linked
         with gcc 
       - Remove build of non working test programs in vio
      
      
      client/Makefile.am:
        Remove "yassl_dummy_link_fix"
      tests/Makefile.am:
        Remove "yassl_dummy_link_fix"
      tools/Makefile.am:
        Remove "yassl_dummy_link_fix"
      vio/Makefile.am:
        Remove "yassl_dummy_link_fix"
        Remove non working test programs from being built
      73484b5a
    • unknown's avatar
      Expect the file "have_mysql_upgrade.result" to contain the · 23e0d779
      unknown authored
      result from "require mysql_upgrade"
      
      
      mysql-test/r/have_mysql_upgrade.result:
        New BitKeeper file ``mysql-test/r/have_mysql_upgrade.result''
      23e0d779
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 6a1b9c07
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      6a1b9c07
    • unknown's avatar
      09bd8035
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint-mysql_upgrade · aa8bef61
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      BitKeeper/deleted/.del-abi_check.ic:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Manual merge
      aa8bef61
    • unknown's avatar
      Make it possible for .test suites to run "mysql_upgrade" · 6bf12567
      unknown authored
      Add new test file mysql_upgrade.test
      
      
      BitKeeper/deleted/.del-abi_check.ic:
        Rename: include/abi_check.ic -> BitKeeper/deleted/.del-abi_check.ic
      client/mysql_upgrade.c:
        Make mysql_upgrade search also in "client" dir so it can be run from a source dist.
      mysql-test/mysql-test-run.pl:
        Make it possible for .test scripts to run "mysql_upgrade"
      mysql-test/r/mysql_upgrade.result:
        New BitKeeper file ``mysql-test/r/mysql_upgrade.result''
      mysql-test/t/mysql_upgrade.test:
        New BitKeeper file ``mysql-test/t/mysql_upgrade.test''
      6bf12567
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 8718b4a2
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      include/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      8718b4a2