diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-18 10:04:20 +0300 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-09-26 15:37:27 +0200 |
commit | ac10225762ce2c242d21126b5730b1d60f0150ed (patch) | |
tree | 6b66847a4ff1cfccc4c7656e0509f57da3c3c440 /connectivity/source/parse | |
parent | 4e26b915687acbfab5ebc260d8a7a434761721bd (diff) |
implement --with-system-odbc on windows
Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r-- | connectivity/source/parse/sqlbison.y | 2 | ||||
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index 44f962e52205..4d8039da219b 100644 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -4329,7 +4329,7 @@ OUString OParseContext::getErrorMessage(ErrorCode _eCode) const case ERROR_INVALID_INT_COMPARE: aMsg = "The field can not be compared with a number."; break; case ERROR_INVALID_DATE_COMPARE: aMsg = "The field can not be compared with a date."; break; case ERROR_INVALID_REAL_COMPARE: aMsg = "The field can not be compared with a floating point number."; break; - case ERROR_INVALID_TABLE: aMsg = "The database does not contain a table named \"#\"."; break; + case ERROR_INVALID_TABLE1: aMsg = "The database does not contain a table named \"#\"."; break; case ERROR_INVALID_TABLE_OR_QUERY: aMsg = "The database does contain neither a table nor a query named \"#\"."; break; case ERROR_INVALID_COLUMN: aMsg = "The column \"#1\" is unknown in the table \"#2\"."; break; case ERROR_INVALID_TABLE_EXIST: aMsg = "The database already contains a table or view with name \"#\"."; break; diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 7c4a1784600c..99cb3416a897 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -416,13 +416,13 @@ OSQLTable OSQLParseTreeIterator::impl_locateRecordSource( const OUString& _rComp // m_xQueryContainer would not have been set), so emit a better error message impl_appendError( IParseContext::ERROR_INVALID_TABLE_OR_QUERY, &sName ); else - impl_appendError( IParseContext::ERROR_INVALID_TABLE, &sName ); + impl_appendError( IParseContext::ERROR_INVALID_TABLE1, &sName ); } } } catch(Exception&) { - impl_appendError( IParseContext::ERROR_INVALID_TABLE, &sComposedName ); + impl_appendError( IParseContext::ERROR_INVALID_TABLE1, &sComposedName ); } return aReturn; |