Hello Sven,

I think you forgot to attach the trace.

Regards
Alexander Schröder
SAP DB, SAP Labs Berlin
 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sven Köhler
Sent: Mittwoch, 8. Februar 2006 08:08
To: maxdb@lists.mysql.com
Subject: [BUG] SQLDBC and binding utf8 parameters

Hi,

I'm using DBD::MaxDB with Alexeys utf8-patch. The perl-program fails
with the following errormessage:

DBD::MaxDB::st execute failed: Conversion not supported for
parameter/column (1)

The relevant part of the perl-script is:

#$dbh->do("DROP TABLE test");
#$dbh->do("CREATE TABLE test(text LONG UNICODE)");

my $b = "INSERT INTO test(text) VALUES(?)";
my $c = "abc";

my $d = $dbh->prepare($b);
$d->bind_param(1, $c);
$d->execute();


The error-message seems to come from SQLDBC. I attached the sqldbctrace.

If i create the table with VARCHAR UNICODE, everything works fine. It
only fails for LONG UNICODE columns.


Greetings
  Sven

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to