mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Merge 10.6 into 10.11
This commit is contained in:
commit
565a0cebd8
22 changed files with 345 additions and 80 deletions
|
|
@ -1603,7 +1603,12 @@ bool wsrep_sync_wait (THD* thd, uint mask)
|
|||
This allows autocommit SELECTs and a first SELECT after SET AUTOCOMMIT=0
|
||||
TODO: modify to check if thd has locked any rows.
|
||||
*/
|
||||
return thd->wsrep_cs().sync_wait(-1);
|
||||
if (thd->wsrep_cs().sync_wait(-1))
|
||||
{
|
||||
wsrep_override_error(thd, thd->wsrep_cs().current_error(),
|
||||
thd->wsrep_cs().current_error_status());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue