[libgda] SQLite provider: removed unnecessary code
- From: Vivien Malerba <vivien src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgda] SQLite provider: removed unnecessary code
- Date: Sun, 23 Aug 2009 20:19:15 +0000 (UTC)
commit 1bebb83f223eda2f4e7f7315610798435d726374
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Aug 10 15:47:05 2009 +0200
SQLite provider: removed unnecessary code
libgda/sqlite/gda-sqlite-provider.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index a980305..1f30796 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -2156,17 +2156,6 @@ gda_sqlite_provider_statement_execute (GdaServerProvider *provider, GdaConnectio
if (!cdata)
return NULL;
- /* HACK: force SQLite to reparse the schema and thus discover new tables if necessary */
- {
- gint status;
- sqlite3_stmt *istmt = NULL;
- status = sqlite3_prepare_v2 (cdata->connection, "SELECT 1 FROM sqlite_master LIMIT 1", -1, &istmt, NULL);
- if (status == SQLITE_OK)
- sqlite3_step (istmt);
- if (istmt)
- sqlite3_finalize (istmt);
- }
-
/* get/create new prepared statement */
ps = (GdaSqlitePStmt *) gda_connection_get_prepared_statement (cnc, stmt);
if (!ps) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]