$Revision: 1.28 $
Query instruction module (qi) config module.
Status: NOT REVUED, NOT TESTED
#define Q_OBJECTS "SELECT last.object_id, last.sequence_id, last.object ,last.object_type FROM %s IDS STRAIGHT_JOIN last,object_order WHERE last.object_id=IDS.id AND last.object_type != 100 AND last.object_type = object_order.object_type ORDER BY order_code"
#define Q_REC "INSERT INTO %s SELECT pe_ro_id FROM %s IDS STRAIGHT_JOIN %s WHERE object_id = IDS.id"
#define Q_NO_OBJECTS "SELECT object_id, sequence_id, object FROM last WHERE object_id = 0"
struct Query_instruction_t | |
{ | |
R_Type_t search_type; | |
int queryindex; | |
char* query_str; | |
char* rx_keys; | |
unsigned int rx_srch_mode; | |
unsigned int rx_par_a; | |
ip_space_t space; | |
rx_fam_t family; | |
} |
struct Query_instructions_t | |
{ | |
Query_instruction* instruction[100]; | |
unsigned int filtered; | |
unsigned int fast; | |
unsigned int recursive; | |
const Query_command* qc; | |
} |