An error occurred fetching the project authors.
- 25 Jun, 2007 1 commit
-
-
unknown authored
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: post merge
-
- 05 Jun, 2007 1 commit
-
-
unknown authored
- add odirect option for lcp+backup+redo log to lower CPU/kswapd usage - writing odirect removes need for kernel write buffers avoiding kswapd to kick in mysql-test/ndb/ndb_config_2_node.ini: run mysql-test-run using ODirect storage/ndb/include/mgmapi/mgmapi_config_parameters.h: add new config parameter to choose ODirect storage/ndb/include/ndb_global.h.in: specify alignment needed for odirect storage/ndb/src/kernel/blocks/backup/Backup.cpp: read odirect config param open LCP and Backup datafiles with odirect if specified insert empty padding record if odirect is used allocate buffers aligned to be able to use odirect storage/ndb/src/kernel/blocks/backup/Backup.hpp: odirect and padding options storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp: add empty_record in file format storage/ndb/src/kernel/blocks/backup/BackupInit.cpp: read odirect config and allocate aligned storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp: correct debug printouts storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: read odirect config param and align buffers storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp: read odirect config param and align buffers storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: read config params and open redo log files with odirect if set storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp: aligned writing for odirect correct odirect open options with test+fallback if odirect fails storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp: align + odirect check storage/ndb/src/kernel/blocks/restore.cpp: restor block to ignore new lcp padding empty_record storage/ndb/src/kernel/vm/SimulatedBlock.cpp: alligend log buffer allocation for odirect storage/ndb/src/kernel/vm/SimulatedBlock.hpp: alligend log buffer allocation for odirect storage/ndb/src/mgmsrv/ConfigInfo.cpp: new config param for odirect, default false storage/ndb/tools/restore/Restore.cpp: ndb_restore to skip empty_record alignment padding in backup file
-
- 04 Jun, 2007 1 commit
-
-
unknown authored
using new config variable FragmentLogFileSize (4M - 1G) mysql-test/ndb/ndb_config_1_node.ini: change log file size (test) mysql-test/ndb/ndb_config_2_node.ini: change log file size (test) storage/ndb/include/mgmapi/mgmapi_config_parameters.h: add new confif parameter storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: make logfile size configurable storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp: make logfile size configurable storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: make logfile size configurable storage/ndb/src/mgmsrv/ConfigInfo.cpp: add new config variable storage/ndb/src/ndbapi/ndberror.c: update error message
-
- 24 May, 2007 2 commits
- 22 May, 2007 1 commit
-
-
unknown authored
- change to scan in tup and disk order (if applicable) storage/ndb/src/kernel/blocks/backup/Backup.cpp: tup scan for backup also, not only lcp storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: choose disk order scan for disktables during backup + move bug workaround for 27776 from tup to lqh storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: add missing jamEntry storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: move bug workaround for 27776 from tup to lqh storage/ndb/src/kernel/blocks/pgman.cpp: missing jamEntry
-
- 30 Apr, 2007 2 commits
-
-
unknown authored
fix commit triggers with DD but not using DD storage/ndb/include/kernel/signaldata/TupCommit.hpp: add diskpage storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: add diskpage storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: pass disk/nodisk down detachedtrigger-path storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp: use TUPCOMMIT req for signaling diskpage back and forth so that I can init pointers (VM_TRACE) when from LQH storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: remove niclude storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: only derefence disk pointer if needed
-
unknown authored
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fix forceVarPart also for ordered indexes storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: Add new table flag storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: set null ref in case of force var part storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: add varref also for force var part storage/ndb/test/src/NDBT_Tables.cpp: "randomly" set forcevart on NDBT tables
-
- 26 Apr, 2007 1 commit
-
-
unknown authored
-
- 23 Feb, 2007 1 commit
-
-
unknown authored
Fixed compile-pentium64 scripts Fixed wrong estimate of update_with_key_prefix in sql-bench Merge bk-internal.mysql.com:/home/bk/mysql-5.1 into mysql.com:/home/my/mysql-5.1 Fixed unsafe define of uint4korr() Fixed that --extern works with mysql-test-run.pl Small trivial cleanups This also fixes a bug in counting number of rows that are updated when we have many simultanous queries Move all connection handling and command exectuion main loop from sql_parse.cc to sql_connection.cc Split handle_one_connection() into reusable sub functions. Split create_new_thread() into reusable sub functions. Added thread_scheduler; Preliminary interface code for future thread_handling code. Use 'my_thread_id' for internal thread id's Make thr_alarm_kill() to depend on thread_id instead of thread Make thr_abort_locks_for_thread() depend on thread_id instead of thread In store_globals(), set my_thread_var->id to be thd->thread_id. Use my_thread_var->id as basis for my_thread_name() The above changes makes the connection we have between THD and threads more soft. Added a lot of DBUG_PRINT() and DBUG_ASSERT() functions Fixed compiler warnings Fixed core dumps when running with --debug Removed setting of signal masks (was never used) Made event code call pthread_exit() (portability fix) Fixed that event code doesn't call DBUG_xxx functions before my_thread_init() is called. Made handling of thread_id and thd->variables.pseudo_thread_id uniform. Removed one common 'not freed memory' warning from mysqltest Fixed a couple of usage of not initialized warnings (unlikely cases) Suppress compiler warnings from bdb and (for the moment) warnings from ndb BitKeeper/deleted/.del-SETUP.sh.rej: Rename: BUILD/SETUP.sh.rej -> BitKeeper/deleted/.del-SETUP.sh.rej BitKeeper/deleted/.del-configure.in.rej: Rename: configure.in.rej -> BitKeeper/deleted/.del-configure.in.rej BitKeeper/deleted/.del-my_global.h.rej: Rename: include/my_global.h.rej -> BitKeeper/deleted/.del-my_global.h.rej BitKeeper/deleted/.del-my_pthread.h.rej: Rename: include/my_pthread.h.rej -> BitKeeper/deleted/.del-my_pthread.h.rej BitKeeper/deleted/.del-mysql_client_test.c.rej: Rename: tests/mysql_client_test.c.rej -> BitKeeper/deleted/.del-mysql_client_test.c.rej BitKeeper/deleted/.del-mysqld.cc.rej~35c1c438e11ebd89: Rename: sql/mysqld.cc.rej -> BitKeeper/deleted/.del-mysqld.cc.rej~35c1c438e11ebd89 BitKeeper/deleted/.del-sql_parse.cc.rej: Rename: sql/sql_parse.cc.rej -> BitKeeper/deleted/.del-sql_parse.cc.rej BitKeeper/deleted/.del-table.cc.rej: Rename: sql/table.cc.rej -> BitKeeper/deleted/.del-table.cc.rej BitKeeper/deleted/.del-thr_alarm.c.rej: Rename: mysys/thr_alarm.c.rej -> BitKeeper/deleted/.del-thr_alarm.c.rej BUILD/compile-pentium64: Update this to be in line with compile-pentium BUILD/compile-pentium: Send command line options to SETUP.sh BUILD/compile-solaris-sparc-debug: Update scripts BUILD/compile-solaris-sparc-forte: Update scripts BUILD/compile-solaris-sparc-purify: Update scripts BUILD/compile-solaris-sparc: Update scripts BitKeeper/deleted/.del-DbtupSystemRestart.cpp~15b54d7e4e75d2d: Removed compiler warning BitKeeper/deleted/.del-ha_berkeley.cc: Moved get_auto_primary_key() here as int5store() gives (wrong) compiler warnings in win64 configure.in: Added detection of port_create and port.h (for future)as --- manual merge BitKeeper/deleted/.del-ha_berkeley.h: Moved get_auto_primary_key() to ha_berkeley.cc BitKeeper/deleted/.del-mysqlmanager.c~e97636d71145a0b: Fixed compiler warnings BitKeeper/etc/ignore: added storage/ndb/src/ndbapi/ndberror_check client/mysqlbinlog.cc: Removed not needed 'static' (caused compiler warning) client/mysqldump.c: Fixed compiler warnings from 'max' build client/mysqltest.c: Free warning and query memory no abort. (Removes strange warnings on screen if mysql-test-run fails) Removed compiler warnings Portability fix for windows (windows doesn't have mode_t) client/sql_string.h: Removed compiler warning cmd-line-utils/readline/xmalloc.c: Fixed compiler warnings from 'max' build extra/charset2html.c: Fixed compiler warnings extra/comp_err.c: Fixed compiler warnings from 'max' build extra/yassl/include/lock.hpp: Fix for windows64 extra/yassl/include/openssl/ssl.h: Changed prototype for SSL_set_fd() to fix compiler warnings (and possible errors) on windows 64 bit extra/yassl/include/socket_wrapper.hpp: Moved socket_t to ssl.h, to be able to removed compiler warnings on windows 64 bit extra/yassl/include/yassl.hpp: Fix for windows64 extra/yassl/src/ssl.cpp: Removed compiler warning Detect wrong parameter (Happens when running test suite on solaris) Changed prototype for SSL_set_fd() to fix compiler warnings (and possible errors) on windows 64 bit extra/yassl/taocrypt/src/integer.cpp: Fixed compiler warnings extra/yassl/testsuite/testsuite.cpp: Removed compiler warning include/config-win.h: Added HAVE_WINSOCK2 (for future) include/my_dbug.h: Fixed DBUG_PROCESS() so that we don't get compiler warnings for it include/my_global.h: Fixed unsafe define of uint4korr() manual merge (ignore changes from 5.0) Fixed warnings on win64 when using int5store and int6store include/my_pthread.h: Added my_thread_id typedef Renamed 'my_thread_id() function to my_thead_dbug_id() include/thr_alarm.h: Make thr_alarm_kill() to depend on thread_id instead of thread include/thr_lock.h: Make thr_abort_locks_for_thread() depend on thread_id instead of thread libmysql/libmysql.def: Fixed compiler warnings on win64 libmysqld/CMakeLists.txt: Added missing files libmysqld/Makefile.am: Added new files libmysqld/lib_sql.cc: Remove not needed code (store_globals() now takes care of things) mysql-test/lib/mtr_report.pl: Removed wrong messages when using --extern mysql-test/mysql-test-run.pl: Fixed that --extern works Print help on stdout instead of stderr (make it easier to pipe it to less) Fixed typo that caused mysql-test-run.pl to fail on Solaris mysql-test/r/keywords.result: manual merge mysql-test/r/ndb_lock.result: After merge fixes mysql-test/r/ps.result: Portability fix mysql-test/t/disabled.def: Disabled ndb_alter_table as this very often fails for me (and have done it for a long time) mysql-test/t/keywords.test: manual merge mysql-test/t/ndb_lock.test: Added other possible error code mysql-test/t/ps.test: Portability fix (when compiling without DLOPEN) mysql-test/t/wait_timeout.test: Don't run this if we are not using a thread per connection (as other thread_handling code may not support timeouts) mysys/base64.c: Fixed compiler warnings on win64 mysys/mf_keycache.c: Fixed compiler warnings mysys/my_getopt.c: Fixed compiler warning mysys/my_init.c: Fixed compiler warning Re-indented long comment mysys/my_thr_init.c: Always use mysys_var->id to generate thread name (makes things uniform accross thread implementations and thread usage) Always generate my_thread_name() when using DBUG Ensure mysys_var->pthread_self is set Fixed compiler warnings mysys/ptr_cmp.c: Fixed compiler warnings from 'max' build mysys/thr_alarm.c: Change thr_alarm_kill() to use mysys_var->id instead of thread id Fixed compiler warning on windows mysys/thr_lock.c: Change thr_abort_locks_for_thread() to use mysys_var->id instead of thread id Add purecov statements around not tested code Fixed compiler warnings mysys/thr_mutex.c: my_thread_id() -> my_thread_dbug_id() server-tools/instance-manager/guardian.cc: Fixed compiler warning server-tools/instance-manager/instance.cc: Fixed compiler warning server-tools/instance-manager/mysql_connection.cc: Fixed compiler warnings server-tools/instance-manager/mysqlmanager.cc: Fixed compiler warnings sql/CMakeLists.txt: Added missing files sql/Makefile.am: Added new files sql/event_scheduler.cc: Added pthread_exit() calls Ensure DBUG_xxx calls are not made before my_thread_init() Use common functions to set up thread handling sql/field.h: manual merge sql/ha_ndbcluster.cc: Removed some trivial 'current_thd' calls sql/handler.cc: Avoid warnings on KILL_CONNECTION Don't print out null pointer with printf() (Causes crashes on Solaris) sql/item.cc: Fixed compiler warnings from 'max' build sql/item_cmpfunc.cc: After merge fixes sql/item_func.cc: Merge embedded and normal code usage (GET_LOCK, RELEASE_LOCK now works on my_thread_id instead of pthread_t) Fixed compiler warning sql/item_strfunc.cc: Fixed compiler warning sql/item_timefunc.cc: Fixed compiler warnings sql/lock.cc: Use (new) parameter to thr_abort_locks_for_thread() sql/log.cc: Fixed compiler warning sql/log_event.cc: Fixed compiler warnings about not used variable sql/mysql_priv.h: Remove TEST_NO_THREADS (not needed with new scheduler interface) Added functions from sql_connect.cc and new functions from sql_parse.cc sql/mysqld.cc: Use thread_scheduler structure to dispatch calls (make code more dynamic) Change --one-thread option to use thread_scheduler interface Made ONE_THREAD option independent of DBUG_BUILD --one-thread is now depricated. One should instead use '--thread-handling=no-threads' Remove not used uname() function. Split create_new_thread() into reusable sub functions. Preliminary interface code for future thread_handling code. Fixed compiler warnings sql/parse_file.cc: Don't send zero pointer to fn_format() (Causes crashes when using --debug) sql/repl_failsafe.cc: Setup pseudo_thread_id same way as other code sql/set_var.cc: Added variables 'thread_handling' Prepare for future variable 'thread_pool_size' Fixed compiler warnings sql/set_var.h: Fixed compiler warning sql/slave.cc: Setup pseudo_thread_id same way as other code Removed not used signal mask sql/sql_acl.cc: Fixed compiler warnings from 'max' build sql/sql_base.cc: Fixed long comments Normalized variable setup Don't destroy value of thd->variables.pseduo_thread_id More DBUG_PRINT()'s More DBUG_ASSERT()'s Fixed compiler warnings from 'max' build sql/sql_class.cc: Remove thd->real_id and thd->dbug_thread_id Added DBUG_ASSERT() Use thread_scheduler to signal threads to be killed. In THD::store_globals(), set my_thread_var->id to be thd->thread_id. Fixed compiler warnings sql/sql_class.h: Use 'my_thread_id' for internal thread id's Remove not needed THD elements: block_signals and dbug_thread_id Added 'thread_scheduler' scheduling extension element to THD sql/sql_insert.cc: After merge fixes (This actually fixes a bug in old code when many connections are in use) Setup pseudo_thread_id same way as other code Removed not used signal mask Initialize variable that may be used unitialized on error conditions (not fatal) sql/sql_parse.cc: Move connection related code to sql_connect.cc Remove setting of signal mask (not needed) Ensure TABLE_LIST->alias is set for generated TABLE_LIST elements (fixed core dumps when running with --debug) Added previous 'optional' element to reset_mgh() Removed not needed DBUG_PRINT call sql/sql_partition.cc: Fixed compiler warnings sql/sql_prepare.cc: Removed not needed casts Fixed compiler warnings from 'max' build sql/sql_select.cc: Fixed compiler warnings sql-bench/bench-init.pl.sh: Added --one-missing-tests sql-bench/example: Better example sql-bench/run-all-tests.sh: Added --only-missing-tests sql-bench/test-insert.sh: Fixed wrong estimate of update_with_key_prefix sql/sql_show.cc: Don't send pthread_kill() to threads to detect if they exists. (Not that useful and causes problems with future thread_handling code) Fixed compiler warnings sql/sql_table.cc: Simplify code Fixed compiler warnings sql/sql_test.cc: Remove dbug_thread_id from test output sql/sql_view.cc: Don't send zero pointer to fn_format() sql/tztime.cc: Fixed compiler warning sql/udf_example.def: Fixed compiler warnings on win64 sql/unireg.cc: Initialize variable that may be used unitialized on error conditions storage/archive/archive_test.c: Fixed compiler warnings storage/archive/azio.c: Fixed compiler warnings storage/innobase/dict/dict0crea.c: Fixed compiler warnings detected on windows64 storage/innobase/dict/dict0dict.c: Fixed compiler warnings detected on windows64 storage/innobase/dict/dict0load.c: Fixed compiler warnings detected on windows64 storage/innobase/dict/dict0mem.c: Fixed compiler warnings detected on windows64 storage/innobase/eval/eval0proc.c: Fixed compiler warnings detected on windows64 storage/innobase/handler/ha_innodb.cc: Fixed compiler warnings detected on windows64 storage/innobase/include/ut0byte.ic: Fixed compiler warnings on win64 storage/innobase/include/ut0ut.ic: Fixed compiler warnings on win64 storage/innobase/mtr/mtr0log.c: Fixed compiler warnings detected on windows64 storage/innobase/pars/pars0lex.l: Fixed warnings on win64 storage/innobase/rem/rem0cmp.c: Fixed compiler warnings detected on windows64 storage/innobase/row/row0mysql.c: Fixed compiler warnings detected on windows64 storage/innobase/row/row0sel.c: Fixed compiler warnings detected on windows64 storage/innobase/sync/sync0rw.c: Fixed compiler warnings detected on windows64 storage/innobase/trx/trx0trx.c: Fixed compiler warnings detected on windows64 storage/myisam/mi_log.c: my_thread_id() -> my_thread_debug_id() storage/myisam/mi_packrec.c: Fixed compiler warnings detected on windows64 storage/myisam/myisamchk.c: Fixed compiler warnings from 'max' build storage/ndb/src/common/debugger/EventLogger.cpp: Fixed compiler warnings storage/ndb/src/common/util/ConfigValues.cpp: Removed compiler warnings storage/ndb/src/common/util/NdbSqlUtil.cpp: Removed compiler warnings storage/ndb/src/cw/cpcd/CPCD.hpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/backup/Backup.cpp: Fixed compiler warnings detected on windows64 storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp: Fixed compiler warnings detected on windows64 storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: Fixed compiler warnings detected on windows64 storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupVarAlloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/tuppage.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/tuppage.hpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtux/DbtuxStat.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/diskpage.hpp: Fixed compiler warnings storage/ndb/src/kernel/vm/ndbd_malloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp: Fixed compiler warnings storage/ndb/src/mgmclient/main.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbOperationExec.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/SignalSender.cpp: Fixed compiler warnings storage/ndb/tools/restore/consumer_restore.cpp: Fixed compiler warnings strings/ctype-ucs2.c: Fixed compiler warnings strings/ctype-utf8.c: Fixed compiler warnings strings/decimal.c: Fixed compiler warnings strings/my_strchr.c: Fixed conflict between function and prototype support-files/compiler_warnings.supp: Ignore warnings from sql_yacc.cc that are hard to remove Ignore some not important warnings from windows 64 bit build Suppress warnings from bdb and (for the moment) warnings from ndb Suppress all warnings for all pushbuild platforms (should make all trees green) vio/viosslfactories.c: Added DBUG_PRINT BUILD/compile-pentium64-max: New BitKeeper file ``BUILD/compile-pentium64-max'' libmysqld/scheduler.cc: New BitKeeper file ``libmysqld/scheduler.cc'' libmysqld/sql_connect.cc: New BitKeeper file ``libmysqld/sql_connect.cc'' mysql-test/include/one_thread_per_connection.inc: New BitKeeper file ``mysql-test/include/one_thread_per_connection.inc'' mysql-test/r/no-threads.result: New BitKeeper file ``mysql-test/r/no-threads.result'' mysql-test/r/one_thread_per_connection.require: New BitKeeper file ``mysql-test/r/one_thread_per_connection.require'' mysql-test/t/no-threads-master.opt: New BitKeeper file ``mysql-test/t/no-threads-master.opt'' mysql-test/t/no-threads.test: New BitKeeper file ``mysql-test/t/no-threads.test'' sql/scheduler.cc: New BitKeeper file ``sql/scheduler.cc'' sql/scheduler.h: New BitKeeper file ``sql/scheduler.h'' sql/sql_connect.cc: New BitKeeper file ``sql/sql_connect.cc''
-
- 22 Feb, 2007 1 commit
-
-
unknown authored
Make sure GCP_SAVEREQ is not allowed before START_RECCONF has been sent...START_RECREQ is not enough storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Make sure GCP_SAVEREQ is not allowed before START_RECCONF has been sent... START_RECREQ is not enough
-
- 14 Feb, 2007 1 commit
-
-
unknown authored
getting BACKUP_FRAGMENT_REF in LQH from BACKUP would bail on ndbrequire(false) instead of having good error message. Can re-use error code from BACKUP as it's a FsRef error code, which is NDBD_EXIT... except when it isn't. storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Report the correct error code on exit with failure to backup fragment (run LCP)
-
- 06 Feb, 2007 1 commit
-
-
unknown authored
remove debug printouts storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: remove debug printouts storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp: remove debug printouts storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp: remove debug printouts storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: remove debug printouts
-
- 01 Feb, 2007 1 commit
-
-
unknown authored
add the jamEntry() storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: add missing jamEntry() after EXECUTE_DIRECT
-
- 23 Jan, 2007 1 commit
-
-
unknown authored
Fix read after delete (in same op) - lqh, handling of attrinfo - tup, setup read for disk/varchar storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Dont save ATTRINFO "also" for DELETE, even when getting it in separate signal storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: Add disk flag to signature (for read after delete) storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: Do setup read before read after delete storage/ndb/test/ndbapi/testBasic.cpp: testcase storage/ndb/test/run-test/daily-basic-tests.txt: testcase
-
- 22 Jan, 2007 1 commit
-
-
unknown authored
- add some sanity check to marker/hash code to see that element isnt inserted twice into hashtable (if defined VM_TRACE or ERROR_INSERT) - allow REMOVE_MARKER_ORD to fail(dont find record) in release storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: add a bunch of sanity check ifdef#vmtrace of #error_insert storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: add a bunch of sanity check ifdef#vmtrace of #error_insert
-
- 15 Jan, 2007 1 commit
-
-
unknown authored
Fix DD problem during NR after 3 missed LCP's storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Send START_FRAGREQ also for fragments wo/ LCP storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: inform TUP that no LCP is restored (if no lcp is restored :-) storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: inform TUP that no LCP is restored (if no lcp is restored :-) storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: inform TUP that no LCP is restored (if no lcp is restored :-) storage/ndb/src/kernel/blocks/pgman.cpp: Add error insert using dump
-
- 14 Dec, 2006 1 commit
-
-
unknown authored
storage/ndb/src/kernel/blocks/backup/Backup.cpp: If FailedToSetupFsBuffers in BACKUP block, it will send back DEFINE_BACKUP_REF to LQH. storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: If get DEFINE_BACKUP_REF signal , LQH will crash and give some messages in error log.
-
- 07 Dec, 2006 1 commit
-
-
unknown authored
fix alloc/free extent in undo log allow extent to be reused once a lcp is finished (instead of when next lcp starts) storage/ndb/include/kernel/signaldata/Extent.hpp: Add lsn to alloc extent storage/ndb/src/kernel/blocks/diskpage.hpp: Add (unused) undo entries for drop table, and alloc/free extent storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Notify TSMAN of both start and stop of LCP storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: 1) Add unused undo entries for drop table, alloc/free extent 2) handle create_table better (correct?) in undo log 3) fix some typos/style storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: 1) Add unused undo entries for drop table, alloc/free extent 2) handle create_table better (correct?) in undo log 3) fix some typos/style storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: fix style storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp: fix typo/style storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: Make sure regFragPtr.p->m_logfile_group_id = RNIL is applicable storage/ndb/src/kernel/blocks/lgman.cpp: Add m_logfile_group_id to log callback storage/ndb/src/kernel/blocks/print_file.cpp: Add (unused) undo entries for drop table, and alloc/free extent storage/ndb/src/kernel/blocks/tsman.cpp: 1) change so that LCP limit on resuse of extent is only for duration of lcp 2) refactor so lookup_extent is put into subroutine storage/ndb/src/kernel/blocks/tsman.hpp: refactor so lookup_extent is put into subroutine
-
- 01 Dec, 2006 1 commit
-
-
unknown authored
5.1 version remove 5.0 version add general routing signal send tckeyref routed if needed... storage/ndb/include/kernel/GlobalSignalNumbers.h: Add general routing signal storage/ndb/src/common/debugger/signaldata/SignalNames.cpp: Add general routing signal storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: send TCKEYREF routed if needed storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: add general routing remove node started state storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp: add general routing remove node started state storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: add general routing remove node started state remove "avoid sending committed read to early" as it now should be handled correctly storage/ndb/include/kernel/signaldata/RouteOrd.hpp: New BitKeeper file ``storage/ndb/include/kernel/signaldata/RouteOrd.hpp''
-
- 26 Nov, 2006 1 commit
-
-
unknown authored
Added missing DBUG_RETURN statements (in mysqldump.c) Added missing enums Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems. client/mysqldump.c: Fixed some compiler warnings Added some missing DBUG_RETURN Remove copying of 'cluster' database client/mysqlslap.c: Fixed compiler warnings client/mysqltest.c: After merge fix extra/yassl/taocrypt/include/algebra.hpp: Removed compiler warning mysql-test/include/im_check_env.inc: Fixed race condition (mysqld1 could report 'starting' or 'online' mysql-test/mysql-test-run.pl: After merge fixes Added missing directory to LD_LIBRARY_PATH mysql-test/r/ctype_cp1250_ch.result: After merge fix mysql-test/r/im_cmd_line.result: Fixed race condition mysql-test/r/im_daemon_life_cycle.result: Fixed race condition mysql-test/r/im_instance_conf.result: Fixed race condition mysql-test/r/im_life_cycle.result: Fixed race condition mysql-test/r/im_utils.result: Fixed race condition mysql-test/r/log_tables.result: Fixed wrong result mysql-test/t/disabled.def: Disabled ndb_restore_partion, as ndb_restore_compate caused it to fail, becasue of table 'cluster/def/schema' which is stored in ndb_backup50 mysys/my_compress.c: Removed compiler warnings mysys/my_getopt.c: Ensure we always have at least one space between option name and value plugin/fulltext/plugin_example.c: Removed compiler warnings server-tools/instance-manager/mysql_connection.cc: After merge fix sql/event_data_objects.cc: Fixed compiler warnings Fixed platform compatibility issues (%lld is not portable) sql/event_data_objects.h: Fixed compiler warnings sql/event_db_repository.cc: Fixed compiler warnings sql/event_queue.cc: Fixed compiler warnings sql/event_scheduler.cc: Fixed compiler warnings sql/events.cc: Fixed compiler warnings sql/field.cc: Fixed compiler warnings sql/ha_ndbcluster.cc: Fixed compiler warnings sql/ha_ndbcluster_binlog.cc: Fixed compiler warnings sql/ha_partition.cc: Fixed compiler warnings sql/handler.cc: Fixed compiler warnings sql/item_cmpfunc.cc: Fixed DBUG_PRINT style sql/item_func.cc: Fixed compiler warnings sql/log.cc: Fixed compiler warnings sql/log_event.cc: Fixed compiler warnings sql/mysqld.cc: Fixed compiler warnings sql/opt_range.cc: Fixed compiler warnings sql/repl_failsafe.cc: Indentation fixes sql/rpl_rli.cc: Fixed compiler warnings sql/rpl_tblmap.cc: Fixed compiler warnings sql/set_var.cc: Fixed compiler warnings sql/slave.cc: Fixed compiler warnings sql/sp_head.cc: Fixed compiler warnings sql/sql_base.cc: Fixed compiler warnings Fixed indentation sql/sql_binlog.cc: Fixed compiler warnings sql/sql_cache.cc: Fixed compiler warnings sql/sql_class.cc: Fixed compiler warnings sql/sql_handler.cc: Fixed compiler warnings sql/sql_lex.cc: Fixed compiler warnings sql/sql_parse.cc: Fixed compiler warnings sql/sql_partition.cc: Fixed compiler warnings sql/sql_prepare.cc: Fixed compiler warnings sql/sql_table.cc: Fixed compiler warnings sql/sql_test.cc: Fixed DBUG_PRINT style sql/sql_trigger.cc: Fixed DBUG_PRINT style sql/table.cc: Fixed compiler warnings storage/federated/ha_federated.cc: Fixed compiler warnings storage/myisam/mi_rsamepos.c: Fixed compiler warnings storage/ndb/include/ndb_global.h.in: After merge fix storage/ndb/include/util/NdbOut.hpp: Inform gcc that ndbout_c takes a printf() string as argument storage/ndb/include/util/SimpleProperties.hpp: After merge fixes storage/ndb/src/kernel/blocks/backup/Backup.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Fixed compiler warnings Fixed usage of uninitialized value (Got help from Jonas with patch) storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/lgman.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/pgman.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/restore.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp: Fixed compiler warnings storage/ndb/src/kernel/blocks/suma/Suma.cpp: Fixed compiler warnings Added missing enum's to switch storage/ndb/src/kernel/vm/Configuration.cpp: Fixed compiler warnings storage/ndb/src/kernel/vm/DLHashTable.hpp: Fixed compiler warnings storage/ndb/src/kernel/vm/RWPool.hpp: Fixed compiler warnings storage/ndb/src/kernel/vm/SimulatedBlock.cpp: Fixed compiler warnings storage/ndb/src/kernel/vm/WOPool.hpp: Fixed compiler warnings storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp: Fixed compiler warnings storage/ndb/src/mgmclient/CommandInterpreter.cpp: Fixed compiler warnings storage/ndb/src/mgmsrv/MgmtSrvr.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/DictCache.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbIndexOperation.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbIndexStat.cpp: Initialize possible uninitialized variable storage/ndb/src/ndbapi/NdbOperationInt.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/NdbRecAttr.cpp: Added missing enum's (To avoid compiler warnings) storage/ndb/src/ndbapi/NdbScanOperation.cpp: Fixed compiler warnings storage/ndb/src/ndbapi/ObjectMap.hpp: Fixed compiler warnings storage/ndb/tools/desc.cpp: Fixed compiler warnings storage/ndb/tools/restore/Restore.cpp: Fixed compiler warnings storage/ndb/tools/restore/consumer_restore.cpp: Fixed compiler warnings unittest/mytap/t/basic-t.c: Fixed compiler warnings unittest/mytap/tap.c: Fixed compiler warnings
-
- 26 Sep, 2006 1 commit
-
-
unknown authored
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: merge storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: merge storage/ndb/src/ndbapi/NdbTransaction.cpp: merge
-
- 23 Aug, 2006 1 commit
-
-
unknown authored
Fix so that expand_check2 is only run per fragment, as restore now works 1 fragment at a time (again) storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fix so that expand_check2 is only run per fragment, as restore now works 1 fragment at a time (again)
-
- 14 Aug, 2006 1 commit
-
-
unknown authored
5.1-fix adopt to changes in node recovery storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: ix totSendLenAi also in "new" node recovery
-
- 07 Aug, 2006 1 commit
-
-
unknown authored
make each fragment use own LCP file, so that (s/n)r can use different LCP-no for different fragments storage/ndb/include/kernel/signaldata/FsOpenReq.hpp: Add fragment id to LCP filename storage/ndb/src/kernel/blocks/ERROR_codes.txt: Add new error code storage/ndb/src/kernel/blocks/backup/Backup.cpp: put each fragment in own LCP file storage/ndb/src/kernel/blocks/backup/Backup.hpp: put each fragment in own LCP file storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: Use fifo lists storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: 1) use fifo lists 2) restore each fragment separatly 3) add error codes storage/ndb/src/kernel/blocks/restore.cpp: Add fragment id to LCP filename storage/ndb/src/kernel/blocks/ndbfs/Filename.cpp: Add fragment id to LCP filename storage/ndb/test/ndbapi/testNodeRestart.cpp: Add testcase storage/ndb/test/run-test/daily-basic-tests.txt: add testcase
-
- 02 Aug, 2006 1 commit
-
-
unknown authored
make Dblqh use OM_AUTO_SYNC storage/ndb/include/kernel/signaldata/FsOpenReq.hpp: make Dblqh us OM_AUTO_SYNC storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: make Dblqh us OM_AUTO_SYNC storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: make Dblqh us OM_AUTO_SYNC storage/ndb/src/kernel/vm/pc.hpp: remove unused #defines
-
- 10 Jul, 2006 1 commit
-
-
unknown authored
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: dont mess up signal log, also changed w+ to a
-
- 27 Jun, 2006 1 commit
-
-
unknown authored
- post merge fixes for 5.1
-
- 08 Jun, 2006 1 commit
-
-
unknown authored
fix bug in tup scan wrt LCP storage/ndb/include/kernel/signaldata/AccScan.hpp: Add LCP flag to AccScan and ScanFrag storage/ndb/include/kernel/signaldata/ScanFrag.hpp: Add LCP flag to AccScan and ScanFrag storage/ndb/src/kernel/blocks/backup/Backup.cpp: Backup sets LCP scan when lcp storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: Add LCP scan flag storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Add LCP scan flag storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: Fix assignment of scan record wrt LCP and disk
-
- 07 Jun, 2006 1 commit
-
-
unknown authored
fix release compile error storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: fix release compile
-
- 05 Jun, 2006 1 commit
-
-
unknown authored
fix gcc4 compile error storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: add block to remove gcc compiler error storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: add jamEntry
-
- 31 May, 2006 1 commit
-
-
unknown authored
print some in case of error storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: print scan state in case of error
-
- 19 May, 2006 1 commit
-
-
unknown authored
fix scan bugs introduced by acc modifications add more error testcases storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp: remove unused state storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: 1) remove unused state 2) Fix abort of running lock owner 3) Fix abort of running op in parallell queue (especially scans) storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: remove some printouts add some jams fix so that close tupscan, can not acciently start acc scan in queue (NOTE limits #tupscans to 12 which is not really necessary...but the fix was easy) storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: Use abort of locks when closing/blocked as Dbacc gets annoyed when committing an op with state running storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp: Use abort of locks when closing/blocked as Dbacc gets annoyed when committing an op with state running storage/ndb/test/include/HugoOperations.hpp: new method storage/ndb/test/ndbapi/testBasic.cpp: add more test cases storage/ndb/test/ndbapi/testScan.cpp: add more testcases storage/ndb/test/run-test/daily-basic-tests.txt: add more testcases storage/ndb/test/src/HugoOperations.cpp: add more testcases
-
- 18 May, 2006 1 commit
-
-
unknown authored
introduce acc per row logical mutex to fix difficult error handling cases storage/ndb/src/kernel/blocks/dbacc/Dbacc.hpp: 1) Fix per row mutex so that only 1 op at a time is running on a row 2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) } 3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue 4) Impl. a validate_lock_queue/dump_lock_queue test framework storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp: 1) Fix per row mutex so that only 1 op at a time is running on a row 2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) } 3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue 4) Impl. a validate_lock_queue/dump_lock_queue test framework storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: 1) Fix per row mutex so that only 1 op at a time is running on a row 2) Change TUP_ALLOC/DEALLOC semantic, so that a new record will be allocated if LQ = { T1(DEL) - T2(INS) } 3) Rewrite lock queus to be O(1) in all cases but a few abort cases where we scan parallell queue 4) Impl. a validate_lock_queue/dump_lock_queue test framework storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp: 1) impl. a new read key from operation record needed by acc 2) expand TRACE_OP toolkit 3) impl. ACCKEY_ORD as needed by ACC changes storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: 1) impl. a new read key from operation record needed by acc 2) expand TRACE_OP toolkit 3) impl. ACCKEY_ORD as needed by ACC changes storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: remove unused states/methods storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: remove extremly tricky code that handles disk_insert_but_no_mem_insert that is no long needed with current acc changes storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp: remove unused states/methods storage/ndb/test/ndbapi/testOperations.cpp: renable last 3 lock upgrade testcases since they now pass
-
- 04 May, 2006 1 commit
-
-
unknown authored
fix buglet when nr-delete-op gets page fault storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: fix buglet when nr-delete-op gets page fault
-
- 13 Apr, 2006 1 commit
-
-
unknown authored
Fix 4 replica bug in packLqhKeyReq, problem introduced by opt. nr. storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fix packLqhKeyReqLab when having full AI in this and appending gci/rowid (used to casue 23+3 = 26 in signal length) Note: This is a very ineffectice patch, but only for 4 replicas This will be fixed when sending lqhkeyreq as long signal (or even just attrinfo as long)
-
- 24 Mar, 2006 1 commit
-
-
unknown authored
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: merge storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: merge storage/ndb/src/ndbapi/NdbTransaction.cpp: merge storage/ndb/src/ndbapi/Ndbif.cpp: merge
-
- 13 Mar, 2006 3 commits
-
-
unknown authored
-
unknown authored
incorrect handling of varsize primary key and charsets in tup-scan storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: put tracenr log in signal log instead...as out file gets very big... storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: PK needs to be normalized before computing hashvalue, otherwise lock-req will not find row, causing assertion in debug build, and inconsistency in release
-
unknown authored
put nrtrace in out file instead (debug compiled..) storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: put nrtrace in out file instead (debug compiled..)
-