Details
Description
When trying to generate update SQL on MySQL running in ANSI SQL mode you get the error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'BASE TABLE' in 'where clause'
This is caused by the use of identifier quotes (") instead of literal quotes (') in the query
SHOW FULL TABLES WHERE Table_type = "BASE TABLE"
This is in MySqlPlatform#getListTablesSQL()
Issue Links
- is duplicated by
-
DDC-1019
Double quotation mark mysql query error on orm:convert-mapping --from-database
-
Activity
Benjamin Eberlei
made changes -
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10931 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10931 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10932 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10932 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10933 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10933 ] |
Bernhard Schlas
made changes -
| Attachment | base_table.patch [ 10934 ] |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0.2 [ 10118 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 12356 ] | jira-feedback2 [ 17692 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17692 ] | jira-feedback3 [ 20047 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-85, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Here is a temporary dirty patch for this problem. ONLY FOR TESTING PURPOSE!!!