mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
only rollback_lock() if we locked rows
This commit is contained in:
parent
1535887d70
commit
78f261619d
@ -989,7 +989,7 @@ class Backup
|
||||
}
|
||||
while((!empty($pk) || $lock_table !== false) && !($total % self::ROW_CHUNK) && $num_rows);
|
||||
|
||||
if (!$pk) $this->db->rollback_lock($table);
|
||||
if (!$pk && $lock_table !== false) $this->db->rollback_lock($table);
|
||||
}
|
||||
|
||||
// let apps know that backup is finished
|
||||
|
Loading…
Reference in New Issue
Block a user