diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-02-20 05:30:47 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2015-02-20 05:42:43 +0100 |
commit | 368954b3e9135de38a5a74f506ff27481b8d7a76 (patch) | |
tree | d60d1658f2352999d5d37dc3bf931a19ebe16243 /connectivity | |
parent | c14ed48c65f20a63da930a526c2a6294d3a3f565 (diff) |
ANSI92 Entry SQL includes Primary Key support
Change-Id: I68af66ce5ef9e31dce2c0e6f3dd2916bf601d73b
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbmetadata.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx index 24cdbdbd6826..fc2f1fd74728 100644 --- a/connectivity/source/commontools/dbmetadata.cxx +++ b/connectivity/source/commontools/dbmetadata.cxx @@ -255,7 +255,8 @@ namespace dbtools if ( !( lcl_getConnectionSetting( "PrimaryKeySupport", *m_pImpl, setting ) ) || !( setting >>= doesSupportPrimaryKeys ) ) - doesSupportPrimaryKeys = m_pImpl->xConnectionMetaData->supportsCoreSQLGrammar(); + doesSupportPrimaryKeys = m_pImpl->xConnectionMetaData->supportsCoreSQLGrammar() + || m_pImpl->xConnectionMetaData->supportsANSI92EntryLevelSQL(); } catch( const Exception& ) { |