Added SQL_GetInsertId()

This commit is contained in:
David Anderson
2006-08-28 19:17:26 +00:00
parent baf406cb6a
commit 9bd22661ff
13 changed files with 93 additions and 14 deletions

View File

@ -107,7 +107,7 @@ static cell AMX_NATIVE_CALL dbi_query(AMX *amx, cell *params)
old->error[0] = '\0';
old->errcode = 0;
if (!pQuery->Execute(&info, old->error, 254))
if (!pQuery->Execute2(&info, old->error, 254))
{
old->errcode = info.errorcode;
return -1;
@ -151,7 +151,7 @@ static cell AMX_NATIVE_CALL dbi_query2(AMX *amx, cell *params)
old->error[0] = '\0';
old->errcode = 0;
if (!pQuery->Execute(&info, old->error, 254))
if (!pQuery->Execute2(&info, old->error, 254))
{
old->errcode = info.errorcode;
return -1;