Fixed bug #42261 (header wrong for date field).

This commit is contained in:
Ilia Alshanetsky 2007-08-10 00:30:04 +00:00
parent 6a752ac6df
commit ffab827d01
2 changed files with 5 additions and 0 deletions

2
NEWS
View file

@ -1,6 +1,8 @@
PHP NEWS PHP NEWS
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Aug 2007, PHP 5.2.4 ?? Aug 2007, PHP 5.2.4
- Fixed bug #42261 (header wrong for date field). (roberto at spadim dot com
dot br, Ilia)
- Fixed bug #42247 (ldap_parse_result() not defined under win32). (Jani) - Fixed bug #42247 (ldap_parse_result() not defined under win32). (Jani)
- Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped - Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped
streams). (andrew dot minerd at sellingsource dot com, Ilia) streams). (andrew dot minerd at sellingsource dot com, Ilia)

View file

@ -157,6 +157,9 @@ int get_dbf_field(dbhead_t *dbh, dbfield_t *dbf)
dbf->db_flen = dbfield.dbf_flen[0]; dbf->db_flen = dbfield.dbf_flen[0];
dbf->db_fdc = dbfield.dbf_flen[1]; dbf->db_fdc = dbfield.dbf_flen[1];
break; break;
case 'D':
dbf->db_flen = 8;
break;
default: default:
dbf->db_flen = get_short(dbfield.dbf_flen); dbf->db_flen = get_short(dbfield.dbf_flen);
break; break;