We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Created by Knut Alboldt, 4th Dec 2012. (originally Lighthouse ticket #46):
I found a small glitch in the SQLite(3)-Driver (cakephp 2.2.3, ./lib/Cake/Model/Datasource/Database/Sqlite.php):
I named a table "order". When using "Console/cake bake" I*ve got an Error (sorry, can't remember the right msg now) at the line 475:
475: $indexes = $this->query('PRAGMA index_list(' . $table . ')');
Obviously, "order" is interpreted as a keyword here. Changed the line to
475: $indexes = $this->query('PRAGMA index_list("' . $table . '")');
and "bake" works.
Maybe you could check, if I'm right.
Thanks
Knut
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Created by Knut Alboldt, 4th Dec 2012. (originally Lighthouse ticket #46):
I found a small glitch in the SQLite(3)-Driver (cakephp 2.2.3, ./lib/Cake/Model/Datasource/Database/Sqlite.php):
I named a table "order". When using "Console/cake bake" I*ve got an Error (sorry, can't remember the right msg now) at the line 475:
475: $indexes = $this->query('PRAGMA index_list(' . $table . ')');
Obviously, "order" is interpreted as a keyword here. Changed the line to
475: $indexes = $this->query('PRAGMA index_list("' . $table . '")');
and "bake" works.
Maybe you could check, if I'm right.
Thanks
Knut
The text was updated successfully, but these errors were encountered: