mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merged fixes for BUG#39934 to 5.1-rpl+3
Also renamed current_stmt_binlog_row_based to current_stmt_binlog_format_row for consistency
This commit is contained in:
@ -355,7 +355,13 @@ int ha_example::close(void)
|
||||
int ha_example::write_row(uchar *buf)
|
||||
{
|
||||
DBUG_ENTER("ha_example::write_row");
|
||||
DBUG_RETURN(HA_ERR_WRONG_COMMAND);
|
||||
/*
|
||||
Example of a successful write_row. We don't store the data
|
||||
anywhere; they are thrown away. A real implementation will
|
||||
probably need to do something with 'buf'. We report a success
|
||||
here, to pretend that the insert was successful.
|
||||
*/
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -83,11 +83,11 @@ public:
|
||||
ulonglong table_flags() const
|
||||
{
|
||||
/*
|
||||
We are saying that this engine is just row capable to have an
|
||||
engine that can only handle row-based logging. This is used in
|
||||
testing.
|
||||
We are saying that this engine is just statement capable to have
|
||||
an engine that can only handle statement-based logging. This is
|
||||
used in testing.
|
||||
*/
|
||||
return HA_BINLOG_ROW_CAPABLE;
|
||||
return HA_BINLOG_STMT_CAPABLE;
|
||||
}
|
||||
|
||||
/** @brief
|
||||
|
Reference in New Issue
Block a user