Re: C API Prepared Statement Parameter not bind
It may be due to an incorrect setting of the type to your parameter buffer_type. Even though your result bind is working for the the same assigned type when you tested it without using the param binding. May be worth checking out. You sould confirm that the parmeter "id" stored in your "subset" table is truely a int or long and not a short, etc... Use the "SHOW COUMNS FROM tablename;" command in the "mysql" utility to confirm the field type for field "id" for that table. I can't tell anything about the structure of your table. It is always a good Idea to include the out put from the "SHOW CREATE TABLE table_name" command with your questions. The more info the better. Hope this helps.
Joe
Subject
Views
Written By
Posted
955
November 08, 2005 03:04AM
Re: C API Prepared Statement Parameter not bind
466
November 11, 2005 08:05AM
649
November 21, 2005 04:53AM
475
November 21, 2005 12:37PM
560
November 22, 2005 02:53AM
562
November 22, 2005 08:26AM
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.