List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:January 6 2000 12:35pm
Subject:Re: Segmentation fault in mysql_free_result
View as plain text  
At 11:30 AM +0000 2000-01-06, Jimmy Moore wrote:
>	I am programming using MySQL, which is great, but lately I have started
>to get segmentation faults within mysql_free_result.
>	The result is recieved fine, but when I call mysql_free_result, I get a
>segment fault. (I have checked the pointer mysqlres and it is valid).
>	I am programming in x86 assembly using NASM under RedHat Linux 6.0 and
>am using the MySQL 3.22 libraries.
>	I decided to add mysql_errno to see what was happening on the previous
>calls leading up to the segment fault, but ld cannot find mysql_errno!!! I
>cannot link to it :-(
>	Please help if you can...
>			Thanks

Prior to 3.22.25, mysql_errno() is a macro and not a function.

Paul DuBois, paul@stripped
Segmentation fault in mysql_free_resultJimmy Moore6 Jan
  • Re: Segmentation fault in mysql_free_resultManos Spanoudakis6 Jan
  • Re: Segmentation fault in mysql_free_resultPaul DuBois6 Jan
  • Re: Segmentation fault in mysql_free_resultsinisa6 Jan
  • Re: Segmentation fault in mysql_free_resultSasha Pachev6 Jan