Subject: | DBI interface using incorrect SELECT statement |
POE-Component-UserBase-0.09.tar.gz
v2@vaio:~$ perl -v
This is perl, v5.8.4 built for i386-linux-thread-multi
v2@vaio:~$ uname -a
Linux vaio 2.6.8-vaio #1 Tue Sep 14 12:57:20 BST 2004 i686 GNU/Linux
Hi there,
I noticed a problem using a DBI backend, in that the values specified to spawn() to define which columns are to be used for the queries are not actually used by the SELECT statement.
in _read_dbi the following is set:
my @fields = qw(user_name domain password persistent);
I believe this should infact be:
my @fields = ($heap->{UserColumn}, $heap->{DomainColumn}, $heap->{PasswordColumn}, $heap->{PersistentColumn} );
Such that the columns specified by the user are used, and not the internally hard coded default values.
HTH
-vince