[lazarus] DBImage patch

2008-01-27 Thread Michael Van Canneyt
Hi, 2 issues with TDBImage: First, TDBImage does not handle the case of a NULL blob very well. When a blob field is NULL, CreateBlobStream can return Nil. The Nil case is not handled correctly by TDBImage. I submitted a bug report (10711) with a patch attached, please commit it. Secondly: In

Re: [lazarus] DBImage patch

2008-01-27 Thread Joost van der Sluis
Op zondag 27-01-2008 om 16:18 uur [tijdzone +0100], schreef Michael Van Canneyt: Secondly: In general, the TDBImage should be more flexible about the kind of data it expects: it now requires that the first part of the blob stream is an ansistring with the extension of the image. This is of