* PostgreSQL/Setup: fix SQL error in Backup or update: Invalid SQL: SELECT * FROM egw_pm_members

ADOdb drive for PostgreSQL requires 2. parameter for RowLock, while MySQL(i) defaults to all rows
This commit is contained in:
Ralf Becker 2016-08-09 09:31:36 +02:00
parent eafd69cfd4
commit 2a1c5f2443

View File

@ -943,7 +943,7 @@ class Backup
if ($lock_table || empty($pk) && is_null($lock_table)) if ($lock_table || empty($pk) && is_null($lock_table))
{ {
$this->db->Link_ID->RowLock($table); $this->db->Link_ID->RowLock($table, 'true'); // PostgreSQL drive from ADOdb requires 2. param $where!
} }
$total = $max = 0; $total = $max = 0;
do { do {