[libgda] Fixed SQLite's date and related formats when rendering as SQL
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Fixed SQLite's date and related formats when rendering as SQL
- Date: Mon, 29 Nov 2010 18:28:54 +0000 (UTC)
commit a8336ee7576ac5ce74281ab9573798380049f97c
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Nov 29 19:28:18 2010 +0100
Fixed SQLite's date and related formats when rendering as SQL
libgda/sqlite/gda-sqlite-provider.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 07db2d5..77d45d7 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -1423,7 +1423,7 @@ gda_sqlite_provider_get_data_handler (GdaServerProvider *provider, GdaConnection
dh = gda_handler_time_new ();
/* 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);
+ 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]