tidb: remove useless code

This commit is contained in:
shenli
2015-11-25 23:50:12 +08:00
parent f492dd665a
commit 7124752e68

View File

@ -200,17 +200,6 @@ func needRetry(st stmt.Statement) bool {
}
}
/*
func isPreparedStmt(st stmt.Statement) bool {
switch st.(type) {
case *stmts.PreparedStmt:
return true
default:
return false
}
}
*/
func (s *session) Retry() error {
s.retrying = true
nh := s.history.clone()