[glom/glom-1-10] Speedup initial meta store update by only fetching public tables
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom/glom-1-10] Speedup initial meta store update by only fetching public tables
- Date: Mon, 13 Jul 2009 10:45:00 +0000 (UTC)
commit 7476fd1e478dcb4eb8b5676e113361074ce7b70d
Author: Armin Burgmeier <armin arbur net>
Date: Wed May 20 23:14:43 2009 +0200
Speedup initial meta store update by only fetching public tables
* glom/libglom/connectionpool_backends/backend.h:
* glom/libglom/connectionpool_backends/postgres.h:
* glom/libglom/connectionpool_backends/sqlite.h: Added
get_public_schema_name() virtual function and implementations for both
backends.
* glom/libglom/connectionpool.cc: Only update the meta store tables
for the public schema of the corresponding backend. This considerably
speeds up the initial meta store update. This requires latest libgdamm
from git.
glom/main.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/main.cc b/glom/main.cc
index 80b1756..81a9666 100644
--- a/glom/main.cc
+++ b/glom/main.cc
@@ -79,7 +79,7 @@ public:
OptionGroup::OptionGroup()
: Glib::OptionGroup("Glom", _("Glom options"), _("Command-line options for glom")),
m_arg_version(false),
- m_arg_debug_sql(false)
+ m_arg_debug_sql(false),
m_arg_debug_date_check(false)
{
Glib::OptionEntry entry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]