We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba554f commit c2276d5Copy full SHA for c2276d5
src/Log/EventLogger.php
@@ -109,7 +109,7 @@ public function query(QueryEvent $event)
109
if (isset($this->logger)) {
110
$query = $event->getQuery();
111
112
- $connection = $query->getConnection();
+ $connection = $query->getConnection()->getLdapConnection();
113
114
$selected = implode(',', $query->getSelects());
115
src/Query/Builder.php
@@ -568,7 +568,9 @@ protected function parse($resource)
568
*/
569
protected function getCacheKey($query)
570
{
571
- $key = $this->connection->getHost()
+ $host = $this->connection->getLdapConnection()->getHost();
572
+
573
+ $key = $host
574
.$this->type
575
.$this->getDn()
576
.$query
0 commit comments