Replication - Remove final references to binlog and statement-base replication
jpipes@
client/
3192: when ndb binlog is on, this call will wait until last updated epoch
3193: (locally in the drizzled) has been received into the binlog
plugin/
154:UNIV_INTERN ibool srv_locks_
plugin/
3081: trx_sys_
plugin/
75:/** Master binlog file name */
77:/** Master binlog file position. We have successfully got the updates
84:and if it has done a crash recovery, we store the binlog file name and position
664:Updates the offset information about the end of the MySQL binlog entry
666:replication slave updates the latest master binlog position up to which
670:trx_
725:Stores the MySQL binlog offset info in the trx system header if
729:trx_
766: "InnoDB: Last MySQL binlog file position %lu %lu,"
800: " master binlog file\n"
1306:Prints to stderr the MySQL binlog info in the system header if the
1310:trx_
1325: "ibbackup: Last MySQL binlog file position %lu %lu,"
plugin/
244: ib_int64_t* mysql_binlog_
248: binlog entries of the queries
281: *mysql_
309: ib_int64_t binlog_cache_pos) /*!< in: MySQL binlog cache
348: savep->
plugin/
776: /* Update the latest MySQL binlog name and offset info
777: in trx sys header if MySQL binlogging is on or the database
782: trx_sys_
plugin/
204:/** Get the file name of the MySQL binlog.
205: * @return the name of the binlog file
209:/** Get the current position of the MySQL binlog.
210: * @return byte offset from the beginning of the binlog
plugin/
147:/** to force correct commit order in binlog */
916: cached binlog for this transaction */
972: cached binlog for this transaction */
1944: srv_locks_
2112: /* We need current binlog position for ibbackup to work.
2132: /* Store transaction point for binlog
2271: ib_int64_t mysql_binlog_
2286: &mysql_
3605:binlogging. We need to eliminate the non-determinism that will arise in
3606:INSERT ... SELECT type of statements, since MySQL binlog only stores the
4245:query, if the option innodb_
4260: if (!srv_locks_
4295: requested by the MySQL and either innodb_
4300: && (srv_locks_
7453: binlog) requires the use of a locking read, or
7468: if ((srv_locks_
7476: /* If we either have innobase_
8024: /* For ibbackup to work the order of transactions in binlog
8027: thread1> prepare; write to binlog; ...
8029: thread2> prepare; write to binlog; commit
plugin/
307: * statement-level MySQL binlog.
2375: /* If srv_locks_
2383: && !((srv_
plugin/
848: /* If innodb_
857: if (srv_locks_
1455: /* If innodb_
1469: if (srv_locks_
1514: /* If innodb_
1527: if (srv_locks_
3379: /* Reset the new record lock info if srv_locks_
3672: && !(srv_locks_
3768: && !(srv_locks_
3774: /* If innodb_
3901: && !(srv_locks_
3907: record only if innodb_
3937: && !(srv_locks_
3943: record only if innodb_
3978: /* If innodb_
3986: || srv_locks_
4025: if (srv_locks_
4156: if ((srv_locks_
4223: if ((srv_locks_
4236: if ((srv_locks_
4445: if ((srv_locks_
plugin/
1428:This can only be used when srv_locks_
1458: (!srv_locks_
1463: "InnoDB: innodb_
plugin/
274:This can only be used when srv_locks_
668: If innodb_
691: srv_locks_
plugin/
462:/*-
plugin/
229: ib_int64_t* mysql_binlog_
233: binlog entries of the queries
247: ib_int64_t binlog_cache_pos); /*!< in: MySQL binlog cache
327: ib_int64_t mysql_binlog_
328: /*!< the MySQL binlog cache position
330: defined if the MySQL binlogging is not
plugin/
125:extern ibool srv_locks_
plugin/
47:/** Master binlog file name */
49:/** Master binlog file position. We have successfully got the updates
56:and if it has done a crash recovery, we store the binlog file name and position
288:Updates the offset information about the end of the MySQL binlog entry
290:replication slave updates the latest master binlog position up to which
294:trx_
302:Prints to stderr the MySQL binlog offset info in the trx system header if
306:trx_
382:Prints to stderr the MySQL binlog info in the system header if the
386:trx_
466:/** Maximum length of MySQL binlog file name, in bytes.
480:/** The offset of the MySQL binlog offset info in the trx system header */
485: MySQL binlog info */
plugin/
548: /* if MySQL binlog is used, this field
550: name; this is NULL if binlog is not
552: ib_int64_t mysql_log_offset;/* if MySQL binlog is used, this field
553: contains the end offset of the binlog
plugin/
83: add_error_
drizzled/base.h
351:#define HA_ERR_
drizzled/
54: <li><code>
drizzled/
382: must be effective for binlogging
396: /* ok to client sent only after binlog write and engine commit */
drizzled/session.cc
860: /* Forget those values, for next binlogger: */
861: auto_inc_
1741: auto_inc_
1969: binlog_query()) or when preparing a pending event.
drizzled/session.h
589: auto_inc_
590: reserved interval (if statement-based binlogging).
594: - when stmt goes to binlog,
595: auto_inc_
601: storage in the statement-based binlog.
608: in the binlog is still needed; the list's minimum will contain 3.
610: Discrete_
832: exclusive right to see its values be written to binlog (the write
834: their values be written to binlog.
837: the master's binlog wins the exclusive right to read them (so the losers
838: won't read their values from binlog but instead generate on their own).
840: auto_inc_
845: auto_inc_
852: that in binlog we'll store the interval of t1 and the interval of t2 (when
857: from what it was on master (which is likely). In 5.1, in mixed binlogging
858: mode, row-based binlogging is used for such cases where two
872: (mysqlbinlog). We'll soon add a variant which can take many intervals in
drizzled/
124: - We should not be binlogging this statement row-based, and
262: failed DELETE, and also wrote it to the binlog. For MyISAM
304: /* See similar binlogging code in sql_update.cc, for comments */
drizzled/
35: * binlog or not.
43: * Presumably, RESET and binlog writing doesn't require synchronization
drizzled/
914: to binlog atomic we have to put them into the same critical section
drizzled/
98: /* DDL and binlog write order protected by LOCK_open */
drizzled/
67: * query to the binlog (e.g. FLUSH SLAVE); this is a
69: * it thinks we really should not write to the binlog.
drizzled/error.cc
413: add(ER_
588: add(ER_
590: add(ER_
733: add(ER_
776: add(ER_
drizzled/
195: "recovery information (last binlog or %s file) was "
drizzled/
78: get_var_
drizzled/cursor.cc
399: session-
400: binlogging; the last reserved interval is remembered in
417: present in session-
489: session-
1339: Check if the conditions for row-based binlogging is correct for the table.
drizzled/
102: Write the binlog if open, routine used in multiple places in this
2146: call to plugin:
drizzled/
1327: We must invalidate the table in the query cache before binlog writing
1382: the binlog (and the error code will make the slave stop).
drizzled/
294: Note: the following includes binlog and closing 0.
295: so: innodb + bdb + ndb + binlog + myisam + myisammrg + archive +
drizzled/common.h
37: options list are written into binlog. These options can NOT change their
60:#define OPTION_AUTO_IS_NULL (UINT64_C(1) << 14) // THD, user, binlog
71:#define OPTION_
74:#define OPTION_
83: (Time zone name is char(64) in db). mysqlbinlog needs it.
drizzled/
502: binlogging.
507: // simulated killing after the loop must be ineffective for binlogging
527: Sometimes we want to binlog even if we updated no rows, in case user used
drizzled/set_var.cc
1210: replicable (i.e. we tell the binlog code to store the session
1212: (binlog code stores session value only).
tests/test-run.pl
2797: # Chech that diff is binlog format only
tests/lib/
439: # Replication test needs an adjustment of binlog format
444: # Get binlog-format used by this test from master_opt
446: my $test_binlog_
448: $test_binlog_
449: mtr_match_
451: # print $tinfo->{name}." uses ".$test_
454: # If a special binlog format was selected with
455: # --mysqld=
456: # binlog-format
458: if (defined $::used_
459: $test_binlog_format and
460: $::used_
463: $tinfo-
468: # Check that testcase supports the designated binlog-format
470: if ($test_
473: grep { $_ eq $test_binlog_format } @{$tinfo-
478: "Doesn't support --binlog-
484: # Use dynamic switching of binlog-format if mtr started
485: # w/o --mysqld=
488: !defined $::used_
490: $test_binlog_
493: # Save binlog format for dynamic switching
494: $tinfo-
823: ["include/
824: ["include/
825: ["include/
826: "sup_binlog_
827: ["include/
828: ["include/
829: "sup_binlog_
830: ["include/
831: "sup_binlog_
832: ["include/
833: "sup_binlog_
tests/lib/
432: $testname eq 'binlog.
433: $testname eq 'binlog.
Blueprint information
- Status:
- Complete
- Approver:
- Jay Pipes
- Priority:
- Medium
- Drafter:
- Jay Pipes
- Direction:
- Approved
- Assignee:
- David Shrewsbury
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- David Shrewsbury