[Engine-patches] Change in ovirt-engine[master]: engine-core: prevent hard coded timestamps to support other ...
emesika at redhat.com
emesika at redhat.com
Thu Nov 17 03:59:28 EST 2011
Eli Mesika has submitted this change and it was merged.
Change subject: engine-core: prevent hard coded timestamps to support other localization settings
......................................................................
engine-core: prevent hard coded timestamps to support other localization settings
Hard coded timestamps cause failure of db creation on other localization settings (Japanese for example)
replace fixed '01/01/2000' date casted to a timestamp with a generated timestamp.
Using to_timestamp function to convert to the locale timestamp from a given format.
(I have preserved the original 01/01/2000 setting since it seems to be complicated to change that in ETL)
Change-Id: I2ab583ac908ea9187f7e48fe29d59cc6dee7a460
Acked-by: FirstName LastName <email>
---
M backend/manager/dbscripts/insert_data.sql
M backend/manager/dbscripts/upgrade/03_00_0130_change_dwh_history_timekeeping_date_type.sql
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/230
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2ab583ac908ea9187f7e48fe29d59cc6dee7a460
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
More information about the Engine-patches
mailing list