1. 11 Feb, 2005 2 commits
    • unknown's avatar
      return NDB_INVALID_SOCKET instead of -1 for Windows compatibility. · 23afe307
      unknown authored
      (Found in review by Tomas Ulin)
      
      23afe307
    • unknown's avatar
      WL2278 Dynamic ports - Impl 6, "deal with mgm server restart and multiple mgm servers" · 705898b4
      unknown authored
      - when connecting to a mgm server as a transporter, create a NdbMgmHandle
        - over this mgm handle, report the dynamic ports
        - then turn it into a transporter
      - this will re-report dynamic ports to mgmds when they restart (as we'll have to
      set up our transporter again). This will also report it to all mgmds (as we'll
      have transporters to all of them).
      
      
      ndb/include/mgmapi/mgmapi.h:
        Add ndb_mgm_convert_to_transporter
         - converts to a transporter connect
         - destroys the handle (without disconnecting)
         - returns socket
      ndb/include/transporter/TransporterRegistry.hpp:
        Add prototype for connect_ndb_mgmd
      ndb/include/util/SocketClient.hpp:
        Remove connect_without_auth
        
        Add get_port() and get_server_name()
      ndb/src/common/transporter/Transporter.cpp:
        use TransporterRegistry::connect_ndb_mgmd() to make the connection if isMgmConnection
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Impliment TransporterRegistry::connect_ndb_mgmd
        
        - takes a SocketClient and constructs a connectstring.
        - uses this connect string to make a NdbMgmHandle
        - send dynamic ports to this mgm server
        - transform into a transporter connect
        - return socket
      ndb/src/common/util/SocketClient.cpp:
        Remove connect_without_auth
      ndb/src/kernel/main.cpp:
        Don't relay dynamic ports. We now do this on transporter connect
      ndb/src/mgmapi/mgmapi.cpp:
        Impliment ndb_mgm_convert_to_transporter
        - converts the mgm connection into a transporter connection
        - destroys the handle
        - returns the socket that should now be used as a transporter
      705898b4
  2. 10 Feb, 2005 34 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 66d90859
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      66d90859
    • unknown's avatar
      added more debug trace · ff51bed8
      unknown authored
          + removed double check for invalid socket
      
      
      ndb/src/common/transporter/Transporter.cpp:
        added more debug trace
        + removed double check for invalid socket
      ndb/src/ndbapi/Ndb.cpp:
        added more debug trace
      ff51bed8
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · f558bd0c
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      f558bd0c
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · f2b7a6b5
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/run-test/daily-devel-tests.txt:
        Auto merged
      f2b7a6b5
    • unknown's avatar
      ndb - add more tests to autotest · b2e6dd76
      unknown authored
      
      ndb/test/run-test/daily-basic-tests.txt:
        run mysql-test-run for max 1 hour
          (normally 30 minutes)
      ndb/test/run-test/daily-devel-tests.txt:
        Add benchmark to devel suite
      ndb/test/run-test/main.cpp:
        Add bench mode. always produce report
      ndb/test/run-test/run-test.hpp:
        Add bench mode. always produce report
      b2e6dd76
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 904ef5f8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      904ef5f8
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 42ef98ce
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      42ef98ce
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 91d26550
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      91d26550
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · e4daae90
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      e4daae90
    • unknown's avatar
      ndb - adapt old testprg to changes in ndbapi · c398f5cc
      unknown authored
      
      ndb/test/ndbapi/bench/userInterface.h:
        adapt to changes in ndbapi
      c398f5cc
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 56d8b70f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      56d8b70f
    • unknown's avatar
      Merge mysql.com:/home/kostja/work/mysql-4.1-root · 736f9b4b
      unknown authored
      into mysql.com:/home/kostja/work/mysql-5.0-root
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      736f9b4b
    • unknown's avatar
      Follow-up for bug#7990 · aefda25b
      unknown authored
      
      libmysql/libmysql.c:
        And now put it to the proper place and make it work (Bug#7990)
      tests/mysql_client_test.c:
        Enable the test for bug#7990
      aefda25b
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · af477bfb
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      ndb/src/kernel/vm/FastScheduler.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      af477bfb
    • unknown's avatar
      merge · cf75ef97
      unknown authored
      cf75ef97
    • unknown's avatar
      daily-basic-tests.txt: · e66abffa
      unknown authored
        increased timeout as it is exceeded every now and then giving erroneous indication on error
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        increased timeout as it is exceeded every now and then giving erroneous indication on error
      e66abffa
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8cedaa26
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      8cedaa26
    • unknown's avatar
      Merge mysql.com:/home/kostja/work/mysql-4.1-root · b99dd022
      unknown authored
      into mysql.com:/home/kostja/work/mysql-5.0-root
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      b99dd022
    • unknown's avatar
      Fix -ansi -pedantic compilation failure. · 9d1c4278
      unknown authored
      9d1c4278
    • unknown's avatar
      A fix and test case for Bug#7990 "mysql_stmt_close doesn't · 7723f994
      unknown authored
      reset mysql->net.last_error": the solution is to clear
      MYSQL->net error before performing COM_CLOSE: if the call
      succeeds, the connection is usable for other statements.
      More comprehensive fix is to clear MYSQL->net for all
      recoverable errors at the time they happen, it will be
      implemented in 5.0 as it introduces incompatibility in behavior.
      
      
      libmysql/libmysql.c:
        A simple fix for Bug#7990 "mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      tests/mysql_client_test.c:
        A test case for Bug#7990 " mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      7723f994
    • unknown's avatar
      adopted test scripts · 77f3ed65
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        added debug printouts
      ndb/test/ndbapi/testDict.cpp:
        updated FragmentType tests, removed failing "equal" on the tables since they will not be equal because fragmentation is updated from the kernel
      ndb/test/run-test/16node-tests.txt:
        adopted test scripts to new Fragment test name
      ndb/test/run-test/basic.txt:
        adopted test scripts to new Fragment test name
      ndb/test/run-test/daily-basic-tests.txt:
        adopted test scripts to new Fragment test name
      77f3ed65
    • unknown's avatar
      manual merge · ee9644aa
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      ee9644aa
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 397f09b4
      unknown authored
      into neptunus.homeip.net:/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      397f09b4
    • unknown's avatar
      Things missing in last changset · 16bfc65d
      unknown authored
      After merge fixes
      Don't give duplicate warnings for some ::store() functions
      
      
      mysql-test/mysql-test-run.sh:
        Added back missing line
      mysql-test/r/ps_2myisam.result:
        Update results after removing duplicate warnings from ::store()
      mysql-test/r/ps_3innodb.result:
        Update results after removing duplicate warnings from ::store()
      mysql-test/r/ps_4heap.result:
        Update results after removing duplicate warnings from ::store()
      mysql-test/r/ps_5merge.result:
        Update results after removing duplicate warnings from ::store()
      sql/field.cc:
        Don't give duplicate warnings for some ::store() functions
        Before we could get different number of warnings in the test suite for different platforms
      sql/field.h:
        Update results after removing duplicate warnings from ::store()
      sql/sql_class.h:
        Update results after removing duplicate warnings from ::store()
      sql/sql_error.cc:
        Update results after removing duplicate warnings from ::store()
      sql/sql_list.h:
        After merge fix
      16bfc65d
    • unknown's avatar
      Change script to avoiud multiple --debug flags when starting master servers · 603a6ed7
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Use local var for the individulisation of tracefile name
      603a6ed7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e1e04829
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      e1e04829
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · d9718a81
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      d9718a81
    • unknown's avatar
      A fix and test case for Bug#8330 "mysql_stmt_execute crashes" (libmysql). · a3fcd3a0
      unknown authored
      
      libmysql/libmysql.c:
        Fix for bug#8330 "mysql_stmt_execute crashes": we need to bail out
        from mysql_stmt_execute if mysql->net is occupied with a result set of
        another statement. Otherwise on the next attempt to use net we get
        a crash, as it's freed in case of error.
      tests/mysql_client_test.c:
        A test case for Bug#8330 "mysql_stmt_execute craches" (libmysql)
      a3fcd3a0
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-rel · 05116aef
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      05116aef
    • unknown's avatar
      Added missing #ifdef HAVE_INNOBASE_DB:s in sql_parse.cc. · 1b965096
      unknown authored
      
      sql/sql_parse.cc:
        Added missing #ifdef HAVE_INNOBASE_DB:s.
      1b965096
    • unknown's avatar
      ndb - Reenable old benchmark · a59f52bc
      unknown authored
      
      ndb/test/ndbapi/Makefile.am:
        Reenable old benchmark
      a59f52bc
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 002037da
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      002037da
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-zlib · 71a1872d
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      71a1872d
    • unknown's avatar
      Merge with 4.1 · 4fca2103
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysqltest.c:
        Auto merged
      extra/my_print_defaults.c:
        Auto merged
      extra/perror.c:
        Auto merged
      extra/resolve_stack_dump.c:
        Auto merged
      include/help_end.h:
        Auto merged
      include/help_start.h:
        Auto merged
      myisam/myisamlog.c:
        Auto merged
      mysql-test/r/group_by.result:
        Auto merged
      mysql-test/r/heap_hash.result:
        Auto merged
      BitKeeper/deleted/.del-pack_isam.c~43801f0df7504834:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      ndb/src/kernel/vm/FastScheduler.cpp:
        Auto merged
      netware/mysql_test_run.c:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      netware/BUILD/nwbootstrap:
        merge: keep local
      scripts/make_binary_distribution.sh:
        merge: keep local
      sql/ha_heap.cc:
        Trivial merge
      sql/ha_innodb.cc:
        Auto merge (Code already existed in 5.0)
      sql/item_cmpfunc.cc:
        Simple merge
      sql/item_func.cc:
        Simple merge
      sql/item_row.cc:
        Simple merge
      sql/item_strfunc.cc:
        Simple merge
      sql/item_subselect.cc:
        Merge with sanjas optimzation patch, but keep old code withing ifdef as a reference until this is fixed
      4fca2103
  3. 09 Feb, 2005 4 commits