Browse Source

Fix comment

INADA Naoki 11 năm trước cách đây
mục cha
commit
20b75cd3d3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      connection.go

+ 1 - 1
connection.go

@@ -314,7 +314,7 @@ func (mc *mysqlConn) Exec(query string, args []driver.Value) (driver.Result, err
 		if !mc.cfg.interpolateParams {
 			return nil, driver.ErrSkip
 		}
-		// try client-side prepare to reduce roundtrip
+		// try to interpolate the parameters to save extra roundtrips for preparing and closing a statement
 		prepared, err := mc.interpolateParams(query, args)
 		if err != nil {
 			return nil, err