hi all,

We have a c application who work perfecty with mysql 5.0. We decide to
upgrade and use mysql 5.1.

Since that, nothing work, in owr log, we have always the follonig
error "Using unsupported buffer type: 254  (parameter: 2)"  when we
call the mysql_stmt_bind_result function

what we do is a SELECT COL_1,COL_2 FROM TAB_3

where col_1 et col_2 are declared as char(3) and  contain abc and def
(it's a test :D ).
for the bind, we use MYSQL_TYPE_STRING  for both parameters (the first
and the second)


mysql> describe TAB_3;
+-------+---------+------+-----+---------+-------+
| Field | Type    | Null | Key | Default | Extra |
+-------+---------+------+-----+---------+-------+
| COL_1 | char(3) | YES  |     | NULL    |       |
| COL_2 | char(3) | YES  |     | NULL    |       |
| COL_3 | text    | YES  |     | NULL    |       |
+-------+---------+------+-----+---------+-------+
3 rows in set (0.00 sec)


any idea, cause I don't know by what to start to find the prob :D
I looked in all mysql log, nothing special

thank you


-- 
http://deathboater.blogspot.com/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to