1
mirror of https://github.com/CarmJos/EasySQL.git synced 2024-09-19 21:35:47 +00:00

Merge pull request #28 from Ghost-chu/patch-1

修复 extraColumns 缺少 BackQuote 的问题
This commit is contained in:
Carm Jos 2022-02-06 14:01:19 +08:00 committed by GitHub
commit 508a560eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ public class TableCreateBuilderImpl extends AbstractSQLBuilder implements TableC
indexBuilder.append(", ");
for (int i = 0; i < moreColumns.length; i++) {
indexBuilder.append(moreColumns[i]);
indexBuilder.append(withBackQuote(moreColumns[i]));
if (i != moreColumns.length - 1) indexBuilder.append(", ");
}