fix bug
This commit is contained in:
parent
bd32ba97b7
commit
acfe622aa0
|
@ -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 {
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue