From acfe622aa06be6973584e4d3c1c3b2dd726bb449 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 19 Jun 2017 20:36:48 +0800 Subject: [PATCH] fix bug --- types_null_test.go | 2 +- xorm_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types_null_test.go b/types_null_test.go index 776b2e6e..bb232735 100644 --- a/types_null_test.go +++ b/types_null_test.go @@ -22,7 +22,7 @@ type NullType struct { Age sql.NullInt64 Height sql.NullFloat64 IsMan sql.NullBool `xorm:"null"` - CustomStruct CustomStruct `xorm:"valchar(64) null"` + CustomStruct CustomStruct `xorm:"varchar(64) null"` } type CustomStruct struct { diff --git a/xorm_test.go b/xorm_test.go index 2e722f86..92ed043d 100644 --- a/xorm_test.go +++ b/xorm_test.go @@ -36,6 +36,7 @@ func createEngine(dbType, connStr string) error { testEngine.ShowSQL(*showSQL) testEngine.logger.SetLevel(core.LOG_DEBUG) + //testEngine.QuoteMode = QuoteNoAdd } tables, err := testEngine.DBMetas()