Re: [SOLVED] Segmentation fault in client on 2nd cursor mysql_stmt_fetch
Posted by: Michael Soltis
Date: January 23, 2012 10:53PM

It turns out that during the memset of MYSQL_BIND, a pointer to the MYSQL_BIND was being passed and the sizeof(MYSQL_BIND*) was being calculated rather than sizeof(MYSQL_BIND[]), i.e. the sizeof the pointer rather than the sizeof the array was being used.

Thanks for tuning in.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: [SOLVED] Segmentation fault in client on 2nd cursor mysql_stmt_fetch
1290
January 23, 2012 10:53PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.