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

Ed Curren <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hi Peter,

I think you may have hit paydirt there.  When I try to put a breakpoint on the dbmsStaticUpdate call Visual Studio says that the breakpoint will not be hit, and that no executable code is associated with the line.  It suggests preprocessor references or compiler/linker optimizations.  The only preprocessor directive I have listed is USE_DATABASE, so I'll be that there is a preprocessor directive that I am not defining that is needed.

 

Anyone happen to know this one offhand?

 

Thanks very much.
Ed
 
> From: [email protected]
> To: [email protected]; [email protected]; [email protected]
> Subject: RE: [Cryptlib] How do I access the data contained within the performUpdate function's boundData parameter?
> Date: Thu, 25 Feb 2010 16:01:36 +1300
> 
> 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.