Datetime to string handling incorrect
Bug #1172658 reported by
Andrew Hutchings
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle Client & Protocol Library |
Fix Released
|
Medium
|
Andrew Hutchings |
Bug Description
The current datetime testcase is set to XFAIL because the prepared statement to string is faulty due to:
1. Microsecond handling should be based on column decimals > 0 not whether a microsecond has been set
2. Leading zeros on date aren't printing
Related branches
lp://staging/~linuxjedi/libdrizzle/5.1-fixes
- Drizzle Trunk: Pending requested
-
Diff: 144 lines (+19/-12)7 files modifiedlibdrizzle/datetime.h (+1/-0)
libdrizzle/pack.cc (+10/-2)
libdrizzle/pack.h (+2/-2)
libdrizzle/statement.cc (+2/-2)
libdrizzle/statement_param.cc (+3/-4)
tests/unit/datetypes.c (+1/-1)
tests/unit/include.am (+0/-1)
Changed in libdrizzle: | |
status: | Triaged → Fix Released |
To post a comment you must log in.