[glom] Avoid a crash when creating a centrally-hosted database
- From: Armin Burgmeier <arminb src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom] Avoid a crash when creating a centrally-hosted database
- Date: Mon, 22 Jun 2009 08:54:47 -0400 (EDT)
commit 5c9c95e5f1c25f7741bd865ca44e424ab5f93afa
Author: Armin Burgmeier <armin arbur net>
Date: Mon Jun 22 14:49:16 2009 +0200
Avoid a crash when creating a centrally-hosted database
* glom/frame_glom.cc:
(connection_request_password_and_choose_new_database_name): Fixed a
mistyped #ifdef, so that creating a centrally-hosted database does not
lead to a crash.
ChangeLog | 7 +++++++
glom/frame_glom.cc | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 64173b4..d503a70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-22 Armin Burgmeier <armin openismus com>
+
+ * glom/frame_glom.cc:
+ (connection_request_password_and_choose_new_database_name): Fixed a
+ mistyped #ifdef, so that creating a centrally-hosted database does not
+ lead to a crash.
+
2009-06-20 Armin Burgmeier <armin openismus com>
* ldtp/database-creation/create-db.py: Read the data what backend to
diff --git a/glom/frame_glom.cc b/glom/frame_glom.cc
index 6985aec..ec08c84 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -2105,7 +2105,7 @@ bool Frame_Glom::connection_request_password_and_choose_new_database_name()
break;
-#ifdef GLOM_ENABLE_POSTGRES
+#ifdef GLOM_ENABLE_POSTGRESQL
case Document::HOSTING_MODE_POSTGRES_CENTRAL:
{
//Ask for connection details:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]