Subject Re: [firebird-support] Re: Database for images
Author Micha Feigin
On Wed, 9 May 2007 19:39:27 +0200
"Ivan Prenosil" <Ivan.Prenosil@...> wrote:

> >> No, maximum is 32K-1.
> >
> > Oooops!
> >
> >
> >> > Additionally, 64KB also fits into an *unsigned* short integer value.
> >>
> >> The same, maximum is 64K - 1.
> >
> > The range for a signed short is -32,768 to 32,767 -- this has 65,536
> > values (== 64KB).
>
> Yes.
>
> > So, an unsigned short can support a value of 64KB.
>
> No, you forgot to count zero value :)

Aren't the pages zero valued also?

>
> Ivan