Changeset: 9a49c2915682 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9a49c2915682
Modified Files:
        sql/include/sql_catalog.h
        sql/server/rel_schema.c
Branch: sciql
Log Message:

compilation


diffs (24 lines):

diff --git a/sql/include/sql_catalog.h b/sql/include/sql_catalog.h
--- a/sql/include/sql_catalog.h
+++ b/sql/include/sql_catalog.h
@@ -377,7 +377,7 @@ typedef enum table_types {
 #define isRemote(x)    (x->type==tt_remote)
 #define isArray(x)     (x->type==tt_array)
 #define isTableOrArray(x)(x->type==tt_array || x->type==tt_table)
-#define isFixedDim(x)   (x->start && x->step && x->stop && x->start != "" && 
x->step != "" && x->stop != "")
+#define isFixedDim(x)   (x->start && x->step && x->stop && x->start[0] != '\0' 
&& x->step[0] != '\0' && x->stop[0] != '\0')
 
 typedef struct sql_table {
        sql_base base;
diff --git a/sql/server/rel_schema.c b/sql/server/rel_schema.c
--- a/sql/server/rel_schema.c
+++ b/sql/server/rel_schema.c
@@ -701,7 +701,7 @@ create_column(mvc *sql, symbol *s, sql_s
                                cs->dim = ZNEW(sql_dimspec);
                                cs->dim->start = GDKstrdup("");
                                cs->dim->step = GDKstrdup("");
-                               cs->dim->st0p = GDKstrdup("");
+                               cs->dim->stop = GDKstrdup("");
                        }
                        t->fixed = isFixedDim(cs->dim);
                        /* TODO: the case "ARRAY dim_range_list" is not dealt 
with */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to