Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 5433059: code review 5433059: sql: add Tx.With to use an existing prepared stmt in a ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by bradfitz
Modified:
13 years, 8 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

sql: add Tx.Stmt to use an existing prepared stmt in a transaction

Patch Set 1 #

Patch Set 2 : diff -r c2271db8aac1 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r c2271db8aac1 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 51f04511cffb https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -20 lines) Patch
M src/pkg/exp/sql/sql.go View 1 2 3 5 chunks +60 lines, -19 lines 0 comments Download
M src/pkg/exp/sql/sql_test.go View 1 2 3 2 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 5
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2011-11-23 19:59:08 UTC) #1
rsc
LGTM http://codereview.appspot.com/5433059/diff/4001/src/pkg/exp/sql/sql.go File src/pkg/exp/sql/sql.go (right): http://codereview.appspot.com/5433059/diff/4001/src/pkg/exp/sql/sql.go#newcode396 src/pkg/exp/sql/sql.go:396: func (tx *Tx) With(stmt *Stmt) *Stmt { Why ...
13 years, 8 months ago (2011-11-28 14:45:19 UTC) #2
bradfitz
http://codereview.appspot.com/5433059/diff/4001/src/pkg/exp/sql/sql.go File src/pkg/exp/sql/sql.go (right): http://codereview.appspot.com/5433059/diff/4001/src/pkg/exp/sql/sql.go#newcode396 src/pkg/exp/sql/sql.go:396: func (tx *Tx) With(stmt *Stmt) *Stmt { On 2011/11/28 ...
13 years, 8 months ago (2011-11-28 15:05:28 UTC) #3
rsc
LGTM Let's use Stmt. It won't be Stmt(Stmt) unless you are capitalizing your variable names.
13 years, 8 months ago (2011-11-28 15:35:27 UTC) #4
bradfitz
13 years, 8 months ago (2011-11-28 16:00:35 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=9e6e956b3af1 ***

sql: add Tx.Stmt to use an existing prepared stmt in a transaction

R=rsc
CC=golang-dev
http://codereview.appspot.com/5433059
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b