forked from extern/egroupware
* 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
eafd69cfd4
commit
2a1c5f2443
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user