Initialize day of year value.
There are cases where the day of year value in struct tm is used, but it never
got calculated. Problem found by Coverity scan.
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/24780e00d2bb10c6942edf579b60186ec469c77b
Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/timestamp.c | 2 ++
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c | 14 ++++++++++----
.../ecpg/test/expected/pgtypeslib-dt_test.stderr | 2 +-
.../ecpg/test/expected/pgtypeslib-dt_test.stdout | 1 +
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc | 6 ++++++
5 files changed, 20 insertions(+), 5 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.