0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Merge pull request #74 from digitalist/master

fix my mistake
This commit is contained in:
Roland Bock 2016-03-26 16:32:02 +01:00
commit ba95748b91

View File

@ -147,7 +147,7 @@ print('#include <' + INCLUDE + '/char_sequence.h>', file=header)
print('', file=header) print('', file=header)
print('namespace ' + namespace, file=header) print('namespace ' + namespace, file=header)
print('{', file=header) print('{', file=header)
DataTypeError = False;
for create in tableCreations: for create in tableCreations:
sqlTableName = create.tableName sqlTableName = create.tableName
tableClass = toClassName(sqlTableName) tableClass = toClassName(sqlTableName)
@ -156,7 +156,6 @@ for create in tableCreations:
tableTemplateParameters = tableClass tableTemplateParameters = tableClass
print(' namespace ' + tableNamespace, file=header) print(' namespace ' + tableNamespace, file=header)
print(' {', file=header) print(' {', file=header)
DataTypeError = False;
for column in create.columns: for column in create.columns:
if column.isConstraint: if column.isConstraint:
continue continue