--- a/src/Pure/Tools/sql.scala Sun Sep 04 22:04:07 2016 +0200
+++ b/src/Pure/Tools/sql.scala Sun Sep 04 23:04:34 2016 +0200
@@ -141,12 +141,12 @@
}
def sql_create(strict: Boolean, rowid: Boolean): String =
- "CREATE TABLE " + (if (strict) "" else " IF NOT EXISTS ") +
+ "CREATE TABLE " + (if (strict) "" else "IF NOT EXISTS ") +
quote_ident(name) + " " + columns.map(_.sql_decl).mkString("(", ", ", ")") +
(if (rowid) "" else " WITHOUT ROWID")
def sql_drop(strict: Boolean): String =
- "DROP TABLE " + (if (strict) "" else " IF EXISTS ") + quote_ident(name)
+ "DROP TABLE " + (if (strict) "" else "IF EXISTS ") + quote_ident(name)
override def toString: String =
"TABLE " + quote_ident(name) + " " + columns.map(_.toString).mkString("(", ", ", ")")