Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't bind data in prepared statement

Status
Not open for further replies.

walcapu

Programmer
Jan 21, 2009
1
IT
Hi,
I'm trying to insert data using prepared statements in my C application
because I need to store binary data.
Unfortunately mysql_stmt_bind_param() fails issuing this error:
"Using unsupported buffer type: 1238604 (parameter: 3)"
I also tried to execute exactly the same example provided in
"24.2.7.10. mysql_stmt_execute()" (mysql site)
but it still fails giving tha same error.

I'm using MySQL 5.1 and the client (my application) is compiled and executed on the the same machine.

Whitch components of mysql I have to install to process
prepared statements ?
I have to download some patches for libraries, includes etc ?

Can anyone help me, please ?

Walter

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top