LIMIT for MySQL limited to 37

I get a OleException when I set the LIMIT verb > 37.  In design mode, it
will accept 100 or more.  At run time I have to keep it under 38.  I'm using
TSQLDataSet with a provider and a TClientDataSet via DBExpress.  Any ideas?