Commit 9d63cca
committed
Fix DBEnv's set_tx_timestamp wrapper to be slightly more correct on
non-32bit platforms. Will still only allow 32 bits in a timestamp on Win64,
but at least it won't crash, and it'll work right on platforms where longs
are big enough to contain time_t's.
(A better-working, although conceptually less-right fix would have been to
use Py_ssize_t here, but Martin and Tim won't let me.)1 parent ca82a8b commit 9d63cca
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4190 | 4190 | | |
4191 | 4191 | | |
4192 | 4192 | | |
4193 | | - | |
| 4193 | + | |
| 4194 | + | |
4194 | 4195 | | |
4195 | | - | |
| 4196 | + | |
4196 | 4197 | | |
4197 | 4198 | | |
4198 | | - | |
4199 | | - | |
| 4199 | + | |
| 4200 | + | |
4200 | 4201 | | |
4201 | 4202 | | |
4202 | 4203 | | |
| |||
0 commit comments