j***@uwaterloo.ca
2011-02-22 23:28:33 UTC
In the ExecHash() method we are supposed to implement I am having a little
trouble as mine currently exits with a
"LOG: server process (PID 89260) was terminated by signal 11"
which I know to be a segmentation fault. The reason for this is that the
node that is passed in seems to have a NULL hashtable and therefore trying
to insert into this hashtable or update the hashtable's total tuples will
cause a segmentation fault.
Is the hashtable in this node supposed to be null (are we supposed to
initialize it ourselves)? I tried doing so with ExecHashTableCreate() but
that failed to work...
If not, does this mean what I did in createplan.c was incorrect?
Otherwise, what am I doing wrong.....
Thanks!
trouble as mine currently exits with a
"LOG: server process (PID 89260) was terminated by signal 11"
which I know to be a segmentation fault. The reason for this is that the
node that is passed in seems to have a NULL hashtable and therefore trying
to insert into this hashtable or update the hashtable's total tuples will
cause a segmentation fault.
Is the hashtable in this node supposed to be null (are we supposed to
initialize it ourselves)? I tried doing so with ExecHashTableCreate() but
that failed to work...
If not, does this mean what I did in createplan.c was incorrect?
Otherwise, what am I doing wrong.....
Thanks!