aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c')
-rw-r--r--databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c b/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c
new file mode 100644
index 00000000000..1d5f2d8e4e0
--- /dev/null
+++ b/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c
@@ -0,0 +1,11 @@
+--- providers/mdb/gda-mdb-provider.c.orig Thu Jan 4 17:14:00 2007
++++ providers/mdb/gda-mdb-provider.c Thu Jan 4 17:14:06 2007
+@@ -209,7 +209,7 @@
+ mdb_cnc = g_new0 (GdaMdbConnection, 1);
+ mdb_cnc->cnc = cnc;
+ mdb_cnc->server_version = NULL;
+- mdb_cnc->mdb = mdb_open (filename, MDB_WRITABLE);
++ mdb_cnc->mdb = mdb_open (filename);
+ if (!mdb_cnc->mdb) {
+ gda_connection_add_error_string (cnc, _("Could not open file %s"), filename);
+ g_free (mdb_cnc);