An error occurred fetching the project authors.
- 15 Mar, 2005 1 commit
-
-
unknown authored
-This is mostly fixes for correct behaviour when using query cache + transactions + the thread that fetches commit count from NDB at regular intervals. The major fix is to add a list in thd_ndb, that keeps a list of NDB_SHARE's that were modified by transaction and then "clearing" them in ndbcluster_commit. mysql-test/r/ndb_cache2.result: Updated test cases for the ndb_util thread, more simultaneous tables and more tesst mysql-test/t/ndb_cache2.test: Updated test cases for the ndb_util thread, more simultaneous tables and more advanced tesst sql/ha_ndbcluster.cc: Add table changed during transaction to list of changed tables in Thd_ndb, this list is then used in ndbcluster_commit to invalidate the cached commit_count in share Fix so that ndb_util_thread uses milliseconds "sleeps" Changed so that ndb_commit_count uses the commit_count from share if available sql/ha_ndbcluster.h: Add commit_count_lock to NBD_SHARE, use for detecting simultaneous attempts to update commit_count Add list of tables changed by transaction to Thd_ndb Change check_ndb_connection to take thd as argument, use current_thd as default Added m_rows_changed variable to keep track of if this handler has modified any records within the transaction sql/set_var.cc: Change format of code Sort sys__ variables in aplha order
-
- 07 Mar, 2005 2 commits
- 28 Feb, 2005 1 commit
-
-
unknown authored
-
- 23 Feb, 2005 1 commit
-
-
unknown authored
mysql-test/r/ndb_condition_pushdown.result: Added more tests for condition pushdown to storage engine based on comments from code review mysql-test/t/ndb_condition_pushdown.test: Added more tests for condition pushdown to storage engine based on comments from code review
-
- 18 Feb, 2005 1 commit
-
-
unknown authored
-
- 17 Feb, 2005 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: incorporating changes from Martin sql/ha_ndbcluster.h: incorporating changes from Martin sql/item_func.h: remove a warning sql/sql_yacc.yy: remove a warning
-
- 16 Feb, 2005 1 commit
-
-
unknown authored
-
- 11 Feb, 2005 1 commit
-
-
unknown authored
-
- 07 Feb, 2005 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: Added a pthread_exit before thread exists sql/ha_ndbcluster.h: Changed storage of commit_count from uint to ulonglong
-
- 04 Feb, 2005 1 commit
-
-
unknown authored
mysql-test/r/ndb_cache.result: Added 'order by' to select's mysql-test/r/ndb_cache2.result: Added 'order by' to select's mysql-test/t/ndb_cache.test: Added 'order by' to select's mysql-test/t/ndb_cache2.test: Added 'order by' to select's sql/ha_innodb.h: Changed function name sql/ha_ndbcluster.cc: Merge from query cache from 4.1 to 5.0 Added better comments ndb_get_table_statistics had changed, so there where some adaptions to make sql/ha_ndbcluster.h: Changed name of function sql/handler.h: Changed name of function sql/sql_cache.cc: Changed name of function
-
- 01 Feb, 2005 2 commits
-
-
unknown authored
- Added a thread that fetches commit_count for open tables. This will mean that NDB will not have to be contacted for every use of a cached query. sql/ha_ndbcluster.cc: Added a thread that periodically will fetch commit_count for open tables and store that value in share. The commit count value is then used when query cache asks if a cached query can be used. The thread activation interval is regulated by the config variable ndb_cache_check_time, it's default value is 0 which means that NDB is contacted every time a cached query is reused. sql/ha_ndbcluster.h: Added commit_count to share Added ndb_cache_check_time sql/mysqld.cc: Added config variable ndb_cache_check_time sql/set_var.cc: Added config variable ndb_cache_check_time
-
unknown authored
-
- 26 Jan, 2005 1 commit
-
-
unknown authored
Bug#8101 unique indexes which attribute are _not_ specified in the order of the table does not work
-
- 14 Jan, 2005 1 commit
-
-
unknown authored
added number_of_replicas printout in show table status mysql-test/r/ndb_alter_table.result: added number_of_replicas to show table status printout mysql-test/r/ndb_autodiscover.result: added number_of_replicas to show table status printout ndb/include/ndbapi/NdbDictionary.hpp: added get method for replica count ndb/include/ndbapi/ndb_cluster_connection.hpp: added get method of node id ndb/src/ndbapi/NdbDictionary.cpp: added get method for replica count ndb/src/ndbapi/ndb_cluster_connection.cpp: added get method of node id
-
- 13 Jan, 2005 1 commit
-
-
unknown authored
Added pseudo column fragment memory changed ndb_get_table_statistics to take struct and read row_size and fragment_memory ndb/include/kernel/AttributeHeader.hpp: Added pseudo column fragment memory ndb/include/ndbapi/NdbDictionary.hpp: Added pseudo column fragment memory ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: Added pseudo column fragment memory ndb/src/ndbapi/NdbDictionary.cpp: Added pseudo column fragment memory ndb/src/ndbapi/NdbDictionaryImpl.cpp: Added pseudo column fragment memory sql/ha_ndbcluster.cc: changed ndb_get_table_statistics to take struct and read row_size and fragment_memory sql/ha_ndbcluster.h: partially implemented update_table_comment
-
- 11 Jan, 2005 1 commit
-
-
unknown authored
-
- 07 Jan, 2005 1 commit
-
-
unknown authored
-
- 04 Jan, 2005 3 commits
- 03 Jan, 2005 1 commit
-
-
unknown authored
-
- 30 Dec, 2004 1 commit
-
-
unknown authored
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
- 29 Dec, 2004 1 commit
-
-
unknown authored
-
- 28 Dec, 2004 1 commit
-
-
unknown authored
(hopefully last :-)) ndb/include/ndbapi/NdbDictionary.hpp: remove unimplemented types ndb/include/ndbapi/NdbReceiver.hpp: return pointer to row for simplified handling of current row features ndb/include/ndbapi/NdbScanOperation.hpp: return pointer to row for simplified handling of current row features ndb/src/ndbapi/NdbDictionaryImpl.cpp: remove unimplemented types ndb/src/ndbapi/NdbIndexOperation.cpp: remove unimplemented types ndb/src/ndbapi/NdbReceiver.cpp: return pointer to row for simplified handling of current row features ndb/src/ndbapi/NdbScanOperation.cpp: return pointer to row for simplified handling of current row features sql/ha_ndbcluster.cc: Impl. newest read_multi_range patch sql/ha_ndbcluster.h: Impl. newest read_multi_range patch sql/opt_range.cc: Add 1 to compensate for incorrect row estimate of 0
-
- 23 Dec, 2004 1 commit
-
-
unknown authored
removed friend declarations from doxygen updated some documentation in mgmapi BitKeeper/deleted/.del-NdbCursorOperation.hpp~da121aeaf101b136: Delete: ndb/include/ndbapi/NdbCursorOperation.hpp BitKeeper/deleted/.del-NdbCursorOperation.cpp~8d49480ced2deba5: Delete: ndb/src/ndbapi/NdbCursorOperation.cpp ndb/include/Makefile.am: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/ScanTab.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcCommit.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcHbRep.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcIndx.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcKeyConf.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcKeyFailConf.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TcRollbackRep.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/kernel/signaldata/TransIdAI.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/mgmapi/mgmapi.h: backwards compatible name change NdbConnectionto NdbTransaction documented some missing things in mgmapi ndb/include/ndbapi/Ndb.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbApi.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbBlob.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbDictionary.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbEventOperation.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbIndexOperation.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbIndexScanOperation.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbOperation.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbRecAttr.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbReceiver.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbScanFilter.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbScanOperation.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/include/ndbapi/NdbTransaction.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Makefile.am: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Ndb.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbApiSignal.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbBlob.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbImpl.hpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbIndexOperation.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbOperation.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbOperationDefine.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbOperationExec.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbOperationInt.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbOperationSearch.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbReceiver.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbScanOperation.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbTransaction.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/NdbTransactionScan.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Ndberr.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Ndbif.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Ndbinit.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/src/ndbapi/Ndblist.cpp: backwards compatible name change NdbConnectionto NdbTransaction ndb/tools/restore/consumer_restore.hpp: backwards compatible name change NdbConnectionto NdbTransaction sql/ha_ndbcluster.h: backwards compatible name change NdbConnectionto NdbTransaction
-
- 20 Dec, 2004 1 commit
-
-
unknown authored
mysql-test/ndb/ndb_range_bounds.pl: test ordered scan mysql-test/r/ndb_index_ordered.result: test ordered scan mysql-test/t/ndb_index_ordered.test: test ordered scan sql/ha_ndbcluster.cc: wl-1893: range scanning backwards, handler sql/ha_ndbcluster.h: wl-1893: range scanning backwards, handler
-
- 17 Dec, 2004 1 commit
-
-
unknown authored
-
- 15 Dec, 2004 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: #ifdef on key_multi_range sql/ha_ndbcluster.h: Use forward declarations for key_multi_range
-
- 07 Dec, 2004 1 commit
-
-
unknown authored
ndb/include/Makefile.am: remove result set ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fix so that noOfFiredTriggers aren't overwritten during scans sql/ha_ndbcluster.cc: 1) Fix bugs in completed read_multi_range 2) Change buffer handling so range scan are always put last in buffer This to support restart of scan sql/ha_ndbcluster.h: 1) Fix bugs in completed read_multi_range 2) Change buffer handling so range scan are always put last in buffer This to support restart of scan
-
- 06 Dec, 2004 2 commits
-
-
unknown authored
-
unknown authored
ndb/include/kernel/AttributeHeader.hpp: Added range_no pseudo column ndb/include/ndbapi/NdbDictionary.hpp: Added range_no pseudo column ndb/include/ndbapi/NdbIndexScanOperation.hpp: Add support for reading range_no ndb/include/ndbapi/NdbReceiver.hpp: Add support for reading range_no ndb/include/ndbapi/NdbScanOperation.hpp: Add support for reading range_no ndb/src/kernel/blocks/dblqh/Dblqh.hpp: Added range_no pseudo column ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Added range_no pseudo column ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: Added range_no pseudo column ndb/src/ndbapi/NdbDictionary.cpp: Added range_no pseudo column ndb/src/ndbapi/NdbDictionaryImpl.cpp: Added range_no pseudo column ndb/src/ndbapi/NdbReceiver.cpp: Add support for reading range_no ndb/src/ndbapi/NdbScanOperation.cpp: Read range no sql/ha_ndbcluster.cc: Set correct found_p using new feature read_range_no sql/ha_ndbcluster.h: Set correct found_p using new feature read_range_no
-
- 01 Dec, 2004 1 commit
-
-
unknown authored
mysql-test/r/ndb_read_multi_range.result: Add tests of null handling to read_multi mysql-test/t/ndb_read_multi_range.test: Add tests of null handling to read_multi ndb/include/ndbapi/NdbOperation.hpp: Get recattr ndb/include/ndbapi/NdbRecAttr.hpp: Get recattr sql/ha_ndbcluster.cc: Fix handling of null values wrt read multi range sql/ha_ndbcluster.h: Fix handling of null values wrt read multi range
-
- 30 Nov, 2004 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: New method for set_index_key Check null_in_key for read_multi_range sql/ha_ndbcluster.h: New method for set_index_key
-
- 26 Nov, 2004 1 commit
-
-
unknown authored
+fix mysql code style +adopt to interface changes by ingo sql/ha_ndbcluster.cc: Enable read_multi_range batching also for range scan(s) +fix mysql code style +adopt to interface changes by ingo sql/ha_ndbcluster.h: Enable read_multi_range batching also for range scan(s) +fix mysql code style +adopt to interface changes by ingo
-
- 25 Nov, 2004 1 commit
-
-
unknown authored
ndb will always return query cache type ASKTRANSACT
-
- 24 Nov, 2004 1 commit
-
-
unknown authored
enabled query cache for ndb modified engine interface somewhat sql/ha_innodb.h enabled query cache for ndb modified engine interface somewhat sql/ha_ndbcluster.cc enabled query cache for ndb modified engine interface somewhat ndb will only allow caching and retrieval if running autocommit - return false, but do not invalidate commit count is used as engine data, i.e. - store commit count before store of cache - allow retrieval if commit count has not changed on a table - invalidate if commit count has changed sql/ha_ndbcluster.h enabled query cache for ndb modified engine interface somewhat sql/handler.cc enabled query cache for ndb modified engine interface somewhat sql/handler.h enabled query cache for ndb modified engine interface somewhat new virtual handler method cached_table_registration called on each table before alowing store in query cache - return TRUE - ok to cache, FALSE - not allowed to cache, invalidate queries if engine_data below has changed - sets ulonglong (engine_data) that is stored in query cache for each table - sets callback to be called for each table before usage of cached query, callback = 0 -> no check later sql/mysql_priv.h enabled query cache for ndb modified engine interface somewhat callcack prototype for callback to engine before query cache retrieval sql/sql_cache.cc enabled query cache for ndb modified engine interface somewhat if callback is set on table in cache, do callback to check if allowed to use cache if not allowed to use cache, check if engine_data has changed, if so, invalidate all queries with that table + changes to store and pass callback and engine_data around sql/sql_cache.h enabled query cache for ndb modified engine interface somewhat changes to store callback and engine_data sql/table.h enabled query cache for ndb modified engine interface somewhat changes to store callback and engine_data sql/ha_innodb.cc: enabled query cache for ndb modified engine interface somewhat sql/ha_innodb.h: enabled query cache for ndb modified engine interface somewhat sql/ha_ndbcluster.cc: enabled query cache for ndb modified engine interface somewhat ndb will only allow caching and retrieval if running autocommit - return false, but do not invalidate commit count is used as engine data, i.e. - store commit count before store of cache - allow retrieval if commit count has not changed on a table - invalidate if commit count has changed sql/ha_ndbcluster.h: enabled query cache for ndb modified engine interface somewhat sql/handler.cc: enabled query cache for ndb modified engine interface somewhat sql/handler.h: enabled query cache for ndb modified engine interface somewhat new virtual handler method cached_table_registration called on each table before alowing store in query cache - return TRUE - ok to cache, FALSE - not allowed to cache, invalidate queries if engine_data below has changed - sets ulonglong (engine_data) that is stored in query cache for each table - sets callback to be called for each table before usage of cached query, callback = 0 -> no check later sql/mysql_priv.h: enabled query cache for ndb modified engine interface somewhat callcack prototype for callback to engine before query cache retrieval sql/sql_cache.cc: enabled query cache for ndb modified engine interface somewhat if callback is set on table in cache, do callback to check if allowed to use cache if not allowed to use cache, check if engine_data has changed, if so, invalidate all queries with that table + changes to store and pass callback and engine_data around sql/sql_cache.h: enabled query cache for ndb modified engine interface somewhat changes to store callback and engine_data sql/table.h: enabled query cache for ndb modified engine interface somewhat changes to store callback and engine_data
-
- 23 Nov, 2004 1 commit
-
-
unknown authored
-
- 22 Nov, 2004 2 commits
-
-
unknown authored
prepared for using query cache in ndb ndb/include/ndbapi/NdbIndexScanOperation.hpp: added force send interface to scan ndb/include/ndbapi/NdbResultSet.hpp: added force send interface to scan ndb/include/ndbapi/NdbScanOperation.hpp: added force send interface to scan ndb/src/ndbapi/NdbResultSet.cpp: added force send interface to scan ndb/src/ndbapi/NdbScanOperation.cpp: added force send interface to scan
-
unknown authored
-