288 if (
strcmp(oper,
"=") == 0)
290 else if (
strcmp(oper,
"<") == 0)
292 else if (
strcmp(oper,
"<=") == 0)
294 else if (
strcmp(oper,
">") == 0)
296 else if (
strcmp(oper,
">=") == 0)
298 else if (
strcmp(oper,
"<>") == 0)
300 else if (
strcmp(oper,
"~") == 0)
302 else if (
strcmp(oper,
"+") == 0)
304 else if (
strcmp(oper,
"-") == 0)
306 else if (
strcmp(oper,
"*") == 0)
308 else if (
strcmp(oper,
"/") == 0)
310 else if (
strcmp(oper,
"and") == 0)
312 else if (
strcmp(oper,
"or") == 0)
314 else if (
strcmp(oper,
"not") == 0)
int sqpAllocCol(SQLPSTMT *st, int n)
int sqpAllocVal(SQLPSTMT *st, int n)
char * sqpOperatorName(int oper)
int sqpSaveStr(SQLPVALUE *val, char *c)
void sqpColumn(char *col)
void sqpCopyValue(SQLPVALUE *from, SQLPVALUE *to)
void sqpValue(char *strval, int intval, double dblval, int type)
SQLPNODE * sqpNewNode(void)
int sqpOperatorCode(char *oper)
void sqpAssignment(char *col, char *strval, int intval, double dblval, SQLPNODE *expval, int type)
SQLPNODE * sqpNewValueNode(char *strval, int intval, double dblval, int type)
SQLPNODE * sqpNewColumnNode(char *name)
SQLPNODE * sqpNewExpressionNode(int oper, SQLPNODE *left, SQLPNODE *right)
void sqpCommand(int command)
int sqpInitParser(SQLPSTMT *st)
void sqpInitValue(SQLPVALUE *val)
void sqpOrderColumn(char *col, int dir)
void sqpFreeNode(SQLPNODE *np)
void sqpColumnDef(char *col, int type, int width, int decimals)
#define SQLP_NODE_EXPRESSION