8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Added an entry point for isc_dsql_allocate_statement

This commit is contained in:
sboyd 2008-05-29 19:10:17 +00:00
parent 9ffe121d75
commit c05536e155
2 changed files with 14 additions and 0 deletions

View File

@ -68,3 +68,4 @@ EXPORTS
rmc_ctos=rmc_ctos @64
rmc_stoc=rmc_stoc @65
isc_rollback_retaining=rmc_rollback_retaining @66
isc_dsql_allocate_statement=rmc_dsql_allocate_statement @67

View File

@ -799,6 +799,18 @@ EXPORT RM_ENTRY(rmc_embed_dsql_prepare)
return (0);
}
EXPORT RM_ENTRY(rmc_dsql_allocate_statement)
{
ClearParamPool();
ISC_STATUS *stat = AllocStatusPool();
isc_dsql_allocate_statement(stat,
(isc_db_handle *)arg_vector[1].a_address,
(isc_tr_handle *)arg_vector[2].a_address);
StatusToCobol(&arg_vector[0], stat);
return (0);
}
EXPORT RM_ENTRY(rmc_dsql_alloc_statement2)
{
ClearParamPool();
@ -1612,6 +1624,7 @@ EXPORT entry_table RM_EntryPoints[] = {
{ "isc_embed_dsql_open", rmc_embed_dsql_open, "rmc_embed_dsql_open" },
{ "isc_embed_dsql_open2", rmc_embed_dsql_open2, "rmc_embed_dsql_open2" },
{ "isc_embed_dsql_prepare", rmc_embed_dsql_prepare, "rmc_embed_dsql_prepare" },
{ "isc_dsql_allocate_statement", rmc_dsql_allocate_statement, "rmc_dsql_allocate_statement" },
{ "isc_dsql_alloc_statement2", rmc_dsql_alloc_statement2, "rmc_dsql_alloc_statement2" },
{ "isc_dsql_execute_m", rmc_dsql_execute_m, "rmc_dsql_execute_m" },
{ "isc_dsql_free_statement", rmc_dsql_free_statement, "rmc_dsql_free_statement" },