Files
pcas/src/db
Andrew Johnson 2bb3074fab db: Fix db_get_field() on an empty array field.
This fixes a bug introduced with the dynamic-array branch.
The new version of db_get_field() was using the dbr_size_n() macro to
calculate the offset to the start of the buffer area to be zeroed, but
when nRequest is zero this gives the wrong result; the dbr_ structures
always contain at least one value element, and dbr_size_n() thus has
to include that in its size calculation.
2010-10-27 13:26:56 -05:00
..
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2008-08-15 18:23:46 +00:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2002-07-12 21:35:43 +00:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2008-07-22 21:33:41 +00:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2002-07-12 21:35:43 +00:00
2010-10-05 14:27:37 -05:00
2002-07-12 21:35:43 +00:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-03-16 21:09:51 -04:00
2002-07-12 21:35:43 +00:00
2010-10-05 14:27:37 -05:00
2006-11-18 00:09:27 +00:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2010-10-05 14:27:37 -05:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2002-07-12 21:35:43 +00:00
2010-10-05 14:27:37 -05:00
2009-02-24 22:30:26 +00:00