mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed previous patch, wrong if() -test.
This commit is contained in:
@ -3571,8 +3571,8 @@ end_with_restore_list:
|
|||||||
res= TRUE; // cannot happen
|
res= TRUE; // cannot happen
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((thd->options & OPTION_KEEP_LOG) &&
|
if (((thd->options & OPTION_KEEP_LOG) || thd->no_trans_update.all) &&
|
||||||
thd->no_trans_update.all && !thd->slave_thread)
|
!thd->slave_thread)
|
||||||
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||||
ER_WARNING_NOT_COMPLETE_ROLLBACK,
|
ER_WARNING_NOT_COMPLETE_ROLLBACK,
|
||||||
ER(ER_WARNING_NOT_COMPLETE_ROLLBACK));
|
ER(ER_WARNING_NOT_COMPLETE_ROLLBACK));
|
||||||
|
Reference in New Issue
Block a user