Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 21443
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: dgl [...] dgl.cx
Cc: tripiecz [...] yahoo.com
AdminCc:

Bug Information
Severity: Important
Broken in: 1.13
Fixed in: (no value)



Subject: Some params
RT #20378 seems to have introduced an issue with some params. The result is an error when named parameters aren't in use: $ ~/dbd-sqlite.pl Foo Unknown named parameter at /home/dgl/dbd-sqlite.pl line 8. Example attached. The really odd thing is it goes away if you set DBI_TRACE to 2 or higher, presumably because some logging sets the IOK flag.
Subject: wp-empty.db
Download wp-empty.db
application/octet-stream 3k

Message body not shown because it is not plain text.

Subject: dbd-sqlite.pl
#!/usr/bin/perl -wT use strict; use DBI; my $dbh = DBI->connect("dbi:SQLite:wp-empty.db", "", ""); my $wp = $dbh->prepare("SELECT text, name, redirect FROM en WHERE name = ?"); $wp->execute($ARGV[0]); my $res = $wp->fetch; print "got @$res\n" if $res;
This bug is absolutely critical. It breaks a lot of existing code. IMHO a new release with this bug fixed should be released ASAP. It's only necessary to revert the named parameters patch that is mentioned below.
Any chance you two could try CVS? I think I've fixed this but I'd like to be sure. cvs -d :pserver:anonymous@axkit.org:/home/cvs login cvs -d :pserver:anonymous@axkit.org:/home/cvs co DBD-SQLite And you'll have to run: perl getsqlite.pl 3.3.7 Because the core SQLite stuff isn't stored in CVS.
On Mon Sep 18 14:56:16 2006, MSERGEANT wrote: Show quoted text
> Any chance you two could try CVS? I think I've fixed this but I'd like > to be sure.
Seems to be working here, thanks.
OK, marking resolved. Please only reply to re-open.