[libgda] Gda-Sql: record every data model as "_" to be reused if necessary
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Gda-Sql: record every data model as "_" to be reused if necessary
- Date: Mon, 1 Dec 2014 21:45:04 +0000 (UTC)
commit c8c2d9045a245804fa1588de595d830e56934cd7
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Dec 1 22:44:25 2014 +0100
Gda-Sql: record every data model as "_" to be reused if necessary
tools/common/t-term-context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/common/t-term-context.c b/tools/common/t-term-context.c
index 1e0c643..576e75d 100644
--- a/tools/common/t-term-context.c
+++ b/tools/common/t-term-context.c
@@ -237,6 +237,9 @@ display_result (TApp *main_data, ToolCommandResult *res)
}
case BASE_TOOL_COMMAND_RESULT_EXIT:
break;
+ case BASE_TOOL_COMMAND_RESULT_DATA_MODEL:
+ t_app_store_data_model (res->u.model, T_LAST_DATA_MODEL_NAME);
+ /* warning: no break! */
default: {
gchar *str;
FILE *ostream;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]