Changeset: bf5403b83c83 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/bf5403b83c83
Modified Files:
        sql/backends/monet5/sql_copyinto.c
Branch: directappend
Log Message:

BUNs are 32 bits on 32 bits

The dummy value can just be truncated.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_copyinto.c 
b/sql/backends/monet5/sql_copyinto.c
--- a/sql/backends/monet5/sql_copyinto.c
+++ b/sql/backends/monet5/sql_copyinto.c
@@ -184,7 +184,7 @@ directappend_claim(void *state_, size_t 
        }
 
        // Allocate room for this batch
-       BUN dummy_offset = 424242424242;
+       BUN dummy_offset = (BUN)424242424242;
        state->offset = dummy_offset;
        sql_trans *tr = state->mvc->session->tr;
        sqlstore *store = tr->store;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to