From f72377cc4e101ce219e1375e5b3cbfbb2b421c57 Mon Sep 17 00:00:00 2001 From: Ewan Chou Date: Fri, 11 Sep 2015 11:16:36 +0800 Subject: [PATCH] tidb: checkArgs fix comment syntax. --- session.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/session.go b/session.go index ef4e69a469..c63e1a7725 100644 --- a/session.go +++ b/session.go @@ -266,9 +266,9 @@ func (s *session) PrepareStmt(sql string) (stmtID uint32, paramCount int, fields return prepareStmt(s, sql) } -// checkArgs make sure all the arguments's type is known and can be handled. +// checkArgs makes sure all the arguments' types are known and can be handled. // integer types are converted to int64 and uint64, time.Time is converted to mysql.Time. -// time.Duration. is converted to mysql.Duration, other known types is leaved as it is. +// time.Duration is converted to mysql.Duration, other known types are leaved as it is. func checkArgs(args ...interface{}) error { for i, v := range args { switch x := v.(type) {