mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02: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);
|
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
|
// let apps know that backup is finished
|
||||||
|
Loading…
x
Reference in New Issue
Block a user