1. 22 Jun, 2005 1 commit
  2. 21 Jun, 2005 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ca1e714f
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ca1e714f
    • unknown's avatar
      patch · 97ae7265
      unknown authored
      
      client/mysqldump.c:
        Add description of quote_for_like
        Add quoting of \ to \\\\ in quote_for_like
        Add DBUG_*
        Rearranged code in dump_selected_tables so the first thing it will do is to check that the tables to dump are available
        Unless --force is used, program will exit if not all specified tables can be found
        Add files to dump to HASH table for easy iteration
        Simpler handling of ignore_table list.
        Add new error code used when table user selected to dump  can not be found in db
      client/mysqltest.c:
        Make it possible to exec a command that fails by setting --error <errno> before the command to exec.
        Check that the error returned from executed program matches the expected error.
        Add DBUG_* printouts
      mysql-test/mysql-test-run.sh:
        export MYSQL_DUMP_DIR used in "--replace_result"
      mysql-test/r/mysqldump.result:
        Added test for illegal / nonexisting table and database names
      mysql-test/t/mysqldump.test:
        Added test for illegal / nonexisting table and database names
      97ae7265
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a69ad6e
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      9a69ad6e
    • unknown's avatar
      mysql-test-run.pl: · 474362ba
      unknown authored
        More compact and safe handling of path names.
        Support for running in Windows source tree.
        Use libtool wrapper, instead of messing with
        library path names, and objects in .libs dir.
      mtr_misc.pl:
        Utility function that search aand check path names
      mtr_report.pl:
        Patch by Carsten, set correct reject/result/eval if not main suite
      
      
      mysql-test/lib/mtr_report.pl:
        Patch by Carsten, set correct reject/result/eval if not main suite
      mysql-test/lib/mtr_misc.pl:
        Utility function that search aand check path names
      mysql-test/mysql-test-run.pl:
        More compact and safe handling of path names.
        Support for running in Windows source tree.
        Use libtool wrapper, instead of messing with
        library path names, and objects in .libs dir.
      474362ba
  3. 20 Jun, 2005 25 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · fcad7729
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      fcad7729
    • unknown's avatar
      mtr_cases.pl: · 2611f981
      unknown authored
        Bug#11466: Script can now get test case name
        from test case file path on command line
      mysql-test-run.pl:
        Bug#11466: Added --skip-ndbcluster/--skip-ndb option
      mtr_cases.pl:
        Don't set --default-time-zone if opt file sets it
        Restart the server if time zone is given in opt file
      mysql-test-run.pl:
        Don't remove symlink to "var" directory in cleanup
        Removed duplicate/unessesary options to mysqld
      
      
      mysql-test/mysql-test-run.pl:
        Bug#11466: Added --skip-ndbcluster/--skip-ndb option
      mysql-test/lib/mtr_cases.pl:
        Bug#11466: Script can now get test case name
        from test case file path on command line
      2611f981
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5ffdafd3
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      5ffdafd3
    • unknown's avatar
      Merge jwinstead@production.mysql.com:my/mysql-4.1-win · 0a8e927b
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      0a8e927b
    • unknown's avatar
      Merge jwinstead@production.mysql.com:my/mysql-4.1-10840 · 1b9cc932
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      1b9cc932
    • unknown's avatar
      Merge jwinstead@production.mysql.com:my/mysql-4.1-7858 · e0b67019
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      e0b67019
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · b3914791
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      b3914791
    • unknown's avatar
      group_by.result: · 157c3738
      unknown authored
        Added  a test case for bug #11385.
      group_by.test:
        Added  a test case for bug #11385.
      field.h:
        Fixed bug #11385.
        The bug was due to not defined method decimals for the class
        Field_datetime.
      
      
      sql/field.h:
        Fixed bug #11385.
        The bug was due to not defined method decimals for the class
        Field_datetime.
      mysql-test/t/group_by.test:
        Added  atest case for bug #11385.
      mysql-test/r/group_by.result:
        Added  a test case for bug #11385.
      157c3738
    • unknown's avatar
      Fix handling of command-line on Windows, missed as part of earlier · df357c68
      unknown authored
      commit. (Bug #10840)
      
      
      client/mysql.cc:
        Add cast of unsigned value stored in signed char
      df357c68
    • unknown's avatar
      Makefile.am: · 97afdc4d
      unknown authored
        Corrected dependency for "lex_hash.h", to avoid occasional make failure
      
      
      sql/Makefile.am:
        Corrected dependency for "lex_hash.h", to avoid occasional make failure
      97afdc4d
    • unknown's avatar
      ha_ndbcluster.cc: · 77bc59aa
      unknown authored
        Added CR for readability
      
      
      sql/ha_ndbcluster.cc:
        Added CR for readability
      77bc59aa
    • unknown's avatar
      Added comment to store_lock · 77cc0030
      unknown authored
      77cc0030
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 469716e9
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      469716e9
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · 08876d7b
      unknown authored
      into igor-inspiron.creware.com:/home/igor/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      08876d7b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7ffce43d
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg11060
      
      7ffce43d
    • unknown's avatar
      Fix for bug #11060 "Server crashes on re-execution of prepared · c8843d32
      unknown authored
      INSERT ... SELECT with UNION" (reviewed version).
      
      Altough bug manifest itself only starting from 5.0 it is better to
      apply fix to 4.1 to keep some assumptions true and make code more
      future-proof.
      
      
      mysql-test/r/ps.result:
        Added test case for bug #11060 "Server crashes on re-execution of
        prepared INSERT ... SELECT with UNION".
      mysql-test/t/ps.test:
        Added test case for bug #11060 "Server crashes on re-execution of
        prepared INSERT ... SELECT with UNION".
      sql/sql_insert.cc:
        select_insert::prepare():
          Item::fix_fields() methods operate assuming that LEX::current_select
          points to the select to which current item belongs. Thus
          during check_insert_fields() routine execution LEX::current_select
          should point ot the first select in query since this is the
          select with which items in insert list is associated.
          But if we have INSERT SELECT UNION SELECT type of query
          LEX::current_select will point to the fake_select_lex instead
          since select_insert::prepare() is called during processing of JOIN
          which corresponds to this select_lex.
          So we have set LEX::current_select before calling check_insert_fields()
          and restore it afterwards.
      c8843d32
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 436c0e43
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/bug10365
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      436c0e43
    • unknown's avatar
      Makefile.am: · 992173f4
      unknown authored
        Use the Perl version of mysql-test-run
      
      
      Makefile.am:
        Use the Perl version of mysql-test-run
      992173f4
    • unknown's avatar
      mysql-test-run.pl: · cb866d66
      unknown authored
        Corrected path to 'mysql_fix_privilege_tables'
      
      
      mysql-test/mysql-test-run.pl:
        Corrected path to 'mysql_fix_privilege_tables'
      cb866d66
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · ad60132a
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      ad60132a
    • unknown's avatar
      mysql-test-run.pl: · bbb0067b
      unknown authored
        Corrected path to 'mysql_fix_privilege_tables'
        Corrected dummy --manager-port to take integer argument
      
      
      mysql-test/mysql-test-run.pl:
        Corrected path to 'mysql_fix_privilege_tables'
      bbb0067b
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0e1b1d2f
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      0e1b1d2f
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0521c819
      unknown authored
      into dl145c.mysql.com:/home/ndbdev/tomas/mysql-4.1
      
      0521c819
    • unknown's avatar
      ha_ndbcluster.cc: · 4d8c7530
      unknown authored
        remove typecheck in ndb handler not needed
      
      
      sql/ha_ndbcluster.cc:
        remove typecheck in ndb handler not needed
      4d8c7530
    • unknown's avatar
      BUG#11377 Building cluster in 4.1 BK tree fails with GCC4.0 · a79e27b6
      unknown authored
      
      ndb/src/kernel/SimBlockList.cpp:
        GCC 4.0 build fix
      a79e27b6
  4. 19 Jun, 2005 2 commits
    • unknown's avatar
      mysql-test-run.pl: · ed161de7
      unknown authored
        Added dummy --manager-port flag, for backward compatibility
        Back port from 5.0, correction of paths to SSL pem files
      mtr_cases.pl:
        Removed hard coded exclude list for embedded server
      mysql-test-run.pl:
        Set environment variable MYSQL_SHOW, to be used in test cases
      
      
      mysql-test/lib/mtr_cases.pl:
        Removed hard coded exclude list for embedded server
      mysql-test/mysql-test-run.pl:
        Added dummy --manager-port flag, for backward compatibility
        Back port from 5.0, correction of paths to SSL pem files
      ed161de7
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 319412be
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      319412be
  5. 18 Jun, 2005 2 commits
  6. 17 Jun, 2005 5 commits
    • unknown's avatar
      Fix hang/crash with Boolean full-text search against an unindexed field for · a8b39907
      unknown authored
      which the query contained more words than we allocated space. (Bug #7858)
      
      
      myisam/ft_boolean_search.c:
        Fix calculation of max number of elements -- "words" may not have spaces
        between them.
      mysql-test/t/fulltext.test:
        Modify test to be specific to reported bug (fix for old bug wasn't quite enough)
      mysql-test/r/fulltext.result:
        Update results
      a8b39907
    • unknown's avatar
      BUG#10589: des_encrypt functionality always return NULL · caf6a750
      unknown authored
       - Push warnings if des_encrypt or des_descrypt function fails because of out of resources or wrong params.
       - Push warning if des_encrypt or des_decrypt function is used when server is missing support for openssl.
       - Add test func_encrypt_nossl that is tun when the server is missing support for openssl. 
      
      
      mysql-test/r/func_encrypt.result:
        Add tests for use of des_* function with invalid parameters
      mysql-test/t/func_encrypt.test:
        Add tests for use of des_* function with invalid parameters
      sql/item_strfunc.cc:
        Push warning if invalid paremeters are used
        Push warning if out of resources
        Push warning if user tries to use des_* function when the server has been compiled without support for openssl.
      caf6a750
    • unknown's avatar
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4ef964e3
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      4ef964e3
    • unknown's avatar
      sql_select.cc: · c11cdc1d
      unknown authored
        fixed 64bit bug in lenght store/retrive in cache
      
      
      sql/sql_select.cc:
        fixed 64bit bug in lenght store/retrive in cache
      c11cdc1d
  7. 16 Jun, 2005 1 commit
    • unknown's avatar
      Fix Bug#9334 "PS API queries in log file" and · f21a807d
      unknown authored
      Bug#8367 "low log doesn't gives complete information about prepared 
      statements"
      Implement status variables for prepared statements commands (a port of
      the patch by Andrey Hristov).
      See details in comments to the changed files.
      No test case as there is no way to test slow log/general log in 
      mysqltest.
      
      
      mysql-test/r/ps_grant.result:
        Now execute is logged with tag 'Execute' (changed result file).
      sql/mysql_priv.h:
        - remove obsolete macro.
        - add declarations for new status variables.
        - export function log_slow_statement, which now is used in sql_prepare.cc
      sql/mysqld.cc:
        Add status variables for prepared statements API: now we record
        mysql_stmt_close, mysql_stmt_reset, mysql_stmt_prepare, mysql_stmt_execute
        mysql_stmt_send_long_data, PREPARE, EXECUTE, DEALLOCATE.
      sql/sql_parse.cc:
        - account DEALLOCATE prepare as a Com_stmt_close command (close of a
        prepared statement).
      sql/sql_prepare.cc:
        - fix a bug in SQL syntax for prepared statements + logging:
          if we use --log and EXECUTE stmt USING @no_such_variable;, the
          server crashed because the old code assumed that the variable 
          returned by get_var_with_binlog is never NULL.
        - account statistics for 
          mysql_stmt_{prepare,execute,close,reset,send_long_data} in
          Com_stmt_{prepare,execute,close,reset,send_long_data} correspondingly.
        - log slow statements into the slow log early, when thd->query
          points to a valid (with expanded placeholder values) query.
          The previous version was logging it in sql_parse, when thd->query
          is empty. Prevent the server from logging the statement twice by 
          setting thd->enable_slow_log= FALSE.
        - now in case of EXECUTE stmt in SQL syntax for prepared statements the 
          general log gets two queries, e.g.
          Query    EXECUTE stmt USING @A, @b, @c
          Execute  INSERT INTO t1 VALUES (1, 2, 3)
          This makes the behavior consistent with PREPARE command, which
          also logs the statement twice.
      f21a807d