dis_sql/src/sql_iff.cxx
//
// iff_symbol_id - Output a symbol id number.
//
Output a symbol id number.
Output a symbol id number .
static int iff_symbol_id (const SQL_SYM * sym)
{
   int ret_val = 0;
   if (sym && ( ! sym->sym_replace )) {
      if ( ! iff_test_output_flag ) {
	 if (fprintf (iff_fp, " [%d]", sym->sym_number) < 0) {
	    ret_val = iff_io_error ();
	 }
      } else {
	 if (fprintf (iff_fp, " [%s]", sym->sym_key) < 0) {
	    ret_val = iff_io_error ();
	 }
      }
   }
   return (ret_val);
}
static int iff_symbol_id ( const SQL_SYM * sym ) { int ret_val = 0 ; if ( sym && ( ! sym -> sym_replace ) ) { if ( ! iff_test_output_flag ) { if ( fprintf ( iff_fp , " " , sym -> sym_number ) < 0 ) { ret_val = iff_io_error ( ) ; } } else { if ( fprintf ( iff_fp , " " , sym -> sym_key ) < 0 ) { ret_val = iff_io_error ( ) ; } } } return ( ret_val ) ; }
iff_symbol_id - Output a symbol id number.
iff_symbol_id - Output a symbol id number .
// if sym_replace is set, this symbol will be replaced by a host // symbol, so it is not a sql symbol // check test/debug flag // debug: used symbol name