Changeset: 77882f568bf1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=77882f568bf1
Modified Files:
monetdb5/modules/mal/tablet.h
sql/backends/monet5/sql_result.c
Branch: default
Log Message:
Removed unused field nillen from Column structure.
diffs (31 lines):
diff --git a/monetdb5/modules/mal/tablet.h b/monetdb5/modules/mal/tablet.h
--- a/monetdb5/modules/mal/tablet.h
+++ b/monetdb5/modules/mal/tablet.h
@@ -49,7 +49,6 @@ typedef struct Column_t {
void *data;
int skip; /* only skip to the
next field */
size_t len;
- int nillen;
bit ws; /* if set we need to
skip white space */
char quote; /* if set use this
character for string quotes */
const void *nildata;
diff --git a/sql/backends/monet5/sql_result.c b/sql/backends/monet5/sql_result.c
--- a/sql/backends/monet5/sql_result.c
+++ b/sql/backends/monet5/sql_result.c
@@ -948,7 +948,7 @@ mvc_import_table(Client cntxt, BAT ***ba
fmt[i].tostr = &_ASCIIadt_toStr;
fmt[i].frstr = &_ASCIIadt_frStr;
fmt[i].extra = col;
- fmt[i].len = fmt[i].nillen = ATOMlen(fmt[i].adt,
ATOMnilptr(fmt[i].adt));
+ fmt[i].len = ATOMlen(fmt[i].adt,
ATOMnilptr(fmt[i].adt));
fmt[i].data = GDKzalloc(fmt[i].len);
fmt[i].c = NULL;
fmt[i].ws = !has_whitespace(fmt[i].sep);
@@ -1872,7 +1872,6 @@ mvc_export_table(backend *b, stream *s,
fmt[i].extra = fmt + i;
fmt[i].data = NULL;
fmt[i].len = 0;
- fmt[i].nillen = 0;
fmt[i].ws = 0;
fmt[i].quote = ssep ? ssep[0] : 0;
fmt[i].nullstr = ns;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list