[libgda/LIBGDA_4.0] Fixed SQLite's date and related formats when rendering as SQL



commit 69d2ec7e644cd9658b17f07c883e45779a1c63bb
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 2e35350..b4b0209 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -1184,7 +1184,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]