Kaydet (Commit) f21eaff8 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#45249 declare support for Core SQL -> Base allows user aggregate functions

üst b469be07
...@@ -725,7 +725,12 @@ sal_Bool DatabaseMetaData::supportsMinimumSQLGrammar( ) throw (SQLException, Ru ...@@ -725,7 +725,12 @@ sal_Bool DatabaseMetaData::supportsMinimumSQLGrammar( ) throw (SQLException, Ru
sal_Bool DatabaseMetaData::supportsCoreSQLGrammar( ) throw (SQLException, RuntimeException) sal_Bool DatabaseMetaData::supportsCoreSQLGrammar( ) throw (SQLException, RuntimeException)
{ {
// LEM: jdbc driver says not, although the comments in it seem old // LEM: jdbc driver says not, although the comments in it seem old
return sal_False; // fdo#45249 Base query design won't use any aggregate function
// (except COUNT(*) unless we say yes, so say yes.
// Actually, Base assumes *also* support for aggregate functions "collect, fusion, intersection"
// as soon as supportsCoreSQLGrammar() returns true.
// Those are *not* Core SQL, though. They are in optional feature S271 "Basic multiset support"
return sal_True;
} }
sal_Bool DatabaseMetaData::supportsExtendedSQLGrammar( ) throw (SQLException, RuntimeException) sal_Bool DatabaseMetaData::supportsExtendedSQLGrammar( ) throw (SQLException, RuntimeException)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment