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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
684bda9a
Commit
684bda9a
authored
Jun 15, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bkroot/mysql-5.1-new-rpl
into mysql.com:/home/bk/b19066-mysql-5.1-new
parents
aab52282
c437565c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
75 deletions
+83
-75
sql/handler.cc
sql/handler.cc
+83
-75
No files found.
sql/handler.cc
View file @
684bda9a
...
@@ -3221,9 +3221,10 @@ namespace {
...
@@ -3221,9 +3221,10 @@ namespace {
THD::lock
THD::lock
THD::locked_tables
THD::locked_tables
*/
*/
static
int
namespace
write_locked_table_maps
(
THD
*
thd
)
{
{
int
write_locked_table_maps
(
THD
*
thd
)
{
DBUG_ENTER
(
"write_locked_table_maps"
);
DBUG_ENTER
(
"write_locked_table_maps"
);
DBUG_PRINT
(
"enter"
,
(
"thd=%p, thd->lock=%p, thd->locked_tables=%p"
,
DBUG_PRINT
(
"enter"
,
(
"thd=%p, thd->lock=%p, thd->locked_tables=%p"
,
thd
,
thd
->
lock
,
thd
->
locked_tables
));
thd
,
thd
->
lock
,
thd
->
locked_tables
));
...
@@ -3260,12 +3261,13 @@ write_locked_table_maps(THD *thd)
...
@@ -3260,12 +3261,13 @@ write_locked_table_maps(THD *thd)
}
}
}
}
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
template
<
class
RowsEventT
>
int
binlog_log_row
(
TABLE
*
table
,
template
<
class
RowsEventT
>
int
binlog_log_row
(
TABLE
*
table
,
const
byte
*
before_record
,
const
byte
*
before_record
,
const
byte
*
after_record
)
const
byte
*
after_record
)
{
{
if
(
table
->
file
->
is_injective
())
if
(
table
->
file
->
is_injective
())
return
0
;
return
0
;
bool
error
=
0
;
bool
error
=
0
;
...
@@ -3303,17 +3305,23 @@ template<class RowsEventT> int binlog_log_row(TABLE* table,
...
@@ -3303,17 +3305,23 @@ template<class RowsEventT> int binlog_log_row(TABLE* table,
}
}
}
}
return
error
?
HA_ERR_RBR_LOGGING_FAILED
:
0
;
return
error
?
HA_ERR_RBR_LOGGING_FAILED
:
0
;
}
}
/*
/*
Instantiate the versions we need for the above template function, because we
Instantiate the versions we need for the above template function,
have -fno-implicit-template as compiling option.
because we
have -fno-implicit-template as compiling option.
*/
*/
template
int
binlog_log_row
<
Write_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
template
int
template
int
binlog_log_row
<
Delete_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
binlog_log_row
<
Write_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
template
int
binlog_log_row
<
Update_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
template
int
binlog_log_row
<
Delete_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
template
int
binlog_log_row
<
Update_rows_log_event
>(
TABLE
*
,
const
byte
*
,
const
byte
*
);
}
#endif
/* HAVE_ROW_BASED_REPLICATION */
#endif
/* HAVE_ROW_BASED_REPLICATION */
...
...
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