[glom] Make the --debug_sql option work again.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Make the --debug_sql option work again.
- Date: Thu, 1 Mar 2012 10:42:28 +0000 (UTC)
commit 64a765ac985278243665fa75565c3cdc519f863f
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 1 11:18:12 2012 +0100
Make the --debug_sql option work again.
* glom/appwindow.cc: set_show_sql_debug(): Set it in the ConnectionPool
too. This was broken since the change to Gtk::Application.
ChangeLog | 7 +++++++
glom/appwindow.cc | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2616b74..09950e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-01 Murray Cumming <murrayc murrayc com>
+ Make the --debug_sql option work again.
+
+ * glom/appwindow.cc: set_show_sql_debug(): Set it in the ConnectionPool
+ too. This was broken since the change to Gtk::Application.
+
+2012-03-01 Murray Cumming <murrayc murrayc com>
+
ConnectionPool::change_columns(): Add/Remove autoincement rows here.
* glom/libglom/connectionpool.cc: change_columns(): Add or remove the
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index b11c95a..214fd14 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -208,6 +208,8 @@ bool AppWindow::get_show_sql_debug() const
void AppWindow::set_show_sql_debug(bool val)
{
m_show_sql_debug = val;
+
+ ConnectionPool::get_instance()->set_show_debug_output(val);
}
void AppWindow::set_stop_auto_server_shutdown(bool val)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]