1. 14 Jul, 2005 24 commits
    • unknown's avatar
      Merge · fd152f68
      unknown authored
      
      ndb/include/util/SocketServer.hpp:
        Auto merged
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Auto merged
      ndb/src/common/util/SocketClient.cpp:
        Auto merged
      ndb/src/common/util/SocketServer.cpp:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/mgmclient/main.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/ndbapi/ClusterMgr.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      ndb/include/util/ndb_opts.h:
        merge
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        merge
      ndb/src/common/transporter/TransporterRegistry.cpp:
        merge
      ndb/src/mgmapi/mgmapi.cpp:
        merge
      ndb/src/mgmclient/CommandInterpreter.cpp:
        merge
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        merge
      ndb/src/mgmsrv/Services.cpp:
        merge
      ndb/src/mgmsrv/main.cpp:
        merge
      ndb/src/ndbapi/TransporterFacade.cpp:
        merge
      fd152f68
    • unknown's avatar
      misc (memleak) fixes: · 638fe9ec
      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
      638fe9ec
    • unknown's avatar
      BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener · 2fdc89da
      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
      2fdc89da
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a1a05ac8
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      a1a05ac8
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 841f71b1
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      libmysql/libmysql.c:
        Manual merge
      tests/mysql_client_test.c:
        Manual merge
      841f71b1
    • unknown's avatar
      stilled mem leak in usage on getVersionString · f7c3e510
      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
      f7c3e510
    • unknown's avatar
      A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't reset · bd44c99b
      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"
      bd44c99b
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 5858a8cd
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/field.cc:
        manual merge
      tests/mysql_client_test.c:
        manual merge
      mysql-test/r/select.result:
        manual merge
      mysql-test/t/select.test:
        manual merge
      sql/sql_select.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      5858a8cd
    • unknown's avatar
      added debug prints · 66fccd82
      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
      66fccd82
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 69ecbbcb
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      
      69ecbbcb
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-build-tree · 96dcb8c2
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-merge-from-build
      
      
      sql/item_func.cc:
        Auto merged
      96dcb8c2
    • unknown's avatar
      Fix for BUG#11869: In Item_func_match::fix_index() handle the case when there is no · c0bcf503
      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
      c0bcf503
    • unknown's avatar
      Fix for BUG#11700: in add_not_null_conds(), call full fix_fields() for the created NOT NULL. · d91c901f
      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
      d91c901f
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 51b60984
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      51b60984
    • unknown's avatar
      Fix for bug #10929 (type_newdecimal.test requires InnoDB) · 43fff9d5
      unknown authored
      
      mysql-test/r/innodb.result:
        test result fixed
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/innodb.test:
        test moved here
      mysql-test/t/type_newdecimal.test:
        Innobase bug moved to the innodb.test
      43fff9d5
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 20d8170a
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      20d8170a
    • unknown's avatar
      item.cc: · 9f707ab2
      unknown authored
        After merge fix.
      
      
      sql/item.cc:
        After merge fix.
      9f707ab2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7e2defb6
      unknown authored
      into  mysql.com:/media/sda1/mysql/mysql-5.0-10760-new
      
      
      7e2defb6
    • unknown's avatar
      Implement MarkM optimization request to avoid redundnat packet exchange · fd9f67f8
      unknown authored
      in cursors.
      
      
      libmysql/libmysql.c:
        - reset_stmt_handle(): don't reset the server side just because we have 
          an open cursor: the server will close the cursor automatically if 
          needed
      sql/sql_prepare.cc:
        - implement Prepared_statement::close_cursor,
        - implicitly close an open cursor in mysql_stmt_execute instead of 
          issuing an error (to reduce the need to explicitly close cursors
          and save network bandwidth).
        - cleanup
      sql/sql_select.cc:
        Remove a destructor: cursor destruction can not be done by simply
        calling a destructor, because of cross-references between cursor
        and statement memory.
      sql/sql_select.h:
        - add an empty Cursor destructor
      tests/mysql_client_test.c:
        - remove a test for dropped functionality
      fd9f67f8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · eb4a309b
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      
      eb4a309b
    • unknown's avatar
      A fix and a test case for Bug#9735. · a16a61d9
      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"
      a16a61d9
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.num-conv · 212345b4
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/item.cc:
        After merge fix.
      212345b4
    • unknown's avatar
      valgrind error fix(uninitialiased variable) · c0e325a3
      unknown authored
      removed unnecessary operation
      
      
      sql/sql_lex.cc:
        valgrind error fix(uninitialiased variable)
      sql/sql_parse.cc:
        removed unnecessary operation
      c0e325a3
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 86cb32b7
      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
      86cb32b7
  2. 13 Jul, 2005 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ba10fa9
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      8ba10fa9
    • unknown's avatar
      Post-merge fixes. · 060730f4
      unknown authored
      060730f4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 10ec1349
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-mysqlproc
      
      
      10ec1349
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-9379 · 27180ce9
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      27180ce9
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 15413296
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      
      VC++Files/tests/mysql_client_test.dsp:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      15413296
    • unknown's avatar
      A test case for Bug#9442 "Set parameter make query fail if column · c663aa89
      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
      c663aa89
    • unknown's avatar
      Merging separate commits into 5.0.9-beta build clone and general BK tree. · 19f4236b
      unknown authored
      Tagging the 5.0.9-beta release.
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      VC++Files/tests/mysql_client_test.dsp:
        Merging separate commits into 5.0.9-beta build clone and general BK tree.
      sql/sql_insert.cc:
        Merging separate commits into 5.0.9-beta build clone and general BK tree.
      19f4236b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 03cf7dde
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-mysqlproc
      
      
      03cf7dde
    • unknown's avatar
      Now when we create or drop trigger we will open only subject table and not · 4c197d99
      unknown authored
      all tables suggested by prelocking algorithm.
      Added test for bug #11889 "Server crashes when dropping trigger using stored
      routine" (which was fixed by previous patch).
      
      
      mysql-test/r/trigger.result:
        Since we are using open_ltable() now to open table for trigger creation, code
        for error when we try to create trigger on view has changed to equivalent one.
        Added test for bug #11889 "Server crashes when dropping trigger using stored
        routine".
      mysql-test/t/trigger.test:
        Since we are using open_ltable() now to open table for trigger creation, code
        for error when we try to create trigger on view has changed to equivalent one.
        Added test for bug #11889 "Server crashes when dropping trigger using stored
        routine".
      sql/sql_trigger.cc:
        mysql_create_or_drop_trigger():
          It is better to open only table for which we are going to create or drop
          trigger with open_ltable() since we don't really need working prelocking
          in this case.
      4c197d99
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-9379 · 061406ba
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      sql/item.cc:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      sql/item_func.cc:
        Manual merge.
      061406ba
    • unknown's avatar
      A fix and a test case for Bug#9379 (collation of a parameter marker is · 98248f04
      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.
      98248f04
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-11458 · b7033fb3
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      configure.in:
        Manual merge
      mysql-test/r/ps.result:
        Manual merge
      mysql-test/t/ps.test:
        Manual merge
      b7033fb3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 51ce56e6
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      51ce56e6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e064ca31
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-11458
      
      
      e064ca31
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-11458 · 91c97a76
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      sql/item.cc:
        Manual merge.
      sql/item.h:
        Manual merge.
      sql/item_subselect.h:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_prepare.cc:
        Manual merge.
      91c97a76
    • unknown's avatar
      Cleanup after test for Bug#11458 · f5c8f42f
      unknown authored
      f5c8f42f