dis_sql/src/esql.cxx
/* The following function is called when a DEF_SQLCODE option is
 * recognized; it just sets a variable to
 * tell whether to output the relevant preprocessor definition.
 */
The following function is called when a DEF_SQLCODE option is
recognized; it just sets a variable to
tell whether to output the relevant preprocessor definition.
The following function is called when a DEF_SQLCODE option is recognized ; it just sets a variable to tell whether to output the relevant preprocessor definition .
static void process_def_sqlcode(const char* true_false) {
    if (toupper(*true_false) == 'Y' || toupper(*true_false) == 'T'
	|| *true_false == '1') {
	do_sqlcode = 1;
    }
    else do_sqlcode = 0;
}
static void process_def_sqlcode ( const char * true_false ) { if ( toupper ( * true_false ) == ' ' || toupper ( * true_false ) == ' ' || * true_false == ' ' ) { do_sqlcode = 1 ; } else do_sqlcode = 0 ; }
The following function is called when a DEF_SQLCODE option is
 recognized; it just sets a variable to
 tell whether to output the relevant preprocessor definition.
The following function is called when a DEF_SQLCODE option is recognized ; it just sets a variable to tell whether to output the relevant preprocessor definition .