Commit 04a2df3
committed
refactor(odbc): enhance statement caching with improved logging
- Updated the statement caching logic in StatementManager to use match statements for better clarity and handling of prepared statements.
- Improved logging to trace both preparation and usage of SQL statements, aiding in debugging and performance monitoring.1 parent aa8fc4f commit 04a2df3
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
263 | 270 | | |
264 | | - | |
265 | 271 | | |
266 | 272 | | |
267 | 273 | | |
| |||
0 commit comments