[libgda] SQLite: corrected gda_sqlite_provider_get_data_handler()
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] SQLite: corrected gda_sqlite_provider_get_data_handler()
- Date: Thu, 26 Sep 2013 19:33:51 +0000 (UTC)
commit 640ffe2c527f0e68fcd78cf0d47e11d60a0fd9eb
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Sep 26 21:22:25 2013 +0200
SQLite: corrected gda_sqlite_provider_get_data_handler()
libgda/sqlite/gda-sqlite-provider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 01a8627..da031af 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -1739,6 +1739,8 @@ gda_sqlite_provider_get_data_handler (GdaServerProvider *provider, GdaConnection
/* SQLite format is 'YYYY-MM-DD HH:MM:SS.SSS' */
gda_handler_time_set_sql_spec (GDA_HANDLER_TIME (dh), G_DATE_YEAR, G_DATE_MONTH,
G_DATE_DAY, '-', FALSE);
+ gda_handler_time_set_str_spec (GDA_HANDLER_TIME (dh), G_DATE_YEAR, G_DATE_MONTH,
+ G_DATE_DAY, '-', FALSE);
gda_server_provider_handler_declare (provider, dh, NULL, GDA_TYPE_TIME, NULL);
gda_server_provider_handler_declare (provider, dh, NULL, GDA_TYPE_TIMESTAMP, NULL);
gda_server_provider_handler_declare (provider, dh, NULL, G_TYPE_DATE, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]