Changeset: babf9d219b68 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=babf9d219b68
Modified Files:
        monetdb5/modules/kernel/bat5.c
Branch: Jan2014
Log Message:

Use macro instead of "magic" constant.


diffs (12 lines):

diff --git a/monetdb5/modules/kernel/bat5.c b/monetdb5/modules/kernel/bat5.c
--- a/monetdb5/modules/kernel/bat5.c
+++ b/monetdb5/modules/kernel/bat5.c
@@ -1892,7 +1892,7 @@ BKCheat(int *res, str *input)
        int bid = BBPindex(*input);
 
        if (bid) {
-               *res = BBP_lastused(bid) & 0x7fffffff;
+               *res = BBPLASTUSED(BBP_lastused(bid));
        }
        throw(MAL, "bat", PROGRAM_NYI);
 }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to