Mercurial > hg > MonetDB-extend
changeset 5:c3f23ea91e48
Updates for current MonetDB release.
author | Sjoerd Mullender <sjoerd@acm.org> |
---|---|
date | Tue, 01 Dec 2015 22:22:31 +0100 (2015-12-01) |
parents | d84d840b4f86 |
children | 2eb5b736d522 |
files | reverse/README.rst reverse/reverse.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/reverse/README.rst Fri May 08 15:13:39 2015 +0200 +++ b/reverse/README.rst Tue Dec 01 22:22:31 2015 +0100 @@ -145,7 +145,7 @@ Note that the definitions are not entirely equivalent. The target of the ``const`` keyword is different for the first function. -The type ``bat`` is defined as ``int``, so you may see ``int`` in many +The type ``bat`` is defined as ``int``, so you may see ``int`` in some places in the MonetDB source code in equivalent positions. These functions must be located in a dynamically loadable module
--- a/reverse/reverse.c Fri May 08 15:13:39 2015 +0200 +++ b/reverse/reverse.c Tue Dec 01 22:22:31 2015 +0100 @@ -151,7 +151,7 @@ dst = ndst; } do_reverse(dst, src, len); - if (BUNappend(bn, dst, 0) == NULL) { + if (BUNappend(bn, dst, 0) != GDK_SUCCEED) { /* BUNappend can fail since it may have to * grow memory areas--especially true for * string BATs */