ソースを参照

throw error if no charset could be set

Arne Hormann 12 年 前
コミット
7da9257c89
1 ファイル変更3 行追加0 行削除
  1. 3 0
      connection.go

+ 3 - 0
connection.go

@@ -58,6 +58,9 @@ func (mc *mysqlConn) handleParams() (err error) {
 					}
 				}
 			}
+			if err != nil {
+				return
+			}
 
 		// handled elsewhere
 		case "timeout", "allowAllFiles":