Package: libdbd-mysql-perl
Version: 2.9006-1
Severity: normal

Comments seem to give the MySQL parser a hard time, but here's one that
manages to confuse DBD::MySQL itself:

  -- 'Tis the quote that confuses DBI::MySQL
  SELECT ?

DBD::MySQL will miss the "?", and assume there's no parameter to bind.
Note that the syntax is valid, and the MySQL server has no problem
parsing it (if you replace "?" with something else).

This used to work fine until 2.9006, which probably tried to fix the
opposite situation (a "?" within a string/comment being interpreted as a
bind point).  Can't win 'em all, I guess...


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-2
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to