From 1f75f1f9dc19f74a76028420a724a4ab984c4b3d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 11 Nov 2021 22:28:28 -0800 Subject: [PATCH] filer: fix mysql2 SQL template --- weed/command/scaffold/filer.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index e26aaa1c7..a56251ae7 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -66,7 +66,7 @@ upsertQuery = """INSERT INTO `%s` (dirhash,name,directory,meta) VALUES(?,?,?,?) [mysql2] # or memsql, tidb enabled = false createTable = """ - CREATE TABLE IF NOT EXISTS ` + "`%s`" + ` ( + CREATE TABLE IF NOT EXISTS `%s` ( dirhash BIGINT, name VARCHAR(1000) BINARY, directory TEXT BINARY,