mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix typo
This commit is contained in:
parent
b318f1e4f4
commit
f098f5c368
@ -352,7 +352,7 @@ class egw_db
|
|||||||
// check Galera wsrep_local_state for node is not in state Synced, eg. Donor
|
// check Galera wsrep_local_state for node is not in state Synced, eg. Donor
|
||||||
// check is only done for Type=mysql and will succed if no Galera
|
// check is only done for Type=mysql and will succed if no Galera
|
||||||
if ($new_connection && $this->Type == 'mysql' && strpos($this->Host, ';') !== false &&
|
if ($new_connection && $this->Type == 'mysql' && strpos($this->Host, ';') !== false &&
|
||||||
($state = $this->query("SHOW STATUS LIKE 'wsrep_local_state'")->fetchColumn(1) !== false) &&
|
($state = $this->query("SHOW STATUS LIKE 'wsrep_local_state'")->fetchColumn(1)) !== false &&
|
||||||
$state != 4) // 4 = Synced
|
$state != 4) // 4 = Synced
|
||||||
{
|
{
|
||||||
throw new egw_exception_db_connection('wsrep-local-state='.array2string($state).' != 4');
|
throw new egw_exception_db_connection('wsrep-local-state='.array2string($state).' != 4');
|
||||||
|
Loading…
Reference in New Issue
Block a user