Update and select rasql queries distinction
|Reported by:||dmisev||Owned by:||dmisev|
In source:rasodmg/oqlquery.cc (line 422), the code that determines if a query is a selection query should be fixed, as in many cases as it is now it would fail (e.g. if there are newlines in the query):
The relevant code is
returnValue = upperCaseQueryString.find("SELECT ") != std::string::npos && upperCaseQueryString.find(" INTO ") == std::string::npos;
This functionality is only used by rasql at the moment, to determine which version of r_oql_execute to call. The same distinction is done in rasj as well.