(db *sql.DB)
| 222 | // every execution stay on the initialized physical connection. |
| 223 | ownsConn bool |
| 224 | // external is set for provider-owned FlightSQL handles. A standalone |
| 225 | // prepared statement owns the external session; a transaction-owned |
| 226 | // statement shares the transaction's session and leaves its lifetime to the |
| 227 | // transaction finalizer. |
| 228 | external *catalog.ExternalSession |
| 229 | transaction *transactionState |
| 230 | closed atomic.Bool |
| 231 | closeOnce sync.Once |
| 232 | closeErr error |
| 233 | } |
| 234 |