Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

PDOException on SHOW TABLES #19

@georgehristov

Description

@georgehristov

if (!$this->connection->expr('show tables like []', [$table])->get()) {

For some reason PDO does not accept parameter for the expression and throws exception when preparing the statement

Exception text:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 1

MariaDB 10.1.38
PHP 7.3.11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions