MySQL fails on "create table log(" - needs "log (" instead

Issue #206 resolved
Former user created an issue

In source:/sqlalchemy/trunk/lib/sqlalchemy/ansisql.py ANSISchemaGenerator.visit_table "create table" is appended with the table name and a parenthesis "(". MySQL seems to raise a syntax error on this if the table name is "log".

Adding a space character between the table name and the parenthesis fixes the problem.

Comments (3)

  1. Log in to comment