#19724 [Opn->Fbk]: Limited data size on read
| From: | vlad@php.net | Date: | Tue, 08 Oct 2002 17:28:51 +0000 |
| Subject: | #19724 [Opn->Fbk]: Limited data size on read | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21830@lists.php.net to get a copy of this message | ||
ID: 19724
Updated by: vlad@php.net
Reported By: shoe@expressivetek.com
-Status: Open
+Status: Feedback
Bug Type: dBase related
Operating System: All
PHP Version: 4.2.3
-Assigned To:
+Assigned To: vlad
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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