1. 08 Aug, 2007 11 commits
  2. 07 Aug, 2007 5 commits
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 8a032184
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      8a032184
    • unknown's avatar
      Merge 192.168.0.7:mysql/mysql-5.0-maint · 1a9b637b
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      1a9b637b
    • unknown's avatar
      Bug#29547 mysql-test-run to retrieve warnings for failed command · 5b95d241
      unknown authored
       - Run "SHOW WARNINGS" when mysqltest fails and display all but the
         last warning(since it's the same as "last error") on stderr
       - Fix typo
      
      
      client/mysqltest.c:
        - Display any warnings produced prior to the error that caused
        mysqltest to die.
        - Fix typo "cur_con" -> "con_slot"
        - Move initialization of the "cur_con" pointer to just before it's
          initialized  so it can be used to check if a connection to mysql
          exist.
      5b95d241
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 6a0ffef9
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysqladmin.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/sp-destruct.test:
        Auto merged
      client/mysqltest.c:
        Manual merge
      6a0ffef9
    • unknown's avatar
      Bug#20037 mysqltest requires cygwin on windows(part 1, new mysqltest commands) · eb95e90c
      unknown authored
       - Update comments
       - Make "write_file" fail if file already exist
       - Remove temporary files created by test cases
      
      
      client/mysqltest.c:
        Improve function comments
        Make write_file fail if file already exist
      mysql-test/r/mysqltest.result:
        Update test result after adding new test and updating description
        of argumements to chmod
      mysql-test/t/bootstrap.test:
        Remove temporary file created by testcase
      mysql-test/t/mysql.test:
        Remove temporary file created by testcase
      mysql-test/t/mysqladmin.test:
        Remove temporary file created by testcase
      mysql-test/t/mysqltest.test:
        Remove temporary file created by testcase 
        Add test to show that "write_file" fails if file already exist
      mysql-test/t/sp-destruct.test:
        Remove temporary file created by testcase
      eb95e90c
  3. 06 Aug, 2007 7 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · ef5d4d2c
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      ef5d4d2c
    • unknown's avatar
      Add missing ' · fba5d555
      unknown authored
      Extend buffer size to allow for longer log messages
      
      fba5d555
    • unknown's avatar
      Remove NOT_YET code · 4d68d7e7
      unknown authored
      Update comments
      Add more tests for "let from query"
      
      
      client/mysqltest.c:
        Remove NOT_YET code
        Update comments
      mysql-test/r/mysqltest.result:
        Add more tests for "let from query"
      mysql-test/t/mysqltest.test:
        Add more tests for "let from query"
      4d68d7e7
    • unknown's avatar
      Fix spelling errors · d3ca9916
      unknown authored
      d3ca9916
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · bfe86885
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      bfe86885
    • unknown's avatar
      Bug #29804 UDF parameters don't contain correct string length · 27b64da2
      unknown authored
      Previously, UDF *_init functions were passed constant strings with erroneous lengths.
      The length came from the containing variable's size, not the length of the value itself.
      
      Now the *_init functions get the constant as a null terminated string with the correct
      length supplied.
      
      
      mysql-test/r/udf.result:
        Test case to check constants passed UDFs.
      mysql-test/t/udf.test:
        Test case to check constants passed UDFs.
      sql/item_func.cc:
        UDF _init functions are now passed the length of the constants, rather than the max
        length of the var containing the constant.
      sql/udf_example.c:
        Added check_const_len functions. The check_const_len_init functions checks that the
        lengths of constants are correctly passed.
      27b64da2
    • unknown's avatar
      Merge dkatz@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 0f7ebf3c
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      BitKeeper/deleted/.del-.del-README.txt:
        Delete: BitKeeper/deleted/.del-README.txt
      0f7ebf3c
  4. 04 Aug, 2007 1 commit
  5. 03 Aug, 2007 16 commits
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · 699fb044
      unknown authored
      - Additional changes to correct link failure in Do-linkall script.
      
      
      libmysqld/libmysqld.def:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Missing exports.
      699fb044
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · 55850dda
      unknown authored
      - Changes to correct and test Windows embedded build.
      
      
      BitKeeper/etc/ignore:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Ignore auto-generated Windows embedded resources.
      CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Hardcode CSV for all configurations.
        - Add client directory for gen_lex_hash dependency.
      client/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Build the mysqlclient library and echo for the embedded solution.
      client/client_priv.h:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Defined new option.
      client/mysql.cc:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Add server-arg command line parameter
      libmysqld/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Added auto generated resources; sql_yacc.cc, sql_yacc.h, message.rc
        message.h and lex_hash.h.
        - Link csv library to libmsyqld.
      libmysqld/Makefile.am:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Include CMakeLists.txt in dist.
      libmysqld/examples/CMakeLists.txt:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Follow existing naming convention.
      libmysqld/examples/Makefile.am:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Include CMakeLists.txt in dist.
      mysql-test/mysql-test-run.pl:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Move embedded option block earlier in the script.
        - Added the path to the libmysqld.dll to Windows path.
      win/README:
        Bug#29903 The CMake build method does not produce the embedded library.
        - Add instructions for building/testing the embedded library.
      55850dda
    • unknown's avatar
      cb62711f
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 6855bd11
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysqltest.c:
        Auto merged
      6855bd11
    • unknown's avatar
      85e152c5
    • unknown's avatar
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 812c55e7
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/r/sp.result:
        Use local
      client/mysqltest.c:
        Manual merge
      mysql-test/lib/mtr_report.pl:
        Manual merge
      mysql-test/mysql-test-run.pl:
        Manual merge
      812c55e7
    • unknown's avatar
      Merge 192.168.0.7:mysql/mysql-5.0-maint · d0e18127
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        SCCS merged
      d0e18127
    • unknown's avatar
      WL#3935 Improve mysqltest report and exitcode for diff · 50dfc054
      unknown authored
       - Move the code to generate test report to the test tool(in this
         case mysqltest) where the best control of what failed is
      - Simplify the code in mysql-test-run.pl
      - mysqltest will now find what diff to use in a best effort attempt
        using "diff -u", "diff -c" and finally dumping the two files verbatim
        in the report.
      
      
      client/mysqltest.c:
        - Add new option --tail-lines indicating how many lines of the result to output
          when generating report for a failure
        - Remove eval_result, noone knows what it should do and it's not used.
        - Add support for best effort execution of systems builtin "diff",
          try with "diff -u" and "diff -c" and if that fails dump the whole content
           of teh two files to report
        - Use one common function when comapring two files, used when test 
          has completed and the result should be compared to the .result file
          as well as using it from myqltest's builtin diff_files command.
        - Output the last lines og the result so far  in the report that mysqltest
          generates in case of a test failure.
      mysql-test/lib/mtr_report.pl:
        - Remove code for generating diff between .reject and .result file,
          that is handled by mysqltest(or the test tool) from now on.
        - Add better comments
      mysql-test/mysql-test-run.pl:
        - Remove the --udiff flag to mysql-test-run.pl, if the systems diff supports
          unified diff it will be used automatically
        - Remove the code for "mtr_show_failed_diff", the report from mysqltest
          will know include the diff so if mysqltest(or another test tool)
          fails, just display it's report what went wrong
        - Pass --tail-lines=20 to mysqltest to it will shos the last 20 lines 
          from the result in the report in case of failure.	
      mysql-test/r/mysqltest.result:
        Update result file now when the output from mysqltest has been sent to /dev/null
      mysql-test/t/mysqltest.test:
        - Improve tests for --diff_files
        - Remove temporary files in var/tmp generated in the fly
        - Send output from test for --diff_files to /deb/null since only the error
          code it returns are of interest and tyhe outpu may vary depending
          on what builtin diff is being used.
      50dfc054
    • unknown's avatar
      Merge 192.168.0.7:mysql/mysql-5.0-maint · f4339aa6
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      f4339aa6
    • unknown's avatar
      Cleanup created procedures in sp.test · 1db7d2e2
      unknown authored
      
      mysql-test/r/sp.result:
        Cleanup created procedures
      mysql-test/t/sp.test:
        Cleanup created procedures
      1db7d2e2
    • unknown's avatar
      Remove the temporary file created by mysql_upgrade · af037651
      unknown authored
      
      client/mysql_upgrade.c:
        Remove the temporary file after it's been used
      af037651
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 377a0278
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      377a0278
    • unknown's avatar
      Merge 192.168.0.7:mysql/mtr_log/my50-mtr_log · 228400b2
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Merge
      228400b2
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 3c5dbc67
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      3c5dbc67
    • unknown's avatar
      Improve report on test execution time · 2ccf3e6c
      unknown authored
      Define tot_real_tim locally in mtr_report.pl
      
      
      mysql-test/mysql-test-run.pl:
        Move global variable to local scope in the file it's being used
      2ccf3e6c