[glom] MySQL: Actually allow self-hosting in Glom itself.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] MySQL: Actually allow self-hosting in Glom itself.
- Date: Sun, 13 Jan 2013 14:51:29 +0000 (UTC)
commit b2e606720deb9a49ba65d5d1cf3aa511613a4912
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Jan 13 15:50:37 2013 +0100
MySQL: Actually allow self-hosting in Glom itself.
* glom/appwindow.cc: ui_file_select_save():
Recognise MySQL self-hosting as self-hosting, so we
create a sub-directory and initialize the data.
ChangeLog | 8 ++++++++
glom/appwindow.cc | 5 +++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3c44aef..897f482 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-01-13 Murray Cumming <murrayc murrayc com>
+ MySQL: Actually allow self-hosting in Glom itself.
+
+ * glom/appwindow.cc: ui_file_select_save():
+ Recognise MySQL self-hosting as self-hosting, so we
+ create a sub-directory and initialize the data.
+
+2013-01-13 Murray Cumming <murrayc murrayc com>
+
MySQL: Support MySQL in the command-line utiltiies.
* glom/glom_create_from_example.cc:
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index fceaaaa..d973f4a 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -2450,6 +2450,11 @@ Glib::ustring AppWindow::ui_file_select_save(const Glib::ustring& old_file_uri)
is_self_hosted = true;
#endif //GLOM_ENABLE_POSTGRESQL
+#ifdef GLOM_ENABLE_MYSQL
+ if(m_ui_save_extra_newdb_hosting_mode == Document::HOSTING_MODE_MYSQL_SELF)
+ is_self_hosted = true;
+#endif // GLOM_ENABLE_MYSQL
+
#ifdef GLOM_ENABLE_SQLITE
if(m_ui_save_extra_newdb_hosting_mode == Document::HOSTING_MODE_SQLITE)
is_self_hosted = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]