Commit graph

1901 commits

Author SHA1 Message Date
unknown
c87cfbafca Removed faulty impl.
sql/mysqld.cc:
  Auto merged
sql/sql_class.h:
  Auto merged
sql/ha_ndbcluster.cc:
  Removed this change, it will be modified later anyway
2005-03-10 13:09:41 +01:00
unknown
4f6e974197 Garbage "global" local variables in Dbacc
ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
  Added "global" local variables to init_globals_list
2005-03-10 13:06:22 +01:00
unknown
87636012c7 Fix uninitialised variable in Dbacc
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  Found use of uninitialised variable when increasing m_commit_count.
  Moved initialisation of rootfragrecptr to before increase of m_commit_count, and removed the two initializations further down, since they are now unneccessary.
2005-03-10 10:46:19 +01:00
unknown
6976089762 ndb - remove obsolete attribute storage type ACC vs TUP
ndb/include/kernel/signaldata/CreateEvnt.hpp:
  remove obsolete attribute storage type ACC vs TUP
ndb/include/kernel/signaldata/CreateIndx.hpp:
  remove obsolete attribute storage type ACC vs TUP
ndb/src/ndbapi/ndberror.c:
  remove obsolete attribute storage type ACC vs TUP
ndb/test/include/NdbSchemaOp.hpp:
  remove obsolete attribute storage type ACC vs TUP
ndb/test/ndbapi/bench/userInterface.cpp:
  remove obsolete attribute storage type ACC vs TUP
ndb/test/src/NdbSchemaOp.cpp:
  remove obsolete attribute storage type ACC vs TUP
2005-03-06 14:09:28 +01:00
unknown
3484af86db make sure the own node is set as connected... 2005-03-04 20:21:02 +01:00
unknown
45b0ea6546 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb


ndb/include/ndbapi/NdbTransaction.hpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/test/ndbapi/testNodeRestart.cpp:
  Auto merged
ndb/test/run-test/daily-devel-tests.txt:
  Auto merged
2005-03-04 12:23:17 +01:00
unknown
db86cb81aa changed order of transporter_connect and closing the mgmapisession
ndb/src/mgmsrv/MgmtSrvr.cpp:
  removed the extra setting of connected node, not needed
2005-03-04 12:19:53 +01:00
unknown
9cc85f40af get connected nodes correct earlier for correct node id allocation 2005-03-04 09:55:16 +01:00
unknown
daaeeedb49 Merged from 4.1
innobase/os/os0file.c:
  Auto merged
innobase/srv/srv0start.c:
  Auto merged
mysql-test/r/bigint.result:
  Auto merged
mysql-test/r/mysqldump.result:
  Auto merged
mysql-test/r/symlink.result:
  Auto merged
mysql-test/t/mysqldump.test:
  Auto merged
mysql-test/t/symlink.test:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/test/ndbapi/testNodeRestart.cpp:
  Auto merged
ndb/test/run-test/daily-devel-tests.txt:
  Auto merged
sql/item.h:
  Auto merged
strings/ctype-win1250ch.c:
  Auto merged
mysql-test/r/grant2.result:
  Hand-merged new test
mysql-test/t/grant2.test:
  Hand-merged new test
ndb/include/ndbapi/NdbTransaction.hpp:
  Used 5.0 version per tomas
sql/sql_acl.cc:
  Merge fix for Bug #3309.
2005-03-03 15:01:46 -08:00
unknown
ea0e5c32e4 updated example makefiles to add libmystrings
temporary added trace printouts for ndb autotest


ndb/ndbapi-examples/ndbapi_async_example/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_async_example1/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_event_example/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_retries_example/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_scan_example/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_simple_example/Makefile:
  updated example makefiles to add libmystrings
ndb/ndbapi-examples/ndbapi_simple_index_example/Makefile:
  updated example makefiles to add libmystrings
ndb/src/common/transporter/TransporterRegistry.cpp:
  temporary added trace printouts for ndb autotest
2005-03-03 20:21:45 +01:00
unknown
213a9f3e74 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2005-03-03 18:36:31 +01:00
unknown
e64fe38a39 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
sql/log.cc:
  Auto merged
2005-03-03 17:29:22 +01:00
unknown
b33746fda3 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports


ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Auto merged
2005-03-04 03:11:44 +11:00
unknown
85f94ce992 ndb - bug#8876 third and final solution
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  lqh to forward abort within ng
2005-03-03 12:45:49 +01:00
unknown
b6a9dc96c9 ndb - bug#8876
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  merge error?
2005-03-03 11:38:50 +01:00
unknown
f0005562e1 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2005-03-03 09:55:04 +01:00
unknown
b79de1d129 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2005-03-03 09:52:25 +01:00
unknown
793699f330 Add ndb/src/mgmapi/mgmapi_internal.h
move internal mgmapi functions into it.

should also fix AIX build problem.


ndb/include/mgmapi/mgmapi.h:
  Move ndb_mgm_convert_to_transporter to mgmapi_internal.h
  
  Should fix AIX build problem
ndb/include/mgmapi/mgmapi_debug.h:
  Move ndb_mgm_(get|set)_connection_int_parameter to mgmapi_internal.h
ndb/src/common/transporter/Makefile.am:
  Add ndb/src/mgmapi to include for common/transporter (TransporterRegistry requires the use of mgmapi_internal.h)
ndb/src/common/transporter/TransporterRegistry.cpp:
  Use mgmapi_internal.h
ndb/src/mgmapi/mgmapi.cpp:
  some functions defined in mgmapi_internal.h
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  use functions from mgmapi_internal.h
2005-03-03 19:49:58 +11:00
unknown
7ba75eb8ba Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/home/jonas/src/mysql-5.0-ndb
2005-03-03 08:52:44 +01:00
unknown
763ce399f7 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1


ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
2005-03-03 08:38:10 +01:00
unknown
e4d12c5ace Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0
2005-03-03 08:35:55 +01:00
unknown
92014782ac ndb - bug#8876
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  typo - use of global var, spotted by mikael
2005-03-03 01:07:03 +01:00
unknown
ff7d3c3de5 Variable 'k' declared at both loop and function level caused compiler failures -
use function-wide declaration also for loop body.


ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Get rid of a duplicate declaration ('Uint32 k;' at function start) that caused 
  compiler failures on 'octane2' (both 32 and 64 bit) and a compiler crash on 'ds20'.
  It would be better not to use those variable declarations with a loop scope,
  they have caused compile problems again and again.
2005-03-02 11:47:09 +01:00
unknown
af529fd14c Makefile.am:
updated ndb test makefile to make src dist complete


ndb/test/ndbapi/Makefile.am:
  updated ndb test makefile to make src dist complete
2005-03-02 00:25:16 +01:00
unknown
50c10575cb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2005-03-01 22:30:48 +01:00
unknown
60e5117a79 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0


ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/test/run-test/daily-devel-tests.txt:
  Auto merged
2005-03-01 13:41:22 +01:00
unknown
df518e5546 merge
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/test/ndbapi/testNodeRestart.cpp:
  Auto merged
ndb/test/run-test/daily-devel-tests.txt:
  Auto merged
2005-03-01 13:39:22 +01:00
unknown
705fbb7633 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1


ndb/include/ndbapi/NdbConnection.hpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/test/run-test/daily-devel-tests.txt:
  Auto merged
2005-03-01 13:35:57 +01:00
unknown
eab1e62c2c bug#8853 - ndb - commit after nodefailure on not TC node
set exec_flag in execTC_COMMITREQ so that api will get rollbackrep


ndb/include/ndbapi/NdbConnection.hpp:
  Make getConnectedNode public
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Fix TC_COMMITREQ in abort cases
ndb/test/ndbapi/testNodeRestart.cpp:
  Testcase for bug#8853
ndb/test/run-test/daily-devel-tests.txt:
  Testcase for bug#8853
2005-03-01 13:32:11 +01:00
unknown
b03c881fad Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports
2005-03-01 19:56:24 +11:00
unknown
65be842f79 Fixes from Tomas's review of 'use configuration mgm handle as a transporter'.
This should help with the  PURGE STALE SESSIONS problem.


ndb/src/common/transporter/TransporterRegistry.cpp:
  No longer need to do funny connecting and port reporting in start_service as we
  convert the configuration mgm after we have bound to the ports we have to report.
  
  use a BaseString for constructing the connect string.
ndb/src/kernel/main.cpp:
  Reuse the mgm handle used to fetch configuration as a transporter connection.
ndb/src/kernel/vm/Configuration.cpp:
  m_mgmd_host is now a BaseString.
ndb/src/kernel/vm/Configuration.hpp:
  use BaseString for m_mgmd_host
2005-03-01 19:53:57 +11:00
unknown
4ef7991d28 Merge mysql.com:/space/pekka/ndb/version/my50
into mysql.com:/space/pekka/ndb/version/my50-ndb


ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
2005-02-27 17:25:31 +01:00
unknown
108702a34e ndb - bugfix to ordered index create, could show up as charset error
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  bugfix: bad signal to ACC for ordered index
2005-02-27 17:24:18 +01:00
unknown
85b82a8af8 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/space/pekka/ndb/version/my50-ndb


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2005-02-26 18:01:15 +01:00
unknown
1f9a26678d NdbDictionaryImpl.cpp:
fix error code


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  fix error code
2005-02-26 17:59:23 +01:00
unknown
477205f776 ndb - wl-1203 alignment fix
ndb/include/ndb_constants.h:
  consistent names
ndb/include/ndbapi/NdbDictionary.hpp:
  consistent names
ndb/include/util/NdbSqlUtil.hpp:
  consistent names
ndb/src/common/util/NdbSqlUtil.cpp:
  minor completion
ndb/src/ndbapi/NdbOperationInt.cpp:
  alignment fix
2005-02-26 16:56:39 +01:00
unknown
613d326a63 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb


ndb/include/kernel/signaldata/CreateIndx.hpp:
  Auto merged
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
2005-02-25 13:21:17 +01:00
unknown
69d6955327 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-5.0


ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2005-02-25 09:15:52 +01:00
unknown
52902cb849 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2005-02-25 09:14:43 +01:00
unknown
b89feadf56 BUG#8786 - ndb_autodiscover, post review
More explicit naming of variables


ndb/include/kernel/signaldata/AlterIndx.hpp:
  Add union to indicate where master node is passed in ref
ndb/include/kernel/signaldata/BuildIndx.hpp:
  Add union to indicate where master node is passed in ref
ndb/include/kernel/signaldata/CreateIndx.hpp:
  Add union to indicate where master node is passed in ref
ndb/include/kernel/signaldata/CreateTrig.hpp:
  Add union to indicate where master node is passed in ref
ndb/include/kernel/signaldata/DropIndx.hpp:
  Add union to indicate where master node is passed in ref
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Set error/master node also on BuildIndxRef
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Use masterNodeId instead of errornode
2005-02-25 09:10:35 +01:00
unknown
f93e070abe Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
2005-02-24 22:10:03 +01:00
unknown
5b81bef1d5 NdbDictionaryImpl.cpp:
debug printouts


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  debug printouts
2005-02-24 22:09:25 +01:00
unknown
dde2e462f1 Merge mysql.com:/home/jonas/src/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0-ndb


ndb/tools/drop_index.cpp:
  Auto merged
ndb/tools/drop_tab.cpp:
  Auto merged
2005-02-24 20:58:26 +01:00
unknown
2f7fde4877 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/home/jonas/src/mysql-5.0-ndb


sql/ha_ndbcluster.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
2005-02-24 20:57:32 +01:00
unknown
a9201bf6eb bug#8786 - ndb_autodiscover - 5.0 specific details
Wait some for all nodes to get connected


ndb/tools/drop_index.cpp:
  Wait some for all nodes to get connected
ndb/tools/drop_tab.cpp:
  Wait some for all nodes to get connected
2005-02-24 20:56:59 +01:00
unknown
1c2ea24efa Merge mysql.com:/home/jonas/src/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0-ndb


ndb/include/kernel/signaldata/CreateIndx.hpp:
  Auto merged
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
2005-02-24 20:48:33 +01:00
unknown
185a811e8e Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-5.0


ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
2005-02-24 19:01:36 +01:00
unknown
92e3070ca3 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1


ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
2005-02-24 18:59:56 +01:00
unknown
6b38100d61 bug#8786 - ndb autodiscover, sometimes fails
remove dict forwarding
  add api retries on NotMaster
  


ndb/include/kernel/signaldata/AlterIndx.hpp:
  Add NotMaster error code
ndb/include/kernel/signaldata/BuildIndx.hpp:
  Add NotMaster error code
ndb/include/kernel/signaldata/CreateIndx.hpp:
  Add NotMaster error code
ndb/include/kernel/signaldata/CreateTrig.hpp:
  Add NotMaster error code
ndb/include/kernel/signaldata/DropIndx.hpp:
  Add NotMaster error code
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Never forward requests,
    instead REF to API who will retry towards correct node
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  1) Set error code for timeout
  2) Handle NotMaster with retry in all DICT requests
ndb/src/ndbapi/ndb_cluster_connection.cpp:
  Fix so that input values is in seconds and not 100ms's
sql/ha_ndbcluster.cc:
  Wait 3 sec for all nodes to connect...
2005-02-24 18:58:56 +01:00
unknown
48429203a8 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/space/pekka/ndb/version/my50-ndb
2005-02-24 13:07:34 +01:00