dbTalk Databases Forums  

Error 139

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


Discuss Error 139 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
timothy johnson
 
Posts: n/a

Default Error 139 - 04-04-2005 , 12:56 AM






I will admit to being new to this. I am taking bits and pieces of
others code and trying to get it to work for my own needs. I have
looked at serveral peoples code and they all agree on how to do this,
but when I try I get error 139. what could be wrong?

pConnection = mysql_init(NULL);
mysql_real_connect(pConnection, "localhost", "netjuke", "netjuke",
"netjuke", 0, NULL, 0);
mysql_query(pConnection, "SELECT * From netjuke_tracks");
pResult=mysql_use_result(pConnection);

mysql_free_result(pResult);
mysql_close(pConnection);


thise code runs, and the rest of my program runs fine, but when I try
to put code in the middle to use "pResult" thats when it errors out

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


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: Error 139 - 04-04-2005 , 02:14 PM






timothy johnson wrote:

Quote:
mysql_real_connect(pConnection, "localhost", "netjuke", "netjuke",
"netjuke", 0, NULL, 0);
This mailing list is for the MySQL++ C++ wrapper only. This question
has to do with the underlying C API, which is handled on the main MySQL
list. Take this up there, please.

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



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.