4040 // Warning: concurrent access to pointer on client side must be excluded.
4141 // Safe replacement of context are provided only inside callback function
4242 Context * context.Context
43+ Call call
4344 }
4445 DatabaseSQLConnectorConnectDoneInfo struct {
4546 Error error
5152 // Warning: concurrent access to pointer on client side must be excluded.
5253 // Safe replacement of context are provided only inside callback function
5354 Context * context.Context
55+ Call call
5456 }
5557 DatabaseSQLConnPingDoneInfo struct {
5658 Error error
6163 // Warning: concurrent access to pointer on client side must be excluded.
6264 // Safe replacement of context are provided only inside callback function
6365 Context * context.Context
66+ Call call
6467 Query string
6568 }
6669 DatabaseSQLConnPrepareDoneInfo struct {
@@ -72,15 +75,23 @@ type (
7275 // Warning: concurrent access to pointer on client side must be excluded.
7376 // Safe replacement of context are provided only inside callback function
7477 Context * context.Context
78+ Call call
7579 TxContext * context.Context
7680 Tx tableTransactionInfo
7781 Query string
7882 }
7983 DatabaseSQLTxPrepareDoneInfo struct {
8084 Error error
8185 }
82- DatabaseSQLConnCloseStartInfo struct {}
83- DatabaseSQLConnCloseDoneInfo struct {
86+ DatabaseSQLConnCloseStartInfo struct {
87+ // Context make available context in trace callback function.
88+ // Pointer to context provide replacement of context in trace callback function.
89+ // Warning: concurrent access to pointer on client side must be excluded.
90+ // Safe replacement of context are provided only inside callback function
91+ Context * context.Context
92+ Call call
93+ }
94+ DatabaseSQLConnCloseDoneInfo struct {
8495 Error error
8596 }
8697 DatabaseSQLConnBeginStartInfo struct {
@@ -89,6 +100,7 @@ type (
89100 // Warning: concurrent access to pointer on client side must be excluded.
90101 // Safe replacement of context are provided only inside callback function
91102 Context * context.Context
103+ Call call
92104 }
93105 DatabaseSQLConnBeginDoneInfo struct {
94106 Tx tableTransactionInfo
@@ -100,6 +112,7 @@ type (
100112 // Warning: concurrent access to pointer on client side must be excluded.
101113 // Safe replacement of context are provided only inside callback function
102114 Context * context.Context
115+ Call call
103116 Query string
104117 Mode string
105118 Idempotent bool
@@ -114,6 +127,7 @@ type (
114127 // Warning: concurrent access to pointer on client side must be excluded.
115128 // Safe replacement of context are provided only inside callback function
116129 Context * context.Context
130+ Call call
117131 Query string
118132 Mode string
119133 Idempotent bool
@@ -141,9 +155,13 @@ type (
141155 // Warning: concurrent access to pointer on client side must be excluded.
142156 // Safe replacement of context are provided only inside callback function
143157 Context * context.Context
158+ Call call
144159 TxContext * context.Context
145160 Tx tableTransactionInfo
146161 Query string
162+
163+ // Deprecated: all transactions are idempotent
164+ Idempotent bool
147165 }
148166 DatabaseSQLTxQueryDoneInfo struct {
149167 Error error
@@ -154,9 +172,13 @@ type (
154172 // Warning: concurrent access to pointer on client side must be excluded.
155173 // Safe replacement of context are provided only inside callback function
156174 Context * context.Context
175+ Call call
157176 TxContext * context.Context
158177 Tx tableTransactionInfo
159178 Query string
179+
180+ // Deprecated: all transactions are idempotent
181+ Idempotent bool
160182 }
161183 DatabaseSQLTxExecDoneInfo struct {
162184 Error error
@@ -167,6 +189,7 @@ type (
167189 // Warning: concurrent access to pointer on client side must be excluded.
168190 // Safe replacement of context are provided only inside callback function
169191 TxContext * context.Context
192+ Call call
170193 Tx tableTransactionInfo
171194 }
172195 DatabaseSQLTxCommitDoneInfo struct {
@@ -178,13 +201,15 @@ type (
178201 // Warning: concurrent access to pointer on client side must be excluded.
179202 // Safe replacement of context are provided only inside callback function
180203 TxContext * context.Context
204+ Call call
181205 Tx tableTransactionInfo
182206 }
183207 DatabaseSQLTxRollbackDoneInfo struct {
184208 Error error
185209 }
186210 DatabaseSQLStmtCloseStartInfo struct {
187211 StmtContext * context.Context
212+ Call call
188213 }
189214 DatabaseSQLStmtCloseDoneInfo struct {
190215 Error error
@@ -195,6 +220,7 @@ type (
195220 // Warning: concurrent access to pointer on client side must be excluded.
196221 // Safe replacement of context are provided only inside callback function
197222 Context * context.Context
223+ Call call
198224 StmtContext * context.Context
199225 Query string
200226 }
@@ -207,6 +233,7 @@ type (
207233 // Warning: concurrent access to pointer on client side must be excluded.
208234 // Safe replacement of context are provided only inside callback function
209235 Context * context.Context
236+ Call call
210237 StmtContext * context.Context
211238 Query string
212239 }
@@ -219,6 +246,7 @@ type (
219246 // Warning: concurrent access to pointer on client side must be excluded.
220247 // Safe replacement of context are provided only inside callback function
221248 Context * context.Context
249+ Call call
222250 ID string
223251 Idempotent bool
224252 }
0 commit comments