Re: How do I access the data contained within the performUpdate function's boundData parameter?

Peter Gutmann <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Ed Curren <[email protected]> writes:

>I pasted in the first several lines (particularly the asserts) from odbc.c
>and found that for the SQL command:
>
>CREATE TABLE certificates (C CHAR(2), SP VARCHAR(64), L VARCHAR(64), O
>VARCHAR(64), OU VARCHAR(64), CN VARCHAR(64), email VARCHAR(64), validTo
>DATETIME NOT NULL, nameID CHAR(22) NOT NULL, issuerID CHAR(22) NOT NULL,
>keyID CHAR(22) NOT NULL, certID CHAR(22) NOT NULL, certData BLOB NOT NULL)
>
>the assert line:
>
>assert( ( boundData == NULL ) || \
>           isReadPtr( boundData, \
>                           sizeof( BOUND_DATA ) * BOUND_DATA_MAXITEMS ) );
>
>is failing.  The boundData has an address of 0x00000122.  

Unfortunately I can't tell what's going wrong without access to the system
where the problem occurs (that is, it works fine with the ODBC glue code,
which is what it's usually used with).  In this case the boundData should be
NULL since there isn't any bound data for a static SQL string, could you try
stepping through the code starting from the dbmsStaticUpdate() in
createDatabase() in keyset/dbx_misc.c?

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.