1: # include "../ingres.h" 2: # include "../symbol.h" 3: # include "../tree.h" 4: # include "../pipes.h" 5: # include "../aux.h" 6: # include "ovqp.h" 7: 8: extern struct pipfrmt Inpipe, Outpipe; 9: 10: startovqp() 11: 12: /* 13: ** startovqp is called at the beginning of 14: ** the execution of ovqp. 15: */ 16: 17: { 18: extern flptexcep(); 19: extern struct pipfrmt Eoutpipe; 20: 21: if (Equel) 22: wrpipe(P_PRIME, &Eoutpipe, 0, 0, 0); /* prime the write pipe to Equel */ 23: 24: 25: Tupsfound = 0; /* counts the number of tuples which sat the qual */ 26: Retrieve = Bopen = FALSE; 27: /* catch floating point signals */ 28: signal(8, flptexcep); 29: } 30: 31: /* 32: ** Give a user error for a floating point exceptions 33: */ 34: flptexcep() 35: { 36: ov_err(FLOATEXCEP); 37: }