1. 17 Jun, 2005 1 commit
    • unknown's avatar
      pars0lex.l: · 04cc7cde
      unknown authored
        Add one more step to the patching instructions.
      lexyy.c:
        Fix a Win64 type conversion warning
      
      
      innobase/pars/lexyy.c:
        Fix a Win64 type conversion warning
      innobase/pars/pars0lex.l:
        Add one more step to the patching instructions.
      04cc7cde
  2. 16 Jun, 2005 38 commits
    • unknown's avatar
      Post-merge fixes. · db10586e
      unknown authored
      db10586e
    • unknown's avatar
      Manual merge (4.1->5.0) · 574f6c8d
      unknown authored
      574f6c8d
    • unknown's avatar
      Fix Bug#9334 "PS API queries in log file" and · c0484a30
      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.
      c0484a30
    • unknown's avatar
      A fix for Bug#9141 "4.1 does not log into slow log · 51cd70da
      unknown authored
      ALTER, OPTIMIZE and ANALYZE statements".
      In 4.1 we disabled logging of slow admin statements. The fix adds an 
      option to enable it back.
      No test case (slow log is not tested in the test suite), but tested
      manually.
      + post-review fixes (word police mainly).
      
      
      sql/mysql_priv.h:
        - declaration for a new option
      sql/mysqld.cc:
        Add server option '--log-slow-admin-statements' to log slow
        optimize/alter/etc statements to the slow log if it's enabled.
        Add warnings that this option works only if the slow log is open.
      sql/sql_class.h:
        Rename 'thd->slow_command' to thd->enable_slow_log (negates
        the meaning of this variable, and so resolves the need to negate
        value opt_log_slow_admin_statements when setting it).
      sql/sql_parse.cc:
        Implement optional logging of administrative statements in the slow log.
      51cd70da
    • unknown's avatar
      group_by.result, group_by.test: · f2e153e5
      unknown authored
        Correction after merge of fix for bug #8614.
      
      
      mysql-test/t/group_by.test:
        Correction after merge of fix for bug #8614.
      mysql-test/r/group_by.result:
        Correction after merge of fix for bug #8614.
      f2e153e5
    • unknown's avatar
      Manual merge · 0f57c004
      unknown authored
      
      mysql-test/t/rpl_ddl.test:
        Auto merged
      ndb/test/ndbapi/testBlobs.cpp:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      0f57c004
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 25136336
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      25136336
    • unknown's avatar
      group_by.result, group_by.test: · 0812385d
      unknown authored
        Added a test case for bug #8614.
      sql_select.cc:
        Fixed bug #8614.
        SELECT DISTINCT ... GROUP BY 'const' must be equivalent to
        SELECT ... GROUP BY 'const'.
      
      
      sql/sql_select.cc:
        Fixed bug #8614.
        SELECT DISTINCT ... GROUP BY 'const' must be equivalent to
        SELECT ... GROUP BY 'const'.
      mysql-test/t/group_by.test:
        Added a test case for bug #8614.
      mysql-test/r/group_by.result:
        Added a test case for bug #8614.
      0812385d
    • unknown's avatar
      Merge mysql.com:/M50/clone-5.0.7 into mysql.com:/M50/mysql-5.0 · af27fd8a
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      af27fd8a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ddf8d74
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      8ddf8d74
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 596915dd
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-5.0/src-B
      
      
      596915dd
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 0b93ed08
      unknown authored
      into mysql.com:/home/timka/mysql/src/5.0-dbg
      
      
      0b93ed08
    • unknown's avatar
      Post-fix for BUG#11211 · d7ad8711
      unknown authored
      Exclude the query that generates warning from PS tests, due to extra warning
      under PS.
      
      
      d7ad8711
    • unknown's avatar
      WL#2076: Added if(...) construct to mysqltest · b0d82705
      unknown authored
      Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication
      
      
      client/mysqltest.c:
        WL#2067: Added if(...) construct to mysqltest
      mysql-test/include/rpl_stmt_seq.inc:
        Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication
      mysql-test/r/rpl_ddl.result:
        Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication
      mysql-test/t/rpl_ddl.test:
        Comment
      b0d82705
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 19ed9c8c
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-5.0/src-B
      
      
      19ed9c8c
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · daa0dca8
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      
      daa0dca8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 03a057aa
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      03a057aa
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · c23524c7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      c23524c7
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 539fb3fe
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-5.0/src-B
      
      
      539fb3fe
    • unknown's avatar
      "configure.in": Correct equality comparison: In shell 'test', it is single '=' (bug#11007). · 1398e89b
      unknown authored
      
      configure.in:
        Correct equality comparison: In shell 'test', it is single '=' (bug#11007).
      1398e89b
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5870ddf1
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      
      5870ddf1
    • unknown's avatar
      for consictency, changed to use memcpy_fixed. · 17b55ca3
      unknown authored
      17b55ca3
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · 0dabdf15
      unknown authored
      Merge with latest yaSSL.
      
      
      extra/yassl/include/lock.hpp:
        Merge with latest yaSSL.
      extra/yassl/include/socket_wrapper.hpp:
        Merge with latest yaSSL.
      extra/yassl/mySTL/helpers.hpp:
        Merge with latest yaSSL.
      extra/yassl/src/lock.cpp:
        Merge with latest yaSSL.
      extra/yassl/src/log.cpp:
        Merge with latest yaSSL.
      extra/yassl/src/socket_wrapper.cpp:
        Merge with latest yaSSL.
      extra/yassl/src/ssl.cpp:
        Merge with latest yaSSL.
      extra/yassl/src/timer.cpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/include/misc.hpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/include/random.hpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/include/types.hpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/src/asn.cpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/src/integer.cpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/src/misc.cpp:
        Merge with latest yaSSL.
      extra/yassl/taocrypt/src/random.cpp:
        Merge with latest yaSSL.
      0dabdf15
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main · 5e75abdb
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/4.1/bug11132
      
      
      5e75abdb
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 4de0989e
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/bug11132
      
      
      4de0989e
    • unknown's avatar
      Post review fixes · 0a8b19fa
      unknown authored
      
      mysql-test/include/show_msg80.inc:
        Post review fixes: improved description
      mysql-test/r/mysqltest.result:
        Updated result
      mysql-test/t/mysqltest.test:
        one sub testcase added
      0a8b19fa
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 15c78598
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-5.0/src-B
      
      
      15c78598
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5216a1a9
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      5216a1a9
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8771b9f4
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      8771b9f4
    • unknown's avatar
      Fix for bug#9434 SHOW CREATE DATABASE `information_schema`; · 5574de16
      unknown authored
        added ability to do SHOW CREATE DATABASE `information_schema`
      
      
      5574de16
    • unknown's avatar
      BUG#11132 Connections stuck in CLOSE_WAIT · 82297c1c
      unknown authored
      This fixes the problem in 5.0 in the correct way.
      
      The previous patch (for 4.1) is only valid for 4.1 and is done at the right time
      for 4.1.
      
      
      ndb/src/kernel/main.cpp:
        The ndbd angel process keeps the mgm connection open as it retains a reference
        to the socket.
        
        this means that when the mgm server is killed, the socket stays in CLOSE_WAIT 
        (the ndb process will close() it okay in 5.0, as we reused it for a transporter
        but this isn't enough as the angel process still has a reference to that socket).
        
        so, by adding in a theConfig->closeConfiguration(); in the angel process, the ndb
        process is left with the only reference to the socket - which it can close whenever
        it likes (namely when the connection is terminated).
      82297c1c
    • unknown's avatar
      fix test results - Bug #11328 · 20745721
      unknown authored
      
      mysql-test/r/bdb_cache.result:
        fix test results
      mysql-test/t/bdb_cache.test:
        fix test results
      20745721
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3568bba8
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      3568bba8
    • unknown's avatar
      a fix (bug #10650: Bit literal case sensitivity). · 20eaad0e
      unknown authored
      
      mysys/charset.c:
        a fix (bug #10650: Bit literal case sensitivity).
        typo fixed.
      20eaad0e
    • unknown's avatar
    • unknown's avatar
      fix debug string in TR::report_disconnect · d2713295
      unknown authored
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        fix debug string for TR::report_disconnect
      d2713295
    • unknown's avatar
      BUG#11132 Connections stuck in CLOSE_WAIT · 7748d388
      unknown authored
      The 4.1 fix is not valid for 5.0. Remove it.
      
      
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        This fix is not valid for 5.0 as we use the mgm server connection for more than
        just fetching the initial configuration
      7748d388
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/bug11132 · 37b02e7c
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/bug11132
      
      
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Auto merged
      37b02e7c
  3. 15 Jun, 2005 1 commit