We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e00b5c commit 45bedc4Copy full SHA for 45bedc4
AUTHORS
@@ -49,6 +49,7 @@ Xiangyu Hu <xiangyu.hu at outlook.com>
49
Xiaobing Jiang <s7v7nislands at gmail.com>
50
Xiuming Chen <cc at cxm.cc>
51
Zhenye Xie <xiezhenye at gmail.com>
52
+Ruben de Vries <ruben at rubensayshi.com>
53
54
# Organizations
55
errors.go
@@ -122,6 +122,10 @@ func (mc *mysqlConn) getWarnings() (err error) {
122
warnings = append(warnings, warning)
123
124
case io.EOF:
125
+ if len(warnings) == 0 {
126
+ return nil
127
+ }
128
+
129
return warnings
130
131
default:
0 commit comments