forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit80d0e5b
committed
Improve coverage of utils/float.h
check_float4_val() checks after underflow and overflow of valuesconverted from float8 to float4, but there has never been any regressiontests for that. This brings the coverage of float.h to 100%.Author: Movead LiDiscussion:https://postgr.es/m/20190822174636998766188@highgo.ca1 parentbe182e4 commit80d0e5b
File tree
3 files changed
+21
-0
lines changed- src/test/regress
- expected
- sql
3 files changed
+21
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 |
| |
28 | 36 |
| |
29 | 37 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 |
| |
28 | 36 |
| |
29 | 37 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
|
0 commit comments
Comments
(0)