Changeset: 7c4715820973 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7c4715820973
Modified Files:
        clients/ChangeLog.Aug2011
        clients/mapiclient/dump.c
Branch: Aug2011
Log Message:

Don't attempt to dump GLOBAL TEMPORARY tables.
Doing that causes an error in one of the dump queries.


diffs (24 lines):

diff --git a/clients/ChangeLog.Aug2011 b/clients/ChangeLog.Aug2011
--- a/clients/ChangeLog.Aug2011
+++ b/clients/ChangeLog.Aug2011
@@ -1,3 +1,7 @@
 # ChangeLog file for clients
 # This file is updated with Maddlog
 
+* Tue Sep 13 2011 Sjoerd Mullender <sjo...@acm.org>
+- Fixed a bug in mclient/msqldump where an internal error occurred during
+  dump when there are GLOBAL TEMPORARY tables.
+
diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -1522,7 +1522,8 @@ dump_database(Mapi mid, stream *toConsol
                             "\"sys\".\"_tables\" \"t\" "
                        "WHERE \"t\".\"type\" BETWEEN 0 AND 1 AND "
                              "\"t\".\"system\" = FALSE AND "
-                             "\"s\".\"id\" = \"t\".\"schema_id\" "
+                             "\"s\".\"id\" = \"t\".\"schema_id\" AND "
+                             "\"s\".\"name\" <> 'tmp' "
                        "UNION "
                        "SELECT \"s\".\"name\" AS \"sname\", "
                               "\"tr\".\"name\" AS \"name\", "
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to