Changeset: 6fa5d81627ca for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6fa5d81627ca
Modified Files:
clients/mapiclient/dump.c
Branch: Mar2011
Log Message:
mclient: describe views using CREATE VIEW
like all describe output, make views also output like a statement that
can be copy/pasted to recreate the view
diffs (13 lines):
diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -785,7 +785,8 @@
if (view) {
/* the table is actually a view */
- mnstr_printf(toConsole, "%s\n", view);
+ mnstr_printf(toConsole, "CREATE VIEW \"%s\".\"%s\" AS %s\n",
+ schema, tname, view);
goto doreturn;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list