Changeset: 7ea02126d2d7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7ea02126d2d7
Modified Files:
tools/monetdbe/monetdbe.c
tools/monetdbe/monetdbe.h
Branch: default
Log Message:
Small fix.
diffs (24 lines):
diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c
--- a/tools/monetdbe/monetdbe.c
+++ b/tools/monetdbe/monetdbe.c
@@ -1922,7 +1922,7 @@ GENERATE_BASE_HEADERS(monetdbe_data_time
set_error(mdbe, createException(MAL,
"monetdbe.monetdbe_result_fetch", MAL_MALLOC_FAIL)); \
goto cleanup;
\
}
\
- bat_data->type = monetdbe_##tpe;
\
+ bat_data->type.type = monetdbe_##tpe;
\
bat_data->is_null = tpe##_is_null;
\
if (sqltpe->type->radix == 10) bat_data->scale = pow(10,
sqltpe->scale); \
column_result = (monetdbe_column*) bat_data;
diff --git a/tools/monetdbe/monetdbe.h b/tools/monetdbe/monetdbe.h
--- a/tools/monetdbe/monetdbe.h
+++ b/tools/monetdbe/monetdbe.h
@@ -120,7 +120,7 @@ typedef struct {
#define DEFAULT_STRUCT_DEFINITION(ctype, typename) \
typedef struct \
{ \
- monetdbe_types type; \
+ monetdbe_type type; \
ctype *data; \
size_t count; \
char *name; \
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list