constant expression in toSQLiteValue(const char* val)

https://github.com/paulftw/hiberlite/issues/2