mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bug#33329 extraneous ROLLBACK in binlog on connection does not use trans tables
changes for an assert and an updated results file.
This commit is contained in:
@ -447,7 +447,7 @@ UPDATE t4,t3 SET t4.a=t3.a + bug27417(1) /* top level non-ta table */;
|
|||||||
ERROR 23000: Duplicate entry '2' for key 1
|
ERROR 23000: Duplicate entry '2' for key 1
|
||||||
show master status /* the offset must denote there is the query */;
|
show master status /* the offset must denote there is the query */;
|
||||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||||
master-bin.000001 369
|
master-bin.000001 230
|
||||||
select count(*) from t1 /* must be 4 */;
|
select count(*) from t1 /* must be 4 */;
|
||||||
count(*)
|
count(*)
|
||||||
4
|
4
|
||||||
|
@ -1482,7 +1482,7 @@ void multi_update::send_error(uint errcode,const char *err)
|
|||||||
|
|
||||||
if (trans_safe)
|
if (trans_safe)
|
||||||
{
|
{
|
||||||
DBUG_ASSERT(transactional_tables);
|
DBUG_ASSERT(!updated || transactional_tables);
|
||||||
(void) ha_autocommit_or_rollback(thd, 1);
|
(void) ha_autocommit_or_rollback(thd, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user