Skip to content

Commit ec658e9

Browse files
committed
Fix getSystemVar with parseTime=true
1 parent c2d7e96 commit ec658e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connection.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ func (mc *mysqlConn) getSystemVar(name string) ([]byte, error) {
353353
if err == nil {
354354
rows := new(textRows)
355355
rows.mc = mc
356+
rows.columns = []mysqlField{{fieldType: fieldTypeVarChar}}
356357

357358
if resLen > 0 {
358359
// Columns

0 commit comments

Comments
 (0)