1
0
Fork 0

Don't test geometry

This commit is contained in:
Gregory Eremin 2018-11-08 23:59:52 +01:00
parent 9e1f5406c1
commit bfcc5ad63e
2 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,12 @@ func TestJSON(t *testing.T) {
suite.insertAndCompare(t, tbl, exp)
}
func TestGeometry(t *testing.T) {
// Geometry values are tricky
// FIXME: Implement me one day
t.Skip("Not implemented")
}
func TestSet(t *testing.T) {
tbl := suite.createTable(mysql.ColumnTypeSet, "'a', 'b', 'c'", attrNone)
defer tbl.drop(t)

View File

@ -73,6 +73,7 @@ func (tbl *table) insert(t *testing.T, val interface{}) {
if val == nil {
val = "NULL"
}
// log.Printf("Table: %s Value: %v", tbl.name, val)
_, err := tbl.conn.Exec(fmt.Sprintf(`INSERT INTO %s VALUES (?)`, tbl.name), val)
if err != nil {