From 7dba7489a2ac54a843e463f54c0f9acd0f7a96f2 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 22 Dec 2012 16:49:10 +0100 Subject: [PATCH] Missing addition of tables when get schema from select. --- .anjuta/session/anjuta.session | 2 +- .anjuta/session/dock-layout.xml | 2 +- src/main.c | 2 ++ tests/db.db | Bin 3072 -> 3072 bytes 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.anjuta/session/anjuta.session b/.anjuta/session/anjuta.session index 7e38a96..b406453 100644 --- a/.anjuta/session/anjuta.session +++ b/.anjuta/session/anjuta.session @@ -7,7 +7,7 @@ Shortcut=gdadbcopy//src//gdadbcopy Expand=gdadbcopy [File Loader] -Files=../../src/main.c#527 +Files=../../src/main.c#259 [Document Manager] bookmarks=\n\n diff --git a/.anjuta/session/dock-layout.xml b/.anjuta/session/dock-layout.xml index 3b61c4d..029488c 100644 --- a/.anjuta/session/dock-layout.xml +++ b/.anjuta/session/dock-layout.xml @@ -1,2 +1,2 @@ - + diff --git a/src/main.c b/src/main.c index ccd1bc9..0dc1c72 100644 --- a/src/main.c +++ b/src/main.c @@ -638,6 +638,8 @@ read_tables_explicit () } g_object_unref (op); + + tables = g_slist_append (tables, table); } } } diff --git a/tests/db.db b/tests/db.db index d6c7e7119b23df6253eb0ca93b99e8077c213c6e..df3bffce2aad68d0e5dd9897153ad5ce1ca7fdd9 100644 GIT binary patch delta 77 zcmZpWXpop7Ex3