Skip Menu |

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

Report information
The Basics
Id: 24967
Status: new
Priority: 0/
Queue: DBD-XBase

People
Owner: Nobody in particular
Requestors: dam [...] modsoftsys.com
Cc:
AdminCc:

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



Subject: DBD::XBase: Trapping extra values supplied ito set_record()
Date: Thu, 15 Feb 2007 13:14:18 +0200
To: bug-DBD-XBase [...] rt.cpan.org
From: Damyan Ivanov <dam [...] modsoftsys.com>
Hi, DBD::XBase version 0.241 (debian package 1:0.241-4) When one passes more values that defined DBF columns to $dbf->set_record(), all the values are written to the file, overwriting any present data after the written record. Adding die "Too much values supplied (".scalar(@data) ."). Expected: ".$self->{'last_field'}+1; somewhere in the beginning of set_record() would make life a little bit easier. Thanks for considering, dam -- Damyan Ivanov Modular Software Systems dam@modsoftsys.com phone +359(2)928-2611, 929-3993 fax +359(2)920-0994 mobile +359(88)856-6067 dam@jabber.minus273.org