1. 06 Aug, 2007 3 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · d3b0bed1
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      d3b0bed1
    • unknown's avatar
      Bug #29804 UDF parameters don't contain correct string length · ccb32a59
      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.
      ccb32a59
    • unknown's avatar
      Merge dkatz@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 8ab9412a
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      BitKeeper/deleted/.del-.del-README.txt:
        Delete: BitKeeper/deleted/.del-README.txt
      8ab9412a
  2. 04 Aug, 2007 1 commit
  3. 03 Aug, 2007 17 commits
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · 21792097
      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.
      21792097
    • unknown's avatar
      Bug#29903 The CMake build method does not produce the embedded library. · c6c57ed7
      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.
      c6c57ed7
    • unknown's avatar
      34b58dd5
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 10432747
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysqltest.c:
        Auto merged
      10432747
    • unknown's avatar
      841ae673
    • unknown's avatar
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 64107757
      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
      64107757
    • unknown's avatar
      Merge 192.168.0.7:mysql/mysql-5.0-maint · 942cb3e1
      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
      942cb3e1
    • unknown's avatar
      WL#3935 Improve mysqltest report and exitcode for diff · 2cedc54d
      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.
      2cedc54d
    • unknown's avatar
      Merge 192.168.0.7:mysql/mysql-5.0-maint · 02d18d3c
      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
      02d18d3c
    • unknown's avatar
      Cleanup created procedures in sp.test · 8b265ffc
      unknown authored
      
      mysql-test/r/sp.result:
        Cleanup created procedures
      mysql-test/t/sp.test:
        Cleanup created procedures
      8b265ffc
    • unknown's avatar
      Remove the temporary file created by mysql_upgrade · a1552e8f
      unknown authored
      
      client/mysql_upgrade.c:
        Remove the temporary file after it's been used
      a1552e8f
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 4351b1bf
      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
      4351b1bf
    • unknown's avatar
      Merge 192.168.0.7:mysql/mtr_log/my50-mtr_log · 0716ccab
      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
      0716ccab
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · b301145f
      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
      b301145f
    • unknown's avatar
      Improve report on test execution time · 78a3a625
      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
      78a3a625
    • unknown's avatar
      Send output to var/log/mysql-test-run.log to facilitate easier debugging · f98f1258
      unknown authored
      of mysql-test-run.pl
      
      
      mysql-test/lib/mtr_process.pl:
        Change from "print" to "mtr_debug" to get messages logged to file as well
      mysql-test/lib/mtr_report.pl:
        - Add "mtr_log_init" function used for opening the log file
        - Change from "print" to "mtr_report" to get the messages logged
        - Make printout functions log to the log file
      mysql-test/mysql-test-run.pl:
        - Open the mysql-test-run log file as soon as var/log has been created
        - Change from "print" to "mtr_report" to get the messgages to log as well
      f98f1258
  4. 02 Aug, 2007 19 commits
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 9687988e
      unknown authored
      into  mysql.com:/home/ram/work/b30088/b30088.5.0
      
      
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      9687988e
    • unknown's avatar
      After-merge fix: result adjusted. · 6f88aa45
      unknown authored
      6f88aa45
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30088/b30088.5.0 · 2a20aa7f
      unknown authored
      into  mysql.com:/home/ram/work/b30088/b30088.5.1
      
      
      sql/mysqld.cc:
        Auto merged
      mysql-test/t/show_check.test:
        SCCS merged
      2a20aa7f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b30200/b30200.5.0 · 8b9e7c14
      unknown authored
      into  mysql.com:/home/ram/work/b30200/b30200.5.1
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/item_create.cc:
        manual merge.
      8b9e7c14
    • unknown's avatar
      Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol · 898333f8
      unknown authored
      Problem: thd->thread_specific_used flag is not set executing a statement
      containig connection_id() function using PS protocol, that leads to 
      improper binlog event creation.
      
      Fix: set the flag in the Item_func_connection_id::fix_fields().
      
      
      sql/item_create.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - set the thd->thread_specific_used flag in the Item_func_connection_id::fix_fields()
            to have it properly set using PS protocol as well.
      sql/item_func.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - set the thd->thread_specific_used flag in the Item_func_connection_id::fix_fields()
            to have it properly set using PS protocol as well.
      sql/sql_parse.cc:
        Fix for bug #30200: mysqlbinlog.test: connection_id() not restored under ps-protocol
          - reset the thd->thread_specific_used flag in the mysql_reset_thd_for_next_command().
      898333f8
    • unknown's avatar
      Post-merge fix. Update some test results, and add an InnoDB-only · c7419deb
      unknown authored
      compatibility hook, thd_mark_transaction_to_rollback().
      
      
      mysql-test/r/ps.result:
        Post-merge fix.   Changes for WL 3984 (Revise locking
        of mysql.general_log and mysql.slow_log) cause some test
        result differences.
      mysql-test/r/show_check.result:
        Post-merge fix.   Changes for WL 3984 (Revise locking
        of mysql.general_log and mysql.slow_log) cause some test
        result differences.
      sql/sql_class.cc:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      storage/innobase/handler/ha_innodb.cc:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      storage/innobase/handler/ha_innodb.h:
        Post-merge fix, add InnoDB compatibility hook (defined for
        InnoDB only), thd_mark_transaction_to_rollback().
      c7419deb
    • unknown's avatar
      Merge 50 -> 51 (-opt changesets) · 48eb7f8c
      unknown authored
      
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/include/read_many_rows.inc:
        Manual merge
      mysql-test/r/read_many_rows_innodb.result:
        Manual merge
      sql/sql_class.cc:
        Manual merge
      sql/sql_class.h:
        Manual merge
      storage/innobase/handler/ha_innodb.cc:
        Manual merge
      48eb7f8c
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · d0738596
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      d0738596
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 15835a56
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      15835a56
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 90d62296
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      sql/handler.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      90d62296
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · cbbc8bb3
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      cbbc8bb3
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 7756406f
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      configure.in:
        Auto merged
      7756406f
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · 7b1f5425
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      7b1f5425
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build · c2fa38b9
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~1:
        Auto merged
      CMakeLists.txt:
        Auto merged
      configure.in:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c2fa38b9
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 159da8b8
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      configure.in:
        Auto merged
      159da8b8
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-4.1-build · e399ae5a
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      e399ae5a
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 5161bc9e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      mysql-test/include/mix1.inc:
        SCCS merged
      mysql-test/r/innodb_mysql.result:
        use local
      5161bc9e
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · 9436e186
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      9436e186
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 4ea92b81
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      4ea92b81