This commit is contained in:
Lunny Xiao 2013-12-18 11:31:32 +08:00
parent 286b8725ed
commit 59412a951c
23 changed files with 8388 additions and 8392 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ vendor
*.log
.vendor
temp_test.go

View File

@ -3317,7 +3317,6 @@ func testCompositeKey(engine *Engine, t *testing.T) {
}
}
func testAll(engine *Engine, t *testing.T) {
fmt.Println("-------------- directCreateTable --------------")
directCreateTable(engine, t)

View File

@ -36,4 +36,3 @@ type AfterUpdateProcessor interface {
type AfterDeleteProcessor interface {
AfterDelete()
}

View File

@ -1582,7 +1582,6 @@ func (session *Session) bytes2Value(col *Column, fieldValue *reflect.Value, data
key := col.Name
fieldType := fieldValue.Type()
//fmt.Println("column name:", key, ", fieldType:", fieldType.String())
switch fieldType.Kind() {
case reflect.Complex64, reflect.Complex128:

View File

@ -609,7 +609,6 @@ func (statement *Statement) genColumnStr() string {
func (statement *Statement) genCreateTableSQL() string {
sql := "CREATE TABLE IF NOT EXISTS " + statement.Engine.Quote(statement.TableName()) + " ("
pkList := []string{}
for _, colName := range statement.RefTable.ColumnsSeq {
@ -835,4 +834,3 @@ func (statement *Statement) processIdParam() {
}
}
}