dbTalk Databases Forums  

Exception occurring while running resetdb

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Exception occurring while running resetdb in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary Anderson
 
Posts: n/a

Default Exception occurring while running resetdb - 08-21-2006 , 11:09 AM






--------------000809010408020807080104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've loaded MySQL++ and built the resetdb program successfully. When I
try to run it, I get the following error:

Unhandled exception at 0x7c81eb33 in resetdb.exe: Microsoft C++
exception: std::bad_alloc at memory location 0x0012ebb8..

The error is happening in the connect section of resetdb, the code is

// Database doesn't exist yet, so create and select it.
if *(con.create_db(kpcSampleDatabase)* && // *I think this
is the line that throws the error.*
* * con.select_db(kpcSampleDatabase)) { **
new_db = true;
}

Can anyone offer a suggestion?



--------------000809010408020807080104
Content-Type: text/plain; charset=us-ascii


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw
--------------000809010408020807080104--

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.