An error occurred fetching the project authors.
- 18 Apr, 2006 1 commit
-
-
unknown authored
-
- 13 Apr, 2006 1 commit
-
-
unknown authored
-
- 12 Apr, 2006 1 commit
-
-
unknown authored
freeing non freed objects on server shutdown corrected timeout handling on schema events
-
- 10 Apr, 2006 1 commit
-
-
unknown authored
sql/ha_ndbcluster.cc: Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup - put ndb tables in read only until binlog is setup properly sql/ha_ndbcluster_binlog.cc: Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup - put ndb tables in read only until binlog is setup properly
-
- 06 Apr, 2006 1 commit
-
-
unknown authored
Fix for bug#16445 schema version error 241 after mysqld restart, always invalidate dictionary cache when receiving changed schema events drop table or alter table, regardless if done remotely or not (also includes cluster failures, but refreshing cache is a safe operation)
-
- 03 Apr, 2006 1 commit
-
-
unknown authored
- move slock bitmask to separate hash list, object living only during query sql/ha_ndbcluster.h: Bug #18596 binlog schema event auto push causes mysqld errors
-
- 24 Mar, 2006 1 commit
-
-
unknown authored
- make sure cluster/schema table is always created first sql/ha_ndbcluster_binlog.cc: make sure cluster/schema table is always created first storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: corrected bug causing hang in getTable when using blob tables
-
- 23 Mar, 2006 2 commits
-
-
unknown authored
- check that event is the correct one, and only delete if wrong version
-
unknown authored
storage/ndb/include/ndbapi/NdbDictionary.hpp: ER_ALL: omit unchanged blob inlines storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: ER_ALL: omit unchanged blob inlines storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: ER_ALL: omit unchanged blob inlines storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: ER_ALL: omit unchanged blob inlines storage/ndb/src/ndbapi/NdbBlob.cpp: atNextEvent: ignore non-data event sql/ha_ndbcluster_binlog.cc: schema.query => blob storage/ndb/tools/restore/Restore.cpp: allow 'system tables' to have blob attrs storage/ndb/tools/restore/Restore.hpp: allow 'system tables' to have blob attrs storage/ndb/tools/restore/restore_main.cpp: allow 'system tables' to have blob attrs
-
- 21 Mar, 2006 1 commit
-
-
unknown authored
- in ndb_binlog_thread_handle_schema_event make sure to postpone "slock achnowledgement" until event has been put into the binlog + some cleanup, Cluster_replication_schem -> Cluster_schema, indentation
-
- 13 Mar, 2006 1 commit
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: removing non critical assert
-
- 11 Mar, 2006 2 commits
- 10 Mar, 2006 1 commit
-
-
unknown authored
-
- 09 Mar, 2006 3 commits
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: Bug #18106 Ndb: Online add index together with replication may cause mysqld core - move initialization of Ndb share ndb_values from ndbcluster_binlog_open_table to ndbcluster_binlog_init_share so that ndbcluster_binlog_open_table can be used for reinitializing after frm change - free table share on remote mysqld on online alter (call ndbcluster_binlog_close_table) - free share before calling ndb_create_table_from_engine to be able to handle trailing share correctly + debug printouts + extra nulling of some variables storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Bug #18106 Ndb: Online add index together with replication may cause mysqld core - reinitialize event operation rec attrs after online schema change
-
unknown authored
-
unknown authored
-added setting up of binlogging after receiving rename table +cleanup mysql-test/r/ndb_binlog_ddl_multi.result: Bug #17838 binlog not setup on seconday master after rename mysql-test/t/ndb_binlog_ddl_multi.test: Bug #17838 binlog not setup on seconday master after rename mysql-test/include/show_binlog_events.inc: New BitKeeper file ``mysql-test/include/show_binlog_events.inc''
-
- 08 Mar, 2006 1 commit
-
-
unknown authored
Minor changes to make it work with NDB. mysql-test/r/binlog_row_mix_innodb_myisam.result: Not updated result file mysql-test/r/ndb_binlog_ignore_db.result: Result change mysql-test/r/rpl_ndb_blob.result: Result change mysql-test/r/rpl_ndb_charset.result: Result change mysql-test/r/rpl_ndb_dd_basic.result: Result change sql/ha_ndbcluster_binlog.cc: Only calling injector::use_table() if there are data events in epoch.
-
- 03 Mar, 2006 1 commit
-
-
unknown authored
More adaptions to make it work with existing code base. mysql-test/extra/rpl_tests/rpl_row_charset.test: Info for RBR events now include table id; changed test to not depend on the table id. mysql-test/r/rpl_ndb_blob.result: Result change mysql-test/r/rpl_ndb_dd_basic.result: Result change mysql-test/r/rpl_row_basic_7ndb.result: Result change mysql-test/r/rpl_row_drop.result: Result change mysql-test/r/rpl_row_log.result: Result change mysql-test/r/rpl_row_log_innodb.result: Result change mysql-test/r/rpl_row_sp008.result: Result change mysql-test/r/rpl_switch_stm_row_mixed.result: Result change sql/ha_ndbcluster_binlog.cc: Enabled patch to NDB to support new locking scheme. sql/handler.cc: Added test to prevent logging if the binlog is closed. sql/log.cc: Adaptions to use thread-local variable for enabling row-based replication. sql/log_event.cc: Fixing compile failure. sql/slave.cc: Reordering in initializer list to eliminate compiler warning. sql/sql_base.cc: Bad use of return when DBUG_RETURN should be used. sql/sql_insert.cc: Adaptions to use thread-local variable for enabling row-based replication.
-
- 01 Mar, 2006 2 commits
- 28 Feb, 2006 1 commit
-
-
unknown authored
- too little space was allocated for receiving events, partition uses extra column in table mysql-test/r/ndb_partition_range.result: Bug#16385, Partitions: crash when updating a range partitioned NDB table mysql-test/t/ndb_partition_range.test: Bug#16385, Partitions: crash when updating a range partitioned NDB table
-
- 27 Feb, 2006 1 commit
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: Correcting use of bad variable in merge. sql/sql_base.cc: Removing assertion check for mutex in table share.
-
- 26 Feb, 2006 1 commit
-
-
unknown authored
Don't run upgrade.test with embedded server as it requires mysqlcheck mysql-test/r/upgrade.result: Change database names to start with mysqltest mysql-test/t/upgrade.test: Change database names to start with mysqltest Don't run test with embedded server as it requires mysqlcheck sql/ha_ndbcluster.cc: Code style cleanups more dbugging sql/ha_ndbcluster_binlog.cc: Free table_share properly in case of errors More debugging
-
- 25 Feb, 2006 1 commit
-
-
unknown authored
and new binlog format called "mixed" (which is statement-based except if only row-based is correct, in this cset it means if UDF or UUID is used; more cases could be added in later 5.1 release): SET GLOBAL|SESSION BINLOG_FORMAT=row|statement|mixed|default; the global default is statement unless cluster is enabled (then it's row) as in 5.1-alpha. It's not possible to use SET on this variable if a session is currently in row-based mode and has open temporary tables (because CREATE TEMPORARY TABLE was not binlogged so temp table is not known on slave), or if NDB is enabled (because NDB does not support such change on-the-fly, though it will later), of if in a stored function (see below). The added tests test the possibility or impossibility to SET, their effects, and the mixed mode, including in prepared statements and in stored procedures and functions. Caveats: a) The mixed mode will not work for stored functions: in mixed mode, a stored function will always be binlogged as one call and in a statement-based way (e.g. INSERT VALUES(myfunc()) or SELECT myfunc()). b) for the same reason, changing the thread's binlog format inside a stored function is refused with an error message. c) the same problems apply to triggers; implementing b) for triggers will be done later (will ask Dmitri). Additionally, as the binlog format is now changeable by each user for his session, I remove the implication which was done at startup, where row-based automatically set log-bin-trust-routine-creators to 1 (not possible anymore as a user can now switch to stmt-based and do nasty things again), and automatically set --innodb-locks-unsafe-for-binlog to 1 (was anyway theoretically incorrect as it disabled phantom protection). Plus fixes for compiler warnings. mysql-test/r/rpl_row_4_bytes.result: update mysql-test/t/rpl_row_4_bytes.test: don't influence next tests sql/ha_archive.cc: please pay attention to this structure when you change it... sql/ha_berkeley.cc: please pay attention to this structure when you change it... sql/ha_blackhole.cc: please pay attention to this structure when you change it... sql/ha_federated.cc: please pay attention to this structure when you change it... sql/ha_heap.cc: please pay attention to this structure when you change it... sql/ha_innodb.cc: please pay attention to this structure when you change it... sql/ha_myisam.cc: please pay attention to this structure when you change it... sql/ha_myisammrg.cc: please pay attention to this structure when you change it... sql/ha_ndbcluster_binlog.cc: no more global 'binlog_row_based' sql/ha_partition.cc: please pay attention to this structure when you change it... sql/handler.cc: please pay attention to this structure when you change it... sql/handler.h: it's good to initialize statically (to get no compiler warning) even if to a null value. sql/item_func.cc: UDFs require row-based if this is the "mixed" binlog format. sql/item_strfunc.cc: UUID() requires row-based binlogging if this is the "mixed" binlog format sql/log.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/log.h: the enum enum_binlog_format moves to log.h from mysqld.cc as we need it in several places. sql/log_event.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/log_event.h: this global variable not used anymore sql/mysql_priv.h: these global variables not used anymore sql/mysqld.cc: simplification in the handling of --binlog-format (but with no user-visible change), thanks to the new global system variable. RBR does not anymore turn on --log-bin-trust-function-creators and --innodb-locks-unsafe-for-binlog as these are global options and RBR is now settable per session. sql/partition_info.cc: compiler warnings sql/set_var.cc: new class of thread's variable, to handle the binlog_format (like sys_var_thd_enum except that is_readonly() is overriden for more checks before update). compiler warnings (ok'd by Serg) sql/set_var.h: new class for the thread's binlog_format (see set_var.cc) sql/share/errmsg.txt: some messages for when one can't toggle from one binlog format to another sql/sp_head.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/sql_base.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/sql_class.cc: When a THD is initialized, we set its current_stmt_binlog_row_based sql/sql_class.h: new THD::variables.binlog_format (the value of the session variable set by SET or inherited from the global value), and THD::current_stmt_binlog_row_based which tells if the current statement does row-based or statement-based binlogging. Both members are needed as the 2nd one cannot be derived only from the first one (the statement's type plays a role too), and the 1st one is needed to reset the 2nd one. sql/sql_delete.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/sql_insert.cc: binlog_row_based -> thd->current_stmt_binlog_row_based sql/sql_load.cc: binlog_row_based -> thd->current_stmt_binlog_row_based. sql/sql_parse.cc: when we are done with a statement, we reset the current_stmt_binlog_row_based to the value derived from THD::variables.binlog_format. sql/sql_partition.cc: compiler warning sql/sql_show.cc: compiler warning sql/sql_table.cc: binlog_row_based -> thd->current_stmt_binlog_row_based tests/mysql_client_test.c: compiler warning mysql-test/r/ndb_binlog_basic2.result: new result mysql-test/r/rpl_switch_stm_row_mixed.result: new result mysql-test/t/ndb_binlog_basic2.test: new test to verify that if cluster is enabled, can't change binlog format on the fly. mysql-test/t/rpl_switch_stm_row_mixed.test: test to see if one can switch between SBR, RBR, and "mixed" mode, and when one cannot, and test to see if the switching, and the mixed mode, work properly (using UUID() to test, as using UDFs is not possible in the testsuite for portability reasons).
-
- 24 Feb, 2006 1 commit
-
-
unknown authored
Adaptions to make it work with NDB. mysql-test/extra/binlog_tests/binlog.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/blackhole.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/ctype_cp932.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/ctype_cp932_binlog.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/ctype_ucs_binlog.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/drop_temp_table.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/insert_select-binlog.test: Using replace_regex to remove table id. mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_flsh_tbls.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_log.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_multi_query.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_row_charset.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: Using replace_regex to remove table id. mysql-test/extra/rpl_tests/rpl_stm_charset.test: Using replace_regex to remove table id. mysql-test/include/rpl_row_basic.inc: Removing sync with master on cleanup since there are engines that does not work in a "syncronized" fashion on dropping tables. mysql-test/r/binlog_row_binlog.result: Result change mysql-test/r/binlog_row_blackhole.result: Result change mysql-test/r/binlog_row_ctype_cp932.result: Result change mysql-test/r/binlog_row_ctype_ucs.result: Result change mysql-test/r/binlog_row_insert_select.result: Result change mysql-test/r/binlog_row_mix_innodb_myisam.result: Result change mysql-test/r/ctype_cp932_binlog_row.result: Result change mysql-test/r/rpl_row_basic_11bugs.result: Result change mysql-test/r/rpl_row_basic_2myisam.result: Result change mysql-test/r/rpl_row_basic_3innodb.result: Result change mysql-test/r/rpl_row_charset.result: Result change mysql-test/r/rpl_row_create_table.result: Result change mysql-test/r/rpl_row_delayed_ins.result: Result change mysql-test/r/rpl_row_log.result: Result change mysql-test/r/rpl_row_log_innodb.result: Result change mysql-test/r/rpl_row_max_relay_size.result: Result change mysql-test/r/rpl_row_sp008.result: Result change mysql-test/t/binlog_stm_binlog.test: Using replace_regex to remove table id. mysql-test/t/ndb_binlog_ddl_multi.test: Using replace_regex to remove table id. mysql-test/t/ndb_binlog_ignore_db.test: Using replace_regex to remove table id. mysql-test/t/rpl_heap.test: Using replace_regex to remove table id. mysql-test/t/rpl_loaddata_s.test: Using replace_regex to remove table id. mysql-test/t/rpl_ndb_blob.test: Using replace_regex to remove table id. mysql-test/t/rpl_ndb_disk.test: Using replace_regex to remove table id. mysql-test/t/rpl_row_basic_11bugs.test: Using replace_regex to remove table id. mysql-test/t/rpl_row_create_table.test: Using replace_regex to remove table id. mysql-test/t/rpl_row_drop.test: Using replace_regex to remove table id. mysql-test/t/rpl_row_sp008.test: Using replace_regex to remove table id. mysql-test/t/rpl_sp.test: Using replace_regex to remove table id. mysql-test/t/sp.test: Using replace_regex to remove table id. mysql-test/t/sp_notembedded.test: Using replace_regex to remove table id. mysql-test/t/user_var-binlog.test: Using replace_regex to remove table id. sql/ha_ndbcluster_binlog.cc: Assign_new_table_id() now takes table share. Removed gratuitous friend declaration of ndb_add_binlog_index(). Turning of binlogging during execution of ndb_add_binlog_index(). sql/handler.h: Removed gratuitous friend declaration of ndb_add_binlog_index(). sql/log.cc: Adding debug printout. sql/log_event.cc: Closing thread tables on dummy event. sql/rpl_injector.cc: Added support for new locking scheme. sql/rpl_injector.h: Added support for new locking scheme.
-
- 23 Feb, 2006 1 commit
-
-
unknown authored
Moving assignments to table_map_id for thread-safe handling of table shares. sql/ha_ndbcluster_binlog.cc: Assign_new_table_id() now takes table share instead of table. sql/mysql_priv.h: New protptype for assign_new_table_id(). sql/sql_base.cc: Assign_new_table_id() now takes a table share instead of a table. Moving call to assign_new_table_id() into get_table_share(). sql/table.cc: Setting default values of table_map_id and table_map_version inside alloc_table_share() and init_tmp_table_share(). Removing the settings from open_table_from_share().
-
- 22 Feb, 2006 3 commits
- 20 Feb, 2006 3 commits
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: optim: setting db/schema for data events seems unnecessary storage/ndb/src/ndbapi/Ndb.cpp: use NAME_LEN
-
unknown authored
- test tables use blobs without PK, and was not handled correctly
-
unknown authored
storage/ndb/src/ndbapi/NdbBlob.cpp: DBUG storage/ndb/include/ndbapi/Ndb.hpp: method to set db/schema from table name + format check in internalize_table_name storage/ndb/include/ndbapi/NdbDictionary.hpp: method to set db/schema from table name + format check in internalize_table_name storage/ndb/src/ndbapi/Ndb.cpp: method to set db/schema from table name + format check in internalize_table_name sql/ha_ndbcluster_binlog.cc: set injector_ndb db/schema before calling NDB (may be more cases..). only place to get it is table internal name
-
- 17 Feb, 2006 2 commits
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: remove fix_blob_events storage/ndb/include/ndbapi/NdbDictionary.hpp: remove fix_blob_events storage/ndb/src/ndbapi/NdbDictionary.cpp: remove fix_blob_events storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: remove fix_blob_events storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp: remove fix_blob_events
-
unknown authored
-
- 16 Feb, 2006 3 commits
-
-
unknown authored
sql/ha_ndbcluster_binlog.cc: use_table at beginning of epoch storage/ndb/include/ndbapi/Ndb.hpp: getGCIEventOperations: return distinct event ops at epoch start storage/ndb/src/ndbapi/Ndb.cpp: getGCIEventOperations: return distinct event ops at epoch start storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: getGCIEventOperations: return distinct event ops at epoch start storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp: getGCIEventOperations: return distinct event ops at epoch start
-
unknown authored
-
unknown authored
-
- 15 Feb, 2006 1 commit
-
-
unknown authored
-
- 14 Feb, 2006 1 commit
-
-
unknown authored
1. dbug state is now local to a thread 2. new macros: DBUG_EXPLAIN, DBUG_EXPLAIN_INITIAL, DBUG_SET, DBUG_SET_INITIAL, DBUG_EVALUATE, DBUG_EVALUATE_IF 3. macros are do{}while(0) wrapped 4. incremental modifications to the dbug state (e.g. "+d,info:-t") 5. dbug code cleanup, style fixes 6. _db_on_ and DEBUGGER_ON/OFF removed 7. rest of MySQL code fixed because of 3 (missing ;) and 6 8. dbug manual updated 9. server variable @@debug (global and local) to control dbug from SQL! a. -#T to print timestamps in the log BitKeeper/deleted/.del-readme.prof~2f3bae1550a0038d: Delete: dbug/readme.prof client/mysqlslap.c: typo fixed configure.in: test for sleep() too dbug/dbug.c: thread local dbug settings DBUG_EXPLAIN,DBUG_EXPLAIN_INITIAL,DBUG_SET,DBUG_SET_INITIAL style changes to be more in line with MySQL code cleanup (many mallocs removed) incremental modification of dbug state (e.g. DBUG_PUSH("+t:-d,info")) DBUG_SET, _db_explain_ -#T dbug/monty.doc: obsolete and duplicate docs removed dbug/user.r: new features documented include/my_dbug.h: correct do{}while wrapping thread local dbug settings DBUG_EXPLAIN,DBUG_EXPLAIN_INITIAL,DBUG_SET,DBUG_SET_INITIAL DBUG_EVALUATE,DBUG_EVALUATE_IF libmysql/libmysql.c: remove _db_on_ and DEBUGGER_ON/OFF mysys/my_init.c: missed DBUG_RETURN mysys/my_thr_init.c: bugfix - transaction id's are unsigned mysys/testhash.c: remove _db_on_ and DEBUGGER_ON/OFF sql/ha_myisammrg.cc: missed ; sql/ha_ndbcluster.cc: remove _db_on_ and DEBUGGER_ON/OFF missed ; sql/ha_ndbcluster_binlog.cc: remove _db_on_ and DEBUGGER_ON/OFF missed ; sql/item_cmpfunc.cc: missed ; sql/lock.cc: missed DBUG_RETURN sql/log_event.cc: missed ; sql/mysqld.cc: remove _db_on_ and DEBUGGER_ON/OFF missed ; DBUG_SET_INITIAL sql/opt_range.cc: remove _db_on_ and DEBUGGER_ON/OFF sql/set_var.cc: class sys_var_thd_dbug and "debug" server variable sql/set_var.h: class sys_var_thd_dbug and "debug" server variable sql/slave.cc: missed ; sql/sql_cache.cc: missed ; sql/sql_plugin.cc: missed ; sql/sql_select.cc: remove _db_on_ and DEBUGGER_ON/OFF storage/heap/hp_test2.c: remove _db_on_ and DEBUGGER_ON/OFF storage/myisam/ft_eval.c: remove _db_on_ and DEBUGGER_ON/OFF storage/myisam/ft_test1.c: remove _db_on_ and DEBUGGER_ON/OFF storage/myisam/mi_open.c: remove _db_on_ and DEBUGGER_ON/OFF missed ; storage/myisam/mi_test1.c: remove _db_on_ and DEBUGGER_ON/OFF storage/myisam/mi_test2.c: remove _db_on_ and DEBUGGER_ON/OFF storage/myisam/mi_test3.c: remove _db_on_ and DEBUGGER_ON/OFF storage/ndb/src/ndbapi/DictCache.cpp: missed ; storage/ndb/src/ndbapi/NdbTransaction.cpp: missed ; tests/mysql_client_test.c: remove _db_on_ and DEBUGGER_ON/OFF
-