An error occurred fetching the project authors.
- 05 Oct, 2004 1 commit
-
-
unknown authored
mysql-test/r/ndb_index_ordered.result: test case mysql-test/t/ndb_index_ordered.test: test case ndb/include/kernel/signaldata/ScanTab.hpp: Split exclusive/keyinfo ndb/include/ndbapi/NdbIndexScanOperation.hpp: Add possibility retreive sorted flag ndb/include/ndbapi/NdbOperation.hpp: Add possibility retreive lock mode ndb/include/ndbapi/NdbResultSet.hpp: Add possibility to get operation ndb/src/common/debugger/signaldata/ScanTab.cpp: Split exclusive/keyinfo ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Store flags in ScanFragReq::requestInfo format ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Store flags in ScanFragReq::requestInfo format ndb/src/ndbapi/NdbOperationDefine.cpp: Keep theLockMode up-to-date ndb/src/ndbapi/NdbScanOperation.cpp: Keep theLockMode up-to-date sql/ha_ndbcluster.cc: Use NdbIndexScanOperation::reset_bounds when performing second index access
-
- 04 Oct, 2004 2 commits
-
-
unknown authored
-
unknown authored
bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed added testcase for this use force send for all executes mysql-test/r/ndb_blob.result: added testcase for alter table of blob from ndb to myisam mysql-test/t/ndb_blob.test: added testcase for alter table of blob from ndb to myisam sql/ha_ndbcluster.cc: bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed use force send for all executes
-
- 03 Oct, 2004 2 commits
- 01 Oct, 2004 2 commits
-
-
unknown authored
column types TIMESTAMP is NOT NULL by default, so in order to have TIMESTAMP column holding NULL valaues you have to specify NULL as one of its attributes (this needed for backward compatibility). Main changes: Replaced TABLE::timestamp_default_now/on_update_now members with TABLE::timestamp_auto_set_type flag which is used everywhere for determining if we should auto-set value of TIMESTAMP field during this operation or not. We are also use Field_timestamp::set_time() instead of handler::update_timestamp() in handlers. mysql-test/r/type_timestamp.result: Added test for TIMESTAMP columns which are able to store NULL values. mysql-test/t/type_timestamp.test: Added test for TIMESTAMP columns which are able to store NULL values. sql/field.cc: Added support for TIMESTAMP fields holding NULL values. We don't need Field_timestamp::set_timestamp_offsets() anymore. Instead we need Field_timestamp::get_auto_set_type() function which will convert TIMESTAMP auto-set type stored in Field in unireg_check to value from timestamp_auto_set_type_enum. (We can't replace this function with additional Field_timestamp member and some code in constructor because then we will have troubles with Field::new_field() method). We should also set field to not null in Field_timestamp::set_time() now. sql/field.h: Added support for TIMESTAMP fields holding NULL values. We don't need Field_timestamp::set_timestamp_offsets() anymore. Instead we need Field_timestamp::get_auto_set_type() function, which will convert TIMESTAMP auto-set type stored in Field in unireg_check to value from timestamp_auto_set_type_enum. We also have to support NULL values in Field_timestamp::get_timestamp() function. sql/field_conv.cc: Added comment clarifying behavior in case of TIMESTAMP fields which are able to store NULL values. sql/ha_berkeley.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_heap.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_innodb.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_isam.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_isammrg.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_myisam.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_myisammrg.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/ha_ndbcluster.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now for determining if we should auto-set value of TIMESTAMP field during this operation. We are also use Field_timestamp::set_time() instead of handler::update_timestamp(). sql/handler.cc: handler::update_timestamp() is no longer needed since now we use Field_timestamp::set_time() instead. (we can't use handler::update_timestamp() anyway since field position only is not enough for TIMESTAMP fields which are able to store NULLs) sql/handler.h: handler::update_timestamp() is no longer needed since now we use Field_timestamp::set_time() instead. sql/item_timefunc.cc: Since now TIMESTAMP fields can hold NULL values we should take this into account. sql/sql_base.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now. (Here we use Field_timestamp::get_auto_set_type() to setup its value before further statement execution). sql/sql_insert.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now. sql/sql_load.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now. sql/sql_parse.cc: Added support for TIMESTAMP fields holding NULL values. We should distinguish NULL default values and non-specified default values for such fields (because latter could mean DEFAULT NOW() ON UPDATE NOW() in some cases). sql/sql_show.cc: Added support for TIMESTAMP fields holding NULL values. Unlike all other fields these are NOT NULL by default so we have to specify NULL attribute explicitly for them. sql/sql_table.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now. sql/sql_update.cc: Now we use TABLE::timestamp_field_type instead of TABLE::timestamp_default_now/on_update_now. sql/sql_yacc.yy: Added support for TIMESTAMP fields holding NULL values. Unlike all other fields these are NOT NULL by default (so we have to set NOT_NULL_FLAG properly for them). sql/table.h: Added timestamp_auto_set_type enum which values are used for indicating during which operations we should automatically set TIMESTAPM field value to current timestamp. TABLE: Replaced timestamp_default_now/on_update_now members with timestamp_auto_set_type flag (Now when TIMESTAMP field are able to store NULL values, single position of field in record is not enough for updating this field anyway).
-
unknown authored
-
- 28 Sep, 2004 6 commits
-
-
unknown authored
-
unknown authored
testing foce send sql/ha_ndbcluster.cc: testing foce send
-
unknown authored
typo sql/ha_ndbcluster.cc: typo
-
unknown authored
move lockmode from scan operation to operation added read tuple with lock mode ndb/include/ndbapi/NdbIndexOperation.hpp: added read tuple with lock mode ndb/include/ndbapi/NdbOperation.hpp: move lockmode from scan operation to operation ndb/include/ndbapi/NdbScanOperation.hpp: move lockmode from scan operation to operation ndb/src/ndbapi/NdbIndexOperation.cpp: added read tuple with lock mode ndb/src/ndbapi/NdbOperationDefine.cpp: added read tuple with lock mode sql/ha_ndbcluster.cc: set correct lockmode in all reads... moved lockmode from scan operatoin to operation
-
unknown authored
Adjusted so auto_increment value after bulk insert will be exactly +1 after last (if no parallel inserts)
-
unknown authored
sql/ha_ndbcluster.cc: HA_ERR_OLD_METADATA error code been removed
-
- 27 Sep, 2004 1 commit
-
-
unknown authored
added some debug printouts some changes in ndbcluster_init to make start of mysqld first work ndb/include/mgmcommon/ConfigRetriever.hpp: removed init on ConfigRetriever ndb/src/common/mgmcommon/ConfigRetriever.cpp: removed init on ConfigRetriever added some debug printouts ndb/src/kernel/vm/Configuration.cpp: removed init on ConfigRetriever ndb/src/ndbapi/ndb_cluster_connection.cpp: removed init on ConfigRetriever added sleep in retry sql/ha_ndbcluster.cc: some changes in ndbcluster_init to make start of mysqld first work
-
- 26 Sep, 2004 1 commit
-
-
unknown authored
* Changed the implementation of ndbcluster_find_files to be more efficient, using only one mutex lock * Moved ha_find_files to end of mysql_find_files so that it can be passed the list that we are interested to find. mysql-test/t/ndb_autodiscover.test: Added a new test case, disabled for now, waiting for mysql-test-run to set a NDB_CONNECTSTRING sql/ha_ndbcluster.cc: Rewrite of ndbcluster_find_files to remove and delete files using only one mutex lock. This version only discover files that fulfill wildcard. sql/ha_ndbcluster.h: Add list of files as parameter sql/handler.cc: Add list of files as parameter sql/handler.h: Add list of files as parameter sql/sql_show.cc: Moving the ha_find_files to end of function, so that the file lista can be passsed to it. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
- 25 Sep, 2004 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: No need to save the name of the unique index, its only used within the same function Removed unused variables and functions retrieving index_name sql/ha_ndbcluster.h: Remove unused varaibale unique_name as well as teh function get_index_name and get_unique_index_name BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
- 24 Sep, 2004 1 commit
-
-
unknown authored
removed debug printout new test in alter table for dictionay update test with multiple connections added coice of setting MaxNoOfOrderedIndexes added option to run "--small-bench" mysql-test/mysql-test-run.sh: added option to run "--small-bench" mysql-test/ndb/ndb_config_2_node.ini: added coice of setting MaxNoOfOrderedIndexes mysql-test/ndb/ndbcluster.sh: added coice of setting MaxNoOfOrderedIndexes mysql-test/r/ndb_alter_table.result: new test in alter table for dictionay update test with multiple connections mysql-test/t/ndb_alter_table.test: new test in alter table for dictionay update test with multiple connections ndb/src/ndbapi/DictCache.cpp: removed debug printout sql/ha_ndbcluster.cc: fix for invalidating table if mismatch with frm
-
- 21 Sep, 2004 2 commits
-
-
unknown authored
-
unknown authored
Changed WL#1424 to use the function ha_find_files. This is a simpler implementation and all handler specific code is hidden in the appropriate handler. mysql-test/r/ndb_autodiscover.result: Update test result, number of rows is 1 mysql-test/t/ndb_autodiscover.test: Dont run the test where table is dropped in NDb with ndb_drop_table sql/ha_ndbcluster.cc: Implement function ndbcluster_find_files which will discover new tables and delete old tables sql/ha_ndbcluster.h: Implement function ndbcluster_find_files Remove function ndbcluster_list_tables and ndbcluster_can_discover sql/handler.cc: Add ha_find_files called from mysql_find_files Remove ha_can_discover and ha_list_tables sql/handler.h: Add ha_find_files called from mysql_find_files Remove ha_can_discover and ha_list_tables sql/sql_show.cc: Revert to original version of sql_show.cc Only changes to this version is that ha_find_files is called from mysql_find_files in order to give the handlers a possibility to find new files in engine
-
- 20 Sep, 2004 4 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
sql/ha_ndbcluster.cc: Merge with Thd_ndb
-
unknown authored
Merge fixes mysql-test/r/ndb_insert.result: Correct test cases and result after merge mysql-test/t/ndb_insert.test: Correct test cases and result after merge sql/ha_ndbcluster.cc: Correct get_error_message after merge Use buf pointer in get_ndb_value
-
- 17 Sep, 2004 1 commit
-
-
unknown authored
-
- 16 Sep, 2004 1 commit
-
-
unknown authored
-
- 15 Sep, 2004 4 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
BUG#4775 "Duplicate key requires rollback of transaction" - Improved error message telling that transaction is aborted BUG#4312 "wrong behaviour on insert .. on duplicate key" functionality disabled mysql-test/r/ndb_insert.result: New tests for fduplicate inserts in combination with transaction New tests for INSERT IGNORE and REPLACE mysql-test/t/ndb_insert.test: New tests for fduplicate inserts in combination with transaction New tests for INSERT IGNORE and REPLACE ndb/src/ndbapi/NdbConnection.cpp: Return error 4350 "Transaction already aborted" if execute(Commit) is called when theCommitStatus==Aborted Add DBUG_PRINT's ndb/src/ndbapi/ndberror.c: Add new error message indicating that the transaction already has been aborted. sql/ha_ndbcluster.cc: Map all error code 0 to 1 in order to catch errors caused by NdbApi returning -1 without having set an error code. Use ndb object in THD in get_error_message BUG# 4312 Return HA_ERR_WRONG_COMMAND if extra(HA_EXTRA_IGNORE_DUP_KEY) is called Only use writeTuple if command is REPLACE sql/ha_ndbcluster.h: Added member variable to keep track of when HA_EXTRA_IGNORE_DUP_KEY is used, but NDB can't support it.
-
- 14 Sep, 2004 4 commits
-
-
unknown authored
-
unknown authored
added fix for keeping "records" up to date when execute() fails mysql-test/r/ndb_insert.result: Added testcase for select count() during transaction with failures mysql-test/t/ndb_insert.test: Added testcase for select count() during transaction with failures sql/ha_ndbcluster.cc: added fix for keeping "records" up to date when execute() fails sql/ha_ndbcluster.h: added fix for keeping "records" up to date when execute() fails
-
unknown authored
clearer configure description texts changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor move definition if Thd_ndb to .h file and changes seize/release to operate on Thd_ndb instead of Ndb objects moved allocation/deletion of Ndb objects to Thd_ndb ndb/include/ndbapi/NdbDictionary.hpp: new method to set size of local table data ndb/src/mgmsrv/ConfigInfo.cpp: clearer configure description texts ndb/src/ndbapi/DictCache.cpp: changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor ndb/src/ndbapi/DictCache.hpp: changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor ndb/src/ndbapi/NdbDictionary.cpp: new method to set size of local table data ndb/src/ndbapi/NdbDictionaryImpl.cpp: new method to set size of local table data ndb/src/ndbapi/NdbDictionaryImpl.hpp: new method to set size of local table data sql/ha_ndbcluster.cc: new method to set size of local table data moved allocation/deletion of Ndb objects to Thd_ndb sql/ha_ndbcluster.h: move definition if Thd_ndb to .h file and changes seize/release to operate on Thd_ndb instead of Ndb objects
-
unknown authored
new methods to keep "records" up to date unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization new methods to keep "records" up to datecorrect record field in ndbcluster handler new method for ndbcluster handler to store/retrieve table and thread specific data changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl hanged deleteKey to return ponter to deleted object moved heavy global cache fetch from inline to separate method mysql-test/r/ndb_alter_table.result: correct record field in ndbcluster handler mysql-test/r/ndb_blob.result: correct record field in ndbcluster handler ndb/include/ndbapi/NdbDictionary.hpp: new method for ndbcluster handler to store/retrieve table and thread specific data ndb/src/ndbapi/DictCache.cpp: changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl ndb/src/ndbapi/DictCache.hpp: changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl ndb/src/ndbapi/Ndb.cpp: replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info ndb/src/ndbapi/NdbDictionary.cpp: new method for ndbcluster handler to store/retrieve table and thread specific data ndb/src/ndbapi/NdbDictionaryImpl.cpp: changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl moved heavy global cache fetch from inline to separate method ndb/src/ndbapi/NdbDictionaryImpl.hpp: replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info ndb/src/ndbapi/NdbLinHash.hpp: changed deleteKey to return ponter to deleted object sql/ha_ndbcluster.cc: moved all ndb thread specific data into new placeholder new methods to keep "records" up to date unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization sql/ha_ndbcluster.h: new methods to keep "records" up to date sql/sql_class.h: moved all ndb thread specific data into new placeholder
-
- 13 Sep, 2004 2 commits
-
-
unknown authored
include/my_base.h: Added new bit to table create options Removed old error code HA_ERR_OLD_METADAT and reused it for HA_ERR_NO_SUCH_TABLE. mysql-test/r/ndb_autodiscover.result: Updated test cases mysql-test/t/ndb_autodiscover.test: Updated test cases mysql-test/t/ndb_autodiscover2.test: Updated test cases sql/discover.cc: Moved function create_table_from_handler to handler.cc sql/ha_ndbcluster.cc: Improved discover functionality Added .ndb file Changed error code mappings for a table that does not exist in engine Check for ndb object in THD Updated ndbcluster_discover, ndbcluster_list_tables and ndbcluster_can_discover sql/ha_ndbcluster.h: Improved discover sql/handler.cc: Added new error message mapping. Moved function ha_create_table_from_engine to handler level Added new functions ha_can_discover, ha_list_tables and ha_table_exists sql/handler.h: Added new error message mapping. Moved function ha_create_table_from_engine to handler level Added new functions ha_can_discover, ha_list_tables and ha_table_exists sql/mysql_priv.h: Removed create_table_from_handler, moved to handler.h sql/sql_base.cc: Renamed function create_table_from_handler sql/sql_show.cc: Added new function mysql_discover_files and mysql_list_files. Modified mysql_find_files to discover new and delete "old" files/tables. sql/sql_table.cc: Renamed create_table_from_handler Call ha_create_table_from_engine, in order to discover the the frm file before it can be dropped. sql/table.cc: Added mapping of the error code HA_ERR_NO_SUCH_TABLE
-
unknown authored
Check g_ndb before deleting it Wait until ready(10) if get mgm connection
-
- 07 Sep, 2004 5 commits
-
-
unknown authored
Use const table * in NDB API ndb/include/ndbapi/Ndb.hpp: Removed useFullyQualifiedNames(bool) Changed so that auto increment methods takes const pointer ndb/include/ndbapi/NdbBlob.hpp: Changed to const table pointer ndb/include/ndbapi/NdbConnection.hpp: Changed to const table pointer ndb/include/ndbapi/NdbIndexOperation.hpp: Changed to const table pointer ndb/include/ndbapi/NdbOperation.hpp: Changed to const table pointer ndb/include/ndbapi/NdbScanOperation.hpp: Changed to const table pointer ndb/src/kernel/blocks/backup/restore/Restore.cpp: Corrected size & array size in case of blob usage ndb/src/kernel/blocks/backup/restore/consumer_restore.cpp: Removed use fully qualified name Handle blob tables ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp: Introduced mapping between old/new table (wrt ids) ndb/src/kernel/blocks/backup/restore/main.cpp: removed extra Uint32 ndb/src/ndbapi/Ndb.cpp: Changed to const table pointer ndb/src/ndbapi/NdbConnection.cpp: Changed to const table pointer ndb/src/ndbapi/NdbIndexOperation.cpp: Changed to const table pointer ndb/src/ndbapi/NdbOperation.cpp: Changed to const table pointer ndb/src/ndbapi/NdbScanOperation.cpp: Changed to const table pointer sql/ha_ndbcluster.cc: Changed to const table pointer
-
unknown authored
-
unknown authored
added testcase
-
unknown authored
+ fix for support of multiple mgmt servers mysql-test/r/ndb_alter_table.result: added test case for bug #5431 mysql-test/t/ndb_alter_table.test: added test case for bug #5431 ndb/src/common/mgmcommon/ConfigRetriever.cpp: fix to make multiple mgmt srvrs work sql/ha_ndbcluster.cc: fixed and added test case for bug#5431
-
unknown authored
mysql-test/r/ndb_insert.result: Add tests for duplicate keys in combination with start/end_bulk_insert mysql-test/t/ndb_insert.test: Add tests for duplicate keys in combination with start/end_bulk_insert sql/ha_ndbcluster.cc: Set my_errno if error occurs in end_bulk_insert
-