Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
091401e7
Commit
091401e7
authored
Jun 09, 2006
by
ingo@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mydev/mysql-5.1--main
into mysql.com:/home/mydev/mysql-5.1-amerge
parents
f991b573
c2df72d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/extra/binlog_tests/innodb_stat.test
mysql-test/extra/binlog_tests/innodb_stat.test
+2
-0
sql/log.cc
sql/log.cc
+2
-4
sql/sql_insert.cc
sql/sql_insert.cc
+2
-0
No files found.
mysql-test/extra/binlog_tests/innodb_stat.test
View file @
091401e7
# Embedded server doesn't support binlog
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_innodb
.
inc
#
...
...
sql/log.cc
View file @
091401e7
...
...
@@ -2852,7 +2852,7 @@ bool MYSQL_LOG::write(Log_event *event_info)
}
#endif
/* HAVE_REPLICATION */
#if
def USING_TRANSACTIONS
#if
defined(USING_TRANSACTIONS) && defined(HAVE_ROW_BASED_REPLICATION)
/*
Should we write to the binlog cache or to the binlog on disk?
Write to the binlog cache if:
...
...
@@ -2864,10 +2864,8 @@ bool MYSQL_LOG::write(Log_event *event_info)
*/
if
(
opt_using_transactions
&&
thd
)
{
#ifdef HAVE_ROW_BASED_REPLICATION
if
(
thd
->
binlog_setup_trx_data
())
goto
err
;
#endif
/*HAVE_ROW_BASED_REPLICATION*/
binlog_trx_data
*
const
trx_data
=
(
binlog_trx_data
*
)
thd
->
ha_data
[
binlog_hton
.
slot
];
...
...
@@ -2891,7 +2889,7 @@ bool MYSQL_LOG::write(Log_event *event_info)
LOCK_log.
*/
}
#endif
#endif
/* USING_TRANSACTIONS && HAVE_ROW_BASED_REPLICATION */
DBUG_PRINT
(
"info"
,(
"event type: %d"
,
event_info
->
get_type_code
()));
/*
...
...
sql/sql_insert.cc
View file @
091401e7
...
...
@@ -2778,7 +2778,9 @@ void select_create::binlog_show_create_table(TABLE **tables, uint count)
schema that will do a close_thread_tables(), destroying the
statement transaction cache.
*/
#ifdef HAVE_ROW_BASED_REPLICATION
DBUG_ASSERT
(
thd
->
current_stmt_binlog_row_based
);
#endif
DBUG_ASSERT
(
tables
&&
*
tables
&&
count
>
0
);
char
buf
[
2048
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment