#19724 [Opn->Asn]: Limited data size on read
| From: | sniper@php.net | Date: | Sun, 08 Dec 2002 16:28:15 +0000 |
| Subject: | #19724 [Opn->Asn]: Limited data size on read | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27047@lists.php.net to get a copy of this message | ||
ID: 19724
Updated by: sniper@php.net
Reported By: shoe@expressivetek.com
-Status: Open
+Status: Assigned
Bug Type: dBase related
Operating System: All
PHP Version: 4.2.3
Assigned To: vlad
Previous Comments:
------------------------------------------------------------------------
[2002-10-27 19:10:11] sniper@php.net
Setting to 'Open' to prevent automatic closing due the no-feedback..
Vlad, what is the status on this?
------------------------------------------------------------------------
[2002-10-08 12:28:50] vlad@php.net
Actually, it seems to return only up to 254 fields, which is a bug on
its own. I believe, there was a limit of 255 fields for dbase4 format.
I do not believe this is the case with dbase5.
This patch broke it:
http://cvs.php.net/diff.php/php4/ext/dbase/dbf_head.c?login=2&r1=1.9&r2=1.10&ty=u
The simpliest way to fix that would be just to increase the constant
from 254 to 1024. The better way would be figure out what the author of
the patch meant by 'padded field headers'.
I'll look into that.
shoe@expressivetek.com, do you use dbase5? or something else?
------------------------------------------------------------------------
[2002-10-02 15:52:27] shoe@expressivetek.com
When using dbase_get_record or dbase_get_record_with_names to read from
a DBF file, it only returns a maximum of 255 fields now. It did not do
this in previous versions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19724&edit=1