Assertion Error while binding blob result
Posted by: Saif Rehman
Date: November 20, 2011 03:25AM

Hello,

I've been trying really hard to get this problem fixed, I've tried many things but still can't find how to fix it and I'd really appreciate if any would help me since I am new to MySQL C API.

-I'm trying to bind the result of a SELECT query in a prepared statment.
-The column is a blob so I can't know how much space should be allocated.
-I set the buffer = 0 and buffer_length = 0
-When I call mysql_stmt_bind_result()... I get an assertion error that buffer_length != 0

Can some 1 tell me how I can bind a blob result?
Thank you :)



Edited 1 time(s). Last edit at 11/20/2011 03:27AM by Saif Rehman.

Options: ReplyQuote


Subject
Views
Written By
Posted
Assertion Error while binding blob result
2546
November 20, 2011 03:25AM


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.