Changeset: 9c326669c668 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9c326669c668
Modified Files:
monetdb5/modules/kernel/colstr.c
monetdb5/modules/mal/pcrelib.c
Branch: headless
Log Message:
COLset_str typos
diffs (26 lines):
diff --git a/monetdb5/modules/kernel/colstr.c b/monetdb5/modules/kernel/colstr.c
--- a/monetdb5/modules/kernel/colstr.c
+++ b/monetdb5/modules/kernel/colstr.c
@@ -21,8 +21,6 @@
#include "monetdb_config.h"
#include "colstr.h"
-#define COLset_str(X,Y,Z) (void) Z
-
str STRcolLength(int *ret, int *l)
{
COL *bl, *bn;
diff --git a/monetdb5/modules/mal/pcrelib.c b/monetdb5/modules/mal/pcrelib.c
--- a/monetdb5/modules/mal/pcrelib.c
+++ b/monetdb5/modules/mal/pcrelib.c
@@ -488,8 +488,9 @@
replaced_str[k] = '\0';
COLset_str(tmpbat,o, replaced_str);
GDKfree(replaced_str);
- } else /* no captured substrings, copy the original string into
new bat */
+ } else { /* no captured substrings, copy the original string
into new bat */
COLset_str(tmpbat,o, origin_str);
+ }
}
COLaccessEnd(origin_strs,USE_HEAP,MMAP_SEQUENTIAL);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list