Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behavior of Phalcon\Db\Dialect::escape #11359

Closed
sergeyklay opened this issue Feb 2, 2016 · 1 comment
Closed

Incorrect behavior of Phalcon\Db\Dialect::escape #11359

sergeyklay opened this issue Feb 2, 2016 · 1 comment
Labels
bug A bug report status: medium Medium

Comments

@sergeyklay
Copy link
Contributor

Currently, it isn't impossible to use the database name with dots.

How to reproduce:

use Phalcon\Db\Dialect\Mysql;

$dialect = new Mysql;
$dialect->describeColumns('users', 'database.name.with.dots');

ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.dots.users' at line 1

@sergeyklay
Copy link
Contributor Author

Fixed in 2.0.x

@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

2 participants