KNOWN BUGS:

- HAVING can only use fields in select expression list. Functions must be
  aliased.
- Blobs can't be used in groups or sorted. Because distinct does a implicit
  group it can't be used on blobs. A workaround for some cases is to use a sub
  string.  SELECT distinct LEFT(blob,400) from table.
  BLOB's in a 'number' contect returns the length of the blob instead of the
  number value of the blob.
- All calculation is done with 'double'. This means that one can't use the
  full range of a longlong.
- All fields types are fixed point fields. That means one must specify how
  many decimals a floating point fields shall have. All results will be
  returned with the correct number of decimals.
- All string columns, except BLOBS, have automaticly all end spaces removed
  when retrieved. This is regarded as a feature according to ANSI SQL92.
  The bug is that maybe the compare should remove spaces from fixed
  strings too. For example the following query never returns anything if
  name isn't a BLOB.
  SELECT * from table where name = 'david '
