Changeset: ab93e809d608 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ab93e809d608
Modified Files:
        clients/mapiclient/dump.c
Branch: Dec2025
Log Message:

Correct msqldump to also dump unlogged tables (type = 7) when dumping the whole 
database.
Fix for issue #7772


diffs (14 lines):

diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -2807,8 +2807,8 @@ dump_database(Mapi mid, stream *sqlf, co
                           "t.name AS name, "
                           "t.type AS type "
                "FROM sys.schemas s, "
-                         "sys._tables t "
-               "WHERE t.type IN (0, 3, 4, 5, 6) "
+                       "sys._tables t "
+               "WHERE t.type IN (0, 3, 4, 5, 6, 7) "
                  "AND t.system = FALSE "
                  "AND s.id = t.schema_id "
                "ORDER BY id";
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to