Commit f3f9bbca authored by Will Eaton's avatar Will Eaton Committed by Valentin Guignon
Browse files

Issue #3277223 by willeaton: ILIKE doesn't exist in mysql

parent a491de3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -835,7 +835,7 @@ class Database extends ExternalEntityStorageClientBase implements PluginFormInte
      if (is_string($parameter['value'])) {
        $parameter['value'] = "'" . $parameter['value'] . "'";
      }
      if ($parameter['operator'] === 'LIKE') {
      if ($parameter['operator'] === 'LIKE' && $this->xConnection->databaseType() === 'pgsql') {
        // Deal with capitalization.
        $parameter['operator'] = 'ILIKE';
      }