Changeset: 7a7bdaaa36fd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7a7bdaaa36fd
Modified Files:
sql/backends/monet5/sql.c
Branch: copyintobinary
Log Message:
Let sql.hot_snapshot open ON CLIENT as binary
diffs (12 lines):
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -4374,7 +4374,7 @@ SQLhot_snapshot_wrap(Client cntxt, MalBl
// tell client to open file, copy pasted from mvc_export_table_wrap
mnstr_write(s, PROMPT3, sizeof(PROMPT3) - 1, 1);
- mnstr_printf(s, "w %s\n", filename);
+ mnstr_printf(s, "wb %s\n", filename);
mnstr_flush(s, MNSTR_FLUSH_DATA);
if ((sz = mnstr_readline(mvc->scanner.rs->s, buf, sizeof(buf))) > 1) {
/* non-empty line indicates failure on client */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]