From 362f0c41126c12288676e69659eca2fcc0726072 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 1 Mar 2020 23:06:04 +0800 Subject: [PATCH] Fix bug --- dialects/filter.go | 2 -- dialects/mssql.go | 1 - 2 files changed, 3 deletions(-) diff --git a/dialects/filter.go b/dialects/filter.go index 0722363f..4c33a100 100644 --- a/dialects/filter.go +++ b/dialects/filter.go @@ -47,7 +47,6 @@ func (s *QuoteFilter) Do(sql string) string { } } return buf.String() - } // SeqFilter filter SQL replace ?, ? ... to $1, $2 ... @@ -72,7 +71,6 @@ func convertQuestionMark(sql, prefix string, start int) string { } } return buf.String() - } func (s *SeqFilter) Do(sql string) string { diff --git a/dialects/mssql.go b/dialects/mssql.go index 8d092886..261acf97 100644 --- a/dialects/mssql.go +++ b/dialects/mssql.go @@ -210,7 +210,6 @@ var ( type mssql struct { Base - quoter schemas.Quoter } func (db *mssql) Init(d *core.DB, uri *URI) error {