}
}
-## inquire_equel (rowcount = "rowcount", errorno = "errorno")
- if (errorno != 0) return(SMS_INGRES_ERR);
+ if (sms_errcode) return(sms_errcode);
+## inquire_equel (rowcount = "rowcount")
return ((rowcount == 0) ? SMS_NO_MATCH : SMS_SUCCESS);
##}
## replace rvar (param (q->tlist, argv))
## where cqual
-## inquire_equel (errorno = "errorno")
- if (errorno == INGRES_BAD_INT)
- return(SMS_INTEGER);
- else if (errorno != 0)
- return(SMS_INGRES_ERR);
+ if (sms_errcode) return(sms_errcode);
return(SMS_SUCCESS);
##}
## append to rtable (param (q->tlist, argv))
}
-## inquire_equel (errorno = "errorno")
- if (errorno == INGRES_BAD_INT)
- return(SMS_INTEGER);
- else if (errorno != 0)
- return(SMS_INGRES_ERR);
+ if (sms_errcode) return(sms_errcode);
return(SMS_SUCCESS);
##}
cqual = qual;
## delete rvar where cqual
-## inquire_equel (errorno = "errorno")
- if (errorno != 0) return(SMS_INGRES_ERR);
+ if (sms_errcode) return(sms_errcode);
return(SMS_SUCCESS);
##}
return;
}
- if (name_to_id(name, "STRING", &k_id) == SMS_SUCCESS)
+ if (name_to_id(name, "STRINGS", &k_id) == SMS_SUCCESS)
*kid = -k_id;
if (!ok) {
return;
}
- if (name_to_id(login, "USER", uid) != SMS_SUCCESS)
+ if (name_to_id(login, "USERS", uid) != SMS_SUCCESS)
*uid = 0;
if (*kid == 0)