Commit 9bb9a9e
committed
docs: clarify pool return timing for queryValues in executeQuery/executeBatch
Update comments to accurately describe the trade-off: pooled
queryValues slices are returned after c.exec() completes (full
round-trip) rather than immediately after frame serialization.
Document that this is intentional — holding slices slightly longer
keeps the code simpler and avoids error-prone refactoring of the
synchronous c.exec() call.1 parent da3e671 commit 9bb9a9e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
1575 | | - | |
| 1575 | + | |
| 1576 | + | |
1576 | 1577 | | |
1577 | 1578 | | |
1578 | 1579 | | |
| |||
1796 | 1797 | | |
1797 | 1798 | | |
1798 | 1799 | | |
1799 | | - | |
| 1800 | + | |
| 1801 | + | |
1800 | 1802 | | |
1801 | 1803 | | |
1802 | 1804 | | |
| |||
0 commit comments