Changeset: fc2fbda46a1e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fc2fbda46a1e
Modified Files:
        monetdb5/mal/mal.h
        monetdb5/mal/mal_instruction.c
Branch: no_type_bat
Log Message:

cleanup some more unused fields


diffs (31 lines):

diff --git a/monetdb5/mal/mal.h b/monetdb5/mal/mal.h
--- a/monetdb5/mal/mal.h
+++ b/monetdb5/mal/mal.h
@@ -116,7 +116,7 @@ typedef struct SYMDEF {
 
 
 typedef struct VARRECORD {
-       char *name;//[IDLENGTH];                /* use the space for the full 
name */
+       char *name;                                     /* use the space for 
the full name */
        malType type;                           /* internal type signature */
        char kind;                                      /* Could be either _, X 
or C to stamp the variable type */
        bool constant:1,
@@ -167,7 +167,6 @@ typedef struct MALBLK {
        char binding[IDLENGTH];         /* related C-function */
        str help;                                       /* supportive 
commentary */
        oid tag;                                        /* unique block tag */
-       struct MALBLK *alternative;
        int vtop;                                       /* next free slot */
        int vsize;                                      /* size of variable 
arena */
        VarRecord *var;                         /* Variable table */
diff --git a/monetdb5/mal/mal_instruction.c b/monetdb5/mal/mal_instruction.c
--- a/monetdb5/mal/mal_instruction.c
+++ b/monetdb5/mal/mal_instruction.c
@@ -302,7 +302,6 @@ copyMalBlk(MalBlkPtr old)
        mb = (MalBlkPtr) GDKzalloc(sizeof(MalBlkRecord));
        if (mb == NULL)
                return NULL;
-       mb->alternative = old->alternative;
 
        mb->var = (VarRecord *) GDKzalloc(sizeof(VarRecord) * old->vsize);
        if (mb->var == NULL) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to