Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with MSVC++ and MYSQL++

Status
Not open for further replies.

jcostanz

Programmer
May 24, 2001
36
0
0
US
With this code:

Query myQuery = pDatabase->query(); // a pointer to a connected connection object
myQuery <<&quot;Select * from repdata&quot;; // repdata is an existing table
myQuery.store();

I get an Debug Assertion Failed
in file dbgheap.c
line 1017
Expression: _BLOCK_TYPE_IS_INVALID(pHead->nBlockUse)
I have tried the exact statement in MySQL Administrator with out any errors.
The table has only 2 records and 3 fields.

Please help me fix the error.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top