1. 15 Jul, 2005 10 commits
  2. 14 Jul, 2005 21 commits
    • unknown's avatar
      Fix ps.test in --ps-protocol · 5868951f
      unknown authored
      
      mysql-test/t/ps.test:
        Disable prepared statements for a part of the test to avoid
        result mismatch.
      5868951f
    • unknown's avatar
      Hastily remove an occasionally checked in symlink :( · 6292afc9
      unknown authored
      
      BitKeeper/deleted/.del-var~507a9bd3b926223e:
        Delete: mysql-test/var
      6292afc9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f11210d9
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      f11210d9
    • unknown's avatar
      A fix and a test case for Bug#11299 "prepared statement makes wrong SQL · 22957d6f
      unknown authored
       syntax in binlog which stops replication":
      disallow the use of parameter markers which can lead to generation
      of malformed binlog queries. 
      
      
      mysql-test/r/ps.result:
        Test results fixed: a test case for Bug#11299
      mysql-test/t/ps.test:
        A test case for Bug#11299
      sql/sql_lex.cc:
        Introduce a new parser token for a parameter marker. Make sure
        that a parameter marker can not be used in a query which, when
        transformed to a binlog query, becomes grammatically incorrect.
      sql/sql_yacc.yy:
        The check for COM_PREPARE has been moved into the lexer.
      mysql-test/var:
        New BitKeeper file ``mysql-test/var''
      22957d6f
    • unknown's avatar
      Merge mysqldev@production:my/mysql-4.1-release · b2c29a1a
      unknown authored
      into mysql.com:/space/my/mysql-4.1.13-clone
      
      b2c29a1a
    • unknown's avatar
      misc (memleak) fixes: · e599c68b
      unknown authored
          added using ndb_end and showing mem allocation stat at exit
          added init of variable
          added destruction of LocalConfig to still memleak
          added delete of theFacade on exit
          stopSessions(true) on socket server to ensure destuction of threads
          added destruction of arbit manager thread
          added true option to stopSessions in transporter facade to ensure destructions of threads
      
      
      ndb/include/util/ndb_opts.h:
        added using ndb_end and showing mem allocation stat at exit
      ndb/src/common/logger/LogHandler.cpp:
        added init of variable
      ndb/src/mgmapi/mgmapi.cpp:
        added destruction of LocalConfig to still memleak
        debug printouts
      ndb/src/mgmclient/main.cpp:
        added using ndb_end and showing mem allocation stat at exit
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        added delete of theFacade on exit
        removed area51
        added debug prints
      ndb/src/mgmsrv/main.cpp:
        added using ndb_end and showing mem allocation stat at exit
        moved glob struct to heap to enable ndb_end usage
        moved options out of glob struct
        stopSessions(true) on socket server to ensure destuction of threads
      ndb/src/ndbapi/ClusterMgr.cpp:
        added destruction of arbit manager thread
        debug printouts
      ndb/src/ndbapi/TransporterFacade.cpp:
        added true option to stopSessions in transporter facade to ensure destructions of threads
        + debug prints
      e599c68b
    • unknown's avatar
      BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener · 0e0bee57
      unknown authored
          + added close of some fd's
          + debug prints
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
         BUG#11898 ndb_mgmd not releasing resources, added "ping"
        + debug prints
      ndb/src/mgmsrv/MgmtSrvr.hpp:
         BUG#11898 ndb_mgmd not releasing resources, added "ping"
        + debug prints
      ndb/src/mgmsrv/Services.cpp:
         BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener
        + added close of some fd's
        + debug prints
      0e0bee57
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8ca64319
      unknown authored
      into  linux.site:/home/reggie/bk/mysql-4.1
      
      8ca64319
    • unknown's avatar
      A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't reset · 46d38833
      unknown authored
      information about error".
      
      
      libmysql/libmysql.c:
        Clear the last error on the statement if mysql_stmt_reset succeeded.
      tests/mysql_client_test.c:
        A test case for Bug#11183 "mysql_stmt_reset() doesn't reset information 
        about error"
      46d38833
    • unknown's avatar
      stilled mem leak in usage on getVersionString · 674edc3c
      unknown authored
          added __LINE__ so systemErrorLab for better error printout
      
      
      ndb/include/ndb_version.h.in:
        stilled mem leak in usage on getVersionString
      ndb/include/util/version.h:
        stilled mem leak in usage on getVersionString
      ndb/src/common/util/version.c:
        stilled mem leak in usage on getVersionString
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        added __LINE__ so systemErrorLab for better error printout
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        stilled mem leak in usage on getVersionString
        added __LINE__ so systemErrorLab for better error printout
      ndb/tools/restore/restore_main.cpp:
        stilled mem leak in usage on getVersionString
      674edc3c
    • unknown's avatar
      added debug prints · 6014f67d
      unknown authored
      
      ndb/include/portlib/NdbTCP.h:
        added debug prints
      ndb/include/util/SocketServer.hpp:
        added debug prints
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        debug prints
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        debug prints
      ndb/src/common/portlib/NdbMutex.c:
        debug prints
      ndb/src/common/portlib/NdbTCP.cpp:
        debug printout
      ndb/src/common/portlib/NdbThread.c:
        debug printout
      ndb/src/common/transporter/TransporterRegistry.cpp:
        debug printout
      ndb/src/common/util/Parser.cpp:
        debug printout
      ndb/src/common/util/SocketClient.cpp:
        debug printout
      ndb/src/common/util/SocketServer.cpp:
        debug printout
      6014f67d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · bd275bc6
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      bd275bc6
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-build-tree · 97f79493
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-merge-from-build
      
      
      sql/item_func.cc:
        Auto merged
      97f79493
    • unknown's avatar
      568e19d0
    • unknown's avatar
      fix for #11808 backported. · affdcb4f
      unknown authored
      
      tests/mysql_client_test.c:
        fix for #11808 backported.
        cmp_double() introduced in order to avoid using long double registers           
        (for local double vars).
      affdcb4f
    • unknown's avatar
      Fix for BUG#11869: In Item_func_match::fix_index() handle the case when there is no · 5783e1a1
      unknown authored
        source table present (this happens for ORDER BY after UNION)
      
      
      mysql-test/r/fulltext_order_by.result:
        Testcase for BUG#11869
      mysql-test/t/fulltext_order_by.test:
        Testcase for BUG#11869
      5783e1a1
    • unknown's avatar
      Fix for BUG#11700: in add_not_null_conds(), call full fix_fields() for the created NOT NULL. · 76d9fa6f
      unknown authored
        This is needed because in some cases range optimization is performed twice and added 
        NOT NULL item must have correct const_table_map() value. 
      
      
      mysql-test/r/select.result:
        Testcase for BUG#11700
      mysql-test/t/select.test:
        Testcase for BUG#11700
      76d9fa6f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 253af6eb
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      253af6eb
    • unknown's avatar
      A fix and a test case for Bug#9735. · a59ef1a3
      unknown authored
      No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we
      have no sound decision yet what typecodes and for what types are
      sent by the server (aka what constitutes a distinct type in MySQL).
      
      
      
      mysql-test/r/ps_2myisam.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_3innodb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_4heap.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_5merge.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_6bdb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_7ndb.result:
        Test results fixed: new longtext/longblob length (2^32)
      sql/field.cc:
        A fix for Bug#9735 "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT": fix wrong initialization of field_length
        in case of BLOB fields.
      tests/mysql_client_test.c:
        A test case for Bug#9735  "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT"
      a59ef1a3
    • unknown's avatar
      541c0524
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · c2192cd1
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.num-conv
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      c2192cd1
  3. 13 Jul, 2005 9 commits
    • unknown's avatar
      A test case for Bug#9442 "Set parameter make query fail if column · c5775210
      unknown authored
      character set is UCS2".
      The bug is no longer repeatable.
      
      
      mysql-test/r/ps.result:
        Test results fixed (a test case for Bug#9442)
      mysql-test/t/ps.test:
        A test case for Bug#9442 "Set parameter make query fail if column 
        character set is UCS2
      c5775210
    • unknown's avatar
      A fix and a test case for Bug#9379 (collation of a parameter marker is · 346dfa00
      unknown authored
      binary).
      
      
      mysql-test/r/ps.result:
        Test results fixed (Bug#9379)
      mysql-test/t/ps.test:
        A test case for Bug#9379 (collation of a parameter marker is binary)
      sql/item.cc:
        - set Item_param::collation to str_value collation, if Item_param
        is assigned a string. Reset it to default in Item_param::reset() (on 
        the next execution it can be assigned a number).
      sql/item_func.cc:
        - now that item collation can change between executions
        (if this item is Item_param), we need to register the change
        of the execution tree in the rollback list.
      346dfa00
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 207284e8
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-11458
      
      207284e8
    • unknown's avatar
      Cleanup after test for Bug#11458 · 5f68aec7
      unknown authored
      5f68aec7
    • unknown's avatar
      4.1.13 has been cloned off · 6b7a2021
      unknown authored
      
      configure.in:
        Increase version number to 4.1.14, as the clone for 4.1.13 has been created.
      6b7a2021
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · eff6e36a
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-11458
      
      
      sql/mysql_priv.h:
        Auto merged
      eff6e36a
    • unknown's avatar
      - a fix for Bug#11458 "Prepared statement with subselects return random · 27303b09
      unknown authored
      data": remove the fix for another bug (8807) that
      added OUTER_REF_TABLE_BIT to all subqueries that used a placeholder
      to prevent their evaluation at prepare. As this bit hanged in 
      Item_subselect::used_tables_cache for ever, a constant subquery with
      a placeholder was never evaluated as such, which caused wrong 
      choice of the execution plan for the statement.
      - to fix Bug#8807 backport a better fix from 5.0
      - post-review fixes.
      
      
      mysql-test/r/ps.result:
        Bug#11458: test results fixed
      mysql-test/t/ps.test:
        - add a test case for Bug#11458 "Prepared statement with subselects return 
        random data"
      sql/item.cc:
        - remove unnecessary Item_param::fix_fields
        - fix Item_param::set_null to set item_type accordingly (safety:
          Item_param should behave like a basic constant).
      sql/item.h:
        Remove Item_param::fix_fields
      sql/item_subselect.h:
        Remove no more existing friend.
      sql/mysql_priv.h:
        Add UNCACHEABLE_PREPARE to mark all subqueries as uncacheable if
        in statement prepare (backport from 5.0).
      sql/sql_lex.h:
        Comment fixed.
      sql/sql_parse.cc:
        If in statement prepare, mark all subqueries as uncacheable (backport
        from 5.0)
      sql/sql_prepare.cc:
        Switch off the uncacheable flag from all subqueries after statement
        prepare is done (backport from 5.0)
      27303b09
    • unknown's avatar
      Bug#11905: Tables used in rpl_deadlock are not dropped at the · f4b8a13e
      unknown authored
      end of the test, causing subsequent tests to fail.
      
      
      mysql-test/r/rpl_deadlock.result:
        Result change.
      mysql-test/t/rpl_deadlock.test:
        Tables used in the test but not dropped.
      f4b8a13e
    • unknown's avatar
      Bug #9854 hex() and out of range handling · f4a2da92
      unknown authored
        added out of range handling
      
      f4a2da92