Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "supermetrics-public/php-mysql-replication",
"description": "Pure PHP Implementation of MySQL replication protocol. This allow you to receive event like insert, update, delete with their data and raw SQL queries.",
"type": "library",
"version": "1.0.8",
"version": "1.0.9",
"require": {
"php": "^8.1 || ^8.2 || ^8.3",
"ext-bcmath": "*",
Expand Down
4 changes: 0 additions & 4 deletions src/MySQLReplication/Event/RowEvent/RowEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use MySQLReplication\JsonBinaryDecoder\JsonBinaryDecoderService;
use MySQLReplication\Repository\FieldDTO;
use MySQLReplication\Repository\RepositoryInterface;
use Psr\Log\LoggerInterface;
use RuntimeException;

class RowEvent extends EventCommon
Expand Down Expand Up @@ -294,7 +293,6 @@ public function __construct(
private readonly TableMapCache $tableMapCache,
private readonly Config $config,
protected BinLogServerInfo $binLogServerInfo,
private readonly LoggerInterface $logger
) {
parent::__construct($eventInfo, $binaryDataReader, $binLogServerInfo);
}
Expand Down Expand Up @@ -437,8 +435,6 @@ protected function findTableMap(): ?TableMap
return $this->tableMapCache->get($tableId);
}

$this->logger->info('No table map found for table ID: ' . $tableId);

return null;
}

Expand Down
5 changes: 1 addition & 4 deletions src/MySQLReplication/Event/RowEvent/RowEventBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use MySQLReplication\Config\Config;
use MySQLReplication\Event\EventInfo;
use MySQLReplication\Repository\RepositoryInterface;
use Psr\Log\LoggerInterface;
use Psr\SimpleCache\CacheInterface;

class RowEventBuilder
Expand All @@ -22,7 +21,6 @@ public function __construct(
private readonly CacheInterface $cache,
private readonly Config $config,
private readonly BinLogServerInfo $binLogServerInfo,
private readonly LoggerInterface $logger
) {
}

Expand All @@ -39,8 +37,7 @@ public function build(): RowEvent
$this->eventInfo,
new TableMapCache($this->cache),
$this->config,
$this->binLogServerInfo,
$this->logger
$this->binLogServerInfo
);
}

Expand Down
3 changes: 1 addition & 2 deletions src/MySQLReplication/MySQLReplicationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ public function __construct(
$repository,
$cache,
$config,
$this->binLogSocketConnect->getBinLogServerInfo(),
$logger
$this->binLogSocketConnect->getBinLogServerInfo()
)
),
$this->eventDispatcher,
Expand Down