Kaydet (Commit) 6118e852 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane Kaydeden (comit) Andras Timar

postgresql-sdbc: include error message in SQLException

Change-Id: I9d91503e6beb08f11368fc6b80fefb61f60d4486
Reviewed-on: https://gerrit.libreoffice.org/16342Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 7ceb62a0
...@@ -329,7 +329,7 @@ void PreparedStatement::raiseSQLException( ...@@ -329,7 +329,7 @@ void PreparedStatement::raiseSQLException(
buf.appendAscii( "')" ); buf.appendAscii( "')" );
OUString error = buf.makeStringAndClear(); OUString error = buf.makeStringAndClear();
log( m_pSettings, LogLevel::ERROR, error ); log( m_pSettings, LogLevel::ERROR, error );
throw SQLException( buf.makeStringAndClear(), *this, OUString(), 1, Any() ); throw SQLException( error, *this, OUString(), 1, Any() );
} }
Reference< XResultSet > PreparedStatement::executeQuery( ) Reference< XResultSet > PreparedStatement::executeQuery( )
......
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