]> saetta.ns0.it Git - gdadbcopy/commitdiff
Setted reference db as read only.
authorAndrea Zagli <azagli@libero.it>
Sat, 24 Nov 2012 16:07:54 +0000 (17:07 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 24 Nov 2012 16:07:54 +0000 (17:07 +0100)
.anjuta_sym_db.db
src/main.c
tests/db.db

index 9e4533ac7b6cb986cc78ff1a4f81ff08826a8bfe..e8988f40c82b2988448ef0bf5b074ca2a86fcf80 100644 (file)
Binary files a/.anjuta_sym_db.db and b/.anjuta_sym_db.db differ
index 9d22b78e638dfc184986bbb5bb528d35ef36dca1..829ce56aa48e1430a584f7c8d36e5dcbe0648fdb 100644 (file)
@@ -436,7 +436,7 @@ main (int argc, char *argv[])
 
        error = NULL;
        gda_conn_ref_db = gda_connection_open_from_string (NULL, ref_db_cnc, NULL,
-                                              GDA_CONNECTION_OPTIONS_NONE,
+                                              GDA_CONNECTION_OPTIONS_READ_ONLY,
                                               &error);
        if (gda_conn_ref_db == NULL || error != NULL)
                {
index e286b13d38fc56ab533e1e8b093a2b4e92e55167..e5ace60f48966dc6caf863e7af4769b18e38b61c 100644 (file)
Binary files a/tests/db.db and b/tests/db.db differ