[libgdamm/libgdamm-5-0] ServerOperation: Add perform_create_table().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdamm/libgdamm-5-0] ServerOperation: Add perform_create_table().
- Date: Wed, 26 Apr 2017 14:29:22 +0000 (UTC)
commit 610f243458ea84ed982bf9b49cf706bcab9664ae
Author: Pavlo Solntsev <pavlo solntsev gmail com>
Date: Tue Apr 25 22:26:12 2017 -0500
ServerOperation: Add perform_create_table().
Bug #781762
libgda/src/serveroperation.ccg | 11 +++++++++++
libgda/src/serveroperation.hg | 1 +
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/libgda/src/serveroperation.ccg b/libgda/src/serveroperation.ccg
index 968ac0e..ca40b52 100644
--- a/libgda/src/serveroperation.ccg
+++ b/libgda/src/serveroperation.ccg
@@ -98,6 +98,17 @@ void ServerOperation::set_value_at_as_value(const Glib::ustring& path, const Gli
::Glib::Error::throw_exception(gerror);
}
+bool ServerOperation::perform_create_table()
+{
+ GError *error = 0;
+ bool res;
+ res = gda_server_operation_perform_create_table(gobj(),&error);
+ if(error) ::Glib::Error::throw_exception(error);
+
+ return res;
+}
+
+
} /* namespace Gda */
} /* namespace Gnome */
diff --git a/libgda/src/serveroperation.hg b/libgda/src/serveroperation.hg
index ef12fd0..d1eb8ee 100644
--- a/libgda/src/serveroperation.hg
+++ b/libgda/src/serveroperation.hg
@@ -67,6 +67,7 @@ public:
static Glib::RefPtr<ServerOperation> prepare_drop_database(const Glib::ustring& provider,
const Glib::ustring& db_name);
+ bool perform_create_table();
bool perform_drop_database(const Glib::ustring& provider);
bool perform_create_database(const Glib::ustring& provider);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]