From 6282a6d5ca90a9ed79191d29efdb7f25a37af95a Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 23 Feb 2023 08:39:30 +0530 Subject: [PATCH] Quote table name. --- src/TestSuite/Fixture/ChecksumTestFixture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestSuite/Fixture/ChecksumTestFixture.php b/src/TestSuite/Fixture/ChecksumTestFixture.php index f88c099..d26f0d8 100644 --- a/src/TestSuite/Fixture/ChecksumTestFixture.php +++ b/src/TestSuite/Fixture/ChecksumTestFixture.php @@ -112,7 +112,7 @@ protected function _hash(ConnectionInterface $db): string $driver = $db->getDriver(); if ($driver instanceof Mysql) { - $sth = $db->execute('CHECKSUM TABLE ' . $this->table); + $sth = $db->execute('CHECKSUM TABLE `' . $this->table . '`'); return $sth->fetchColumn(1); }