From f47b4939787074397c9ea37c1d892a1f7ccc7290 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 21 Mar 2018 09:47:34 +0100 Subject: 2018-03-21 09:24:00 --- tex/context/base/mkiv/util-sql-loggers.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tex/context/base/mkiv/util-sql-loggers.lua') diff --git a/tex/context/base/mkiv/util-sql-loggers.lua b/tex/context/base/mkiv/util-sql-loggers.lua index 7cf4f6175..b69e397d2 100644 --- a/tex/context/base/mkiv/util-sql-loggers.lua +++ b/tex/context/base/mkiv/util-sql-loggers.lua @@ -61,8 +61,7 @@ CREATE TABLE IF NOT EXISTS %basename% ( `data` longtext, PRIMARY KEY (`id`), UNIQUE KEY `id_unique_key` (`id`) -) -DEFAULT CHARSET = utf8 ; +) DEFAULT CHARSET = utf8 ; ]] local sqlite_template = [[ @@ -80,7 +79,7 @@ function loggers.createdb(presets,datatable) local db = checkeddb(presets,datatable) db.execute { - template = (db.usedmethod == "sqlite" or db.usedmethod == "sqlffi") and sqlite_template or template, + template = db.usedmethod == "sqlite" and sqlite_template or template, variables = { basename = db.basename, }, -- cgit v1.2.3