Kaydet (Commit) 729c8baa authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane Kaydeden (comit) Michael Stahl

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 9284ea26
......@@ -329,7 +329,7 @@ void PreparedStatement::raiseSQLException(
buf.appendAscii( "')" );
OUString error = buf.makeStringAndClear();
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( )
......
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