mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: fix mysql2 SQL template
This commit is contained in:
parent
3abbaccb70
commit
1f75f1f9dc
|
@ -66,7 +66,7 @@ upsertQuery = """INSERT INTO `%s` (dirhash,name,directory,meta) VALUES(?,?,?,?)
|
||||||
[mysql2] # or memsql, tidb
|
[mysql2] # or memsql, tidb
|
||||||
enabled = false
|
enabled = false
|
||||||
createTable = """
|
createTable = """
|
||||||
CREATE TABLE IF NOT EXISTS ` + "`%s`" + ` (
|
CREATE TABLE IF NOT EXISTS `%s` (
|
||||||
dirhash BIGINT,
|
dirhash BIGINT,
|
||||||
name VARCHAR(1000) BINARY,
|
name VARCHAR(1000) BINARY,
|
||||||
directory TEXT BINARY,
|
directory TEXT BINARY,
|
||||||
|
|
Loading…
Reference in a new issue