This commit is contained in:
Lunny Xiao 2015-08-12 22:02:27 +08:00
parent 29fd03b318
commit b3ec16b09c
4 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
xorm v0.4.3.0806
xorm v0.4.3.0812

View File

@ -33,7 +33,7 @@ func test(engine *xorm.Engine) {
return
}
size := 500
size := 100
queue := make(chan int, size)
for i := 0; i < size; i++ {
@ -83,7 +83,7 @@ func test(engine *xorm.Engine) {
}
func main() {
runtime.GOMAXPROCS(1)
runtime.GOMAXPROCS(2)
fmt.Println("-----start sqlite go routines-----")
engine, err := sqliteEngine()
if err != nil {

View File

@ -818,6 +818,7 @@ func (statement *Statement) Cols(columns ...string) *Statement {
if strings.Contains(statement.ColumnStr, ".") {
statement.ColumnStr = strings.Replace(statement.ColumnStr, ".", statement.Engine.Quote("."), -1)
}
statement.ColumnStr = strings.Replace(statement.ColumnStr, statement.Engine.Quote("*"), "*", -1)
return statement
}

View File

@ -17,7 +17,7 @@ import (
)
const (
Version string = "0.4.3.0806"
Version string = "0.4.3.0812"
)
func regDrvsNDialects() bool {