Subject | API: isc_detach_database, release of resources. |
---|---|
Author | Henrik Sitter |
Post date | 2003-01-27T18:45:07Z |
Hi.
After allocating storage place with these code lines:
my_xsqlda = (XSQLDA *) new char[XSQLDA_LENGTH(6)];
.
.
switch(type) // Process each XSQLVAR parameter structure here.
case SQL_VARYING:
var->sqldata = new char[(var->sqllen];
.
.
...what happens happens when I call isc_detach_database? I think the API
says that these resources are released. Is that correct?
Thanks,
Henrik
After allocating storage place with these code lines:
my_xsqlda = (XSQLDA *) new char[XSQLDA_LENGTH(6)];
.
.
switch(type) // Process each XSQLVAR parameter structure here.
case SQL_VARYING:
var->sqldata = new char[(var->sqllen];
.
.
...what happens happens when I call isc_detach_database? I think the API
says that these resources are released. Is that correct?
Thanks,
Henrik