I am trying to overcome a rather annoying issue, ages back we wrote a
program that included the MySQL++ libraries and it worked great!
However recently it has just decided to start segmentation faulting. I don't
This is the code that is causing the seg fault:
log.input("About to query!");
log.input("making query for counting IPs to be used");
Query q = conn->query();
log.input("declared Q object");
q << "SELECT `ipaddress` FROM `ipaddrs_included` WHERE `accounted` =
int count = 0;
while (count < v.size())
ss << v[count]["ipaddress"];
ss >> input;
The program segfaults when the function q.storein(v) is executed. it does
not get past this line.
I have verified the SQL and checked the output of the database for possible
rouge data, but alas I have been unable to find anything causing this!
Could someone please help me recover from this issue?
Head of Development
Phone: 1300 884 839 (AU Only - Business Hours)
Website: AU <http://www.crucial.com.au/> http://www.crucial.com.au| US