Commit d7f171d
Move ora_number_to_ruby_number to Connection base class
The exact same private method was duplicated character-for-character in
both OCIConnection and JDBCConnection. Pull it up into Connection so the
"return BigDecimal instead of Float to avoid rounding errors" rule lives
in one place; subclasses keep calling it as before via inheritance.
Net change: -3 LOC. No behavior change. Full suite is green
(468 examples, 0 failures, 1 pre-existing pending).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent afab1dc commit d7f171d
3 files changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 591 | | |
597 | 592 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | 304 | | |
310 | 305 | | |
311 | 306 | | |
| |||
0 commit comments