diff options
Diffstat (limited to 'connectivity/source/drivers/firebird/FResultSetMetaData.cxx')
-rw-r--r-- | connectivity/source/drivers/firebird/FResultSetMetaData.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx index 578a08167464..e4dfcce46aa3 100644 --- a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx +++ b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx @@ -81,6 +81,11 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column) sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column) throw(SQLException, RuntimeException) { + // Firebird is generally case sensitive when using quoted identifiers. + // IF THIS CHANGES make ResultSet::findColumn to be case-insenstive as needed. + // Generally names that are entirely UPPERCASE are case insensitive, however + // there remains some ambiguity if there is another mixed-case-named column + // of the same name. For safety always assume case insensitive. (void) column; return sal_False; } |