File tree Expand file tree Collapse file tree 3 files changed +18
-27
lines changed Expand file tree Collapse file tree 3 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 35
35
_ driver.StmtQueryContext = & mysqlStmt {}
36
36
)
37
37
38
+ // Ensure that all the driver interfaces are implemented
39
+ var (
40
+ _ driver.RowsColumnTypeDatabaseTypeName = & binaryRows {}
41
+ _ driver.RowsColumnTypeDatabaseTypeName = & textRows {}
42
+ _ driver.RowsColumnTypeNullable = & binaryRows {}
43
+ _ driver.RowsColumnTypeNullable = & textRows {}
44
+ _ driver.RowsColumnTypeScanType = & binaryRows {}
45
+ _ driver.RowsColumnTypeScanType = & textRows {}
46
+ _ driver.RowsNextResultSet = & binaryRows {}
47
+ _ driver.RowsNextResultSet = & textRows {}
48
+ )
49
+
38
50
func TestMultiResultSet (t * testing.T ) {
39
51
type result struct {
40
52
values [][]int
Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ import (
27
27
"time"
28
28
)
29
29
30
+ // Ensure that all the driver interfaces are implemented
31
+ var (
32
+ _ driver.Rows = & binaryRows {}
33
+ _ driver.Rows = & textRows {}
34
+ )
35
+
30
36
var (
31
37
user string
32
38
pass string
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments