mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
* 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:
parent
3ebc3d677f
commit
7822f84943
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user