Changeset: 4061dd6d0968 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4061dd6d0968 Modified Files: clients/Tests/exports.stable.out monetdb5/ChangeLog monetdb5/modules/kernel/bat5.c monetdb5/modules/kernel/bat5.h Branch: default Log Message:
Removed unused function BKCappend_reverse_val_wrap. diffs (64 lines): diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out --- a/clients/Tests/exports.stable.out +++ b/clients/Tests/exports.stable.out @@ -770,7 +770,6 @@ str BATXMLxml2str(bat *ret, const bat *b str BATXMLxmltext(bat *ret, const bat *bid); str BATXMLxquery(bat *ret, const bat *bid, const char *const *expr); str BKCappend_force_wrap(bat *r, const bat *bid, const bat *uid, const bit *force); -str BKCappend_reverse_val_wrap(bat *r, const bat *bid, const void *u); str BKCappend_val_force_wrap(bat *r, const bat *bid, const void *u, const bit *force); str BKCappend_val_wrap(bat *r, const bat *bid, const void *u); str BKCappend_wrap(bat *r, const bat *bid, const bat *uid); diff --git a/monetdb5/ChangeLog b/monetdb5/ChangeLog --- a/monetdb5/ChangeLog +++ b/monetdb5/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog file for MonetDB5 # This file is updated with Maddlog +* Mon Jun 27 2016 Sjoerd Mullender <[email protected]> +- Removed function BKCappend_reverse_val_wrap: it was unused. + * Thu May 26 2016 Sjoerd Mullender <[email protected]> - The "wrd" type has been removed from GDK and MAL. The type was defined to be a 32 bit integer on 32 bit architectures and a 64 bit integer 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 @@ -344,25 +344,6 @@ BKCappend_val_wrap(bat *r, const bat *bi return MAL_SUCCEED; } -str -BKCappend_reverse_val_wrap(bat *r, const bat *bid, const void *u) -{ - BAT *b; - - if ((b = BATdescriptor(*bid)) == NULL) - throw(MAL, "bat.append", RUNTIME_OBJECT_MISSING); - if ((b = setaccess(b, BAT_WRITE)) == NULL) - throw(MAL, "bat.append", OPERATION_FAILED); - b = BATmirror(b); - if (BUNappend(b, u, FALSE) != GDK_SUCCEED) { - BBPunfix(b->batCacheid); - throw(MAL, "bat.append", GDK_EXCEPTION); - } - b = BATmirror(b); - BBPkeepref(*r = b->batCacheid); - return MAL_SUCCEED; -} - char * BKCappend_force_wrap(bat *r, const bat *bid, const bat *uid, const bit *force) { diff --git a/monetdb5/modules/kernel/bat5.h b/monetdb5/modules/kernel/bat5.h --- a/monetdb5/modules/kernel/bat5.h +++ b/monetdb5/modules/kernel/bat5.h @@ -32,7 +32,6 @@ bat5_export str BKCdelete_multi(bat *r, bat5_export str BKCdelete_all(bat *r, const bat *bid); bat5_export str BKCappend_wrap(bat *r, const bat *bid, const bat *uid); bat5_export str BKCappend_val_wrap(bat *r, const bat *bid, const void *u); -bat5_export str BKCappend_reverse_val_wrap(bat *r, const bat *bid, const void *u); bat5_export str BKCappend_force_wrap(bat *r, const bat *bid, const bat *uid, const bit *force); bat5_export str BKCappend_val_force_wrap(bat *r, const bat *bid, const void *u, const bit *force); bat5_export str BKCbun_inplace(bat *r, const bat *bid, const oid *id, const void *t); _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
