fix bug
change compile_where_sql return error when whereParamArray is empty