fix MSSQL bug on org (#3405)

This commit is contained in:
Lunny Xiao authored and Lauris BH committed 2018-01-27 17:20:59 +02:00
1 parent a0c397df08
commit 97fe773491
28 files changed
+1011 -164

No files matched your search

+4
View File
@@ -45,6 +45,10 @@ func (b *Builder) selectWriteTo(w Writer) error {
}
}
if !b.cond.IsValid() {
return nil
}
if _, err := fmt.Fprint(w, " WHERE "); err != nil {
return err
}