Subject | Re: [ib-support] API: isc_detach_database, release of resources. |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2003-01-28T05:23:05Z |
On 27 Jan 2003 at 19:45, Henrik Sitter wrote:
storage includes two bytes for real string length that are not
counted in sqllen.
allocated resources won't.
SY, Dimitry Sibiryakov.
>switch(type) // Process each XSQLVAR parameter structure here.There must be 'new char[(var->sqllen+2)];' because SQL_VARYING
>case SQL_VARYING:
> var->sqldata = new char[(var->sqllen];
storage includes two bytes for real string length that are not
counted in sqllen.
>....what happens happens when I call isc_detach_database? I think theNo. Server-side and internal structures will be released. User-
>API says that these resources are released. Is that correct?
allocated resources won't.
SY, Dimitry Sibiryakov.