Don't test geometry
This commit is contained in:
parent
9e1f5406c1
commit
bfcc5ad63e
@ -14,6 +14,12 @@ func TestJSON(t *testing.T) {
|
|||||||
suite.insertAndCompare(t, tbl, exp)
|
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) {
|
func TestSet(t *testing.T) {
|
||||||
tbl := suite.createTable(mysql.ColumnTypeSet, "'a', 'b', 'c'", attrNone)
|
tbl := suite.createTable(mysql.ColumnTypeSet, "'a', 'b', 'c'", attrNone)
|
||||||
defer tbl.drop(t)
|
defer tbl.drop(t)
|
||||||
|
@ -73,6 +73,7 @@ func (tbl *table) insert(t *testing.T, val interface{}) {
|
|||||||
if val == nil {
|
if val == nil {
|
||||||
val = "NULL"
|
val = "NULL"
|
||||||
}
|
}
|
||||||
|
|
||||||
// log.Printf("Table: %s Value: %v", tbl.name, val)
|
// log.Printf("Table: %s Value: %v", tbl.name, val)
|
||||||
_, err := tbl.conn.Exec(fmt.Sprintf(`INSERT INTO %s VALUES (?)`, tbl.name), val)
|
_, err := tbl.conn.Exec(fmt.Sprintf(`INSERT INTO %s VALUES (?)`, tbl.name), val)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user