[imp] VFS Sql in CVS HEAD appears broken
rcooper at jamesconeyisland.com
rcooper at jamesconeyisland.com
Thu Jun 26 14:02:57 PDT 2003
Just noticed the following problem. Would someone care to see if they can
duplicate it? Sending attachments over about 1mb in size with the VFS
sql driver for a mysql backend results in a truncated, zero byte file
attachment being sent to the recepient. Using $conf['vfs']['type']='file'
works as expected.
File sizes under 1mb seem to work fine. When this occurs there are no
error messages or anything else to indicate there was a problem. vfs_id
in
horde_vfs table increments, vfs_data remains either null or has an
invalid length. Have not yet determined the exact filesize the failure
occurs.
To reproduce:
1. Might want to truncate horde_vfs table if there are a lot of entries.
2, Compose a mail and attach an attachment say 1.2 or 1.3 Megs or greater
in size.
2. Click attach.
3. run mysql client to view the vfs table contents:
mysql -u horde -p horde
select * from horde_vfs;
the vfs_id field increments, and all fields in table look good except for
vfs_data which is either zero, or some bogus value. Obviously this is
when the operation was aborted or failed.
Selecting a smaller file will result in proper operation.
Not sure what to try next. But will be glad to assist in any testing.
Mysql version 4.0.13
mod_PHP 4.3.2
Apache 1.3.27
More information about the imp
mailing list