fcl-db: base: if either MinValue or MaxValue is <> 0 then use range MinValue-MaxValue instead of MinRange-MaxRange (for TLongintField). It is compatible with other Fields and allows set range 0-X or X-0. Bug #26606

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28531 3ad0048d-3df7-0310-abae-a5850022a9f2