1: # include   <ingres.h>
   2: # include   <symbol.h>
   3: # include   "IIglobals.h"
   4: # include   <sccs.h>
   5: 
   6: SCCSID(@(#)IIsync.c	8.1	12/31/84)
   7: 
   8: 
   9: /*
  10: **	IIsync is called to syncronize the running
  11: **	of a query with the running of the equel process.
  12: **
  13: **	The query is flushed and an EOP is written
  14: **	to the quel parser.
  15: **
  16: **	The quel parser will write an end-of-pipe when
  17: **	an operation is complete.
  18: */
  19: 
  20: IIsync(file_name, line_no)
  21: char    *file_name;
  22: int line_no;
  23: {
  24:     pb_t    pb;
  25: 
  26:     IIpb_flush(&IIpb);
  27:     if (IIproc_name = file_name)
  28:         IIline_no = line_no;
  29: 
  30: #	ifdef xETR1
  31:     if (IIdebug)
  32:         printf("IIsync\n");
  33: #	endif
  34: 
  35: 
  36:     IIerrflag = 0;  /* reset error flag. If an error occures,
  37: 			** IIerrflag will get set in IIerror
  38: 			*/
  39: 
  40:     IIpb_prime(&pb, PB_NOTYPE);
  41:     IIreadinput(&pb);
  42:     IInewqry = 0;
  43: }

Defined functions

IIsync defined in line 6; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 875
Valid CSS Valid XHTML 1.0 Strict