* 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 3ebc3d677f
commit 7822f84943

View File

@ -943,7 +943,7 @@ class Backup
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;
do {