Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
28b98516
Kaydet (Commit)
28b98516
authored
Tem 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1079093 Uncaught exception
Change-Id: I4b09963e2daf22dcd006fee0ce0bb130c7c18342
üst
bc9e8231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
Util.cxx
connectivity/source/drivers/firebird/Util.cxx
+11
-5
No files found.
connectivity/source/drivers/firebird/Util.cxx
Dosyayı görüntüle @
28b98516
...
...
@@ -8,7 +8,6 @@
*/
#include "Util.hxx"
#include <rtl/ustrbuf.hxx>
using
namespace
::
connectivity
;
...
...
@@ -39,11 +38,18 @@ void firebird::evaluateStatusVector(ISC_STATUS_ARRAY& aStatusVector,
const
ISC_STATUS
*
pStatus
=
(
const
ISC_STATUS
*
)
&
aStatusVector
;
buf
.
appendAscii
(
"firebird_sdbc error:"
);
while
(
fb_interpret
(
msg
,
sizeof
(
msg
),
&
pStatus
))
try
{
while
(
fb_interpret
(
msg
,
sizeof
(
msg
),
&
pStatus
))
{
// TODO: verify encoding
buf
.
appendAscii
(
"
\n
*"
);
buf
.
append
(
OUString
(
msg
,
strlen
(
msg
),
RTL_TEXTENCODING_UTF8
));
}
}
catch
(...)
{
// TODO: verify encoding
buf
.
appendAscii
(
"
\n
*"
);
buf
.
append
(
OUString
(
msg
,
strlen
(
msg
),
RTL_TEXTENCODING_UTF8
));
SAL_WARN
(
"connectivity.firebird"
,
"ignore fb_interpret exception"
);
}
buf
.
appendAscii
(
"
\n
caused by
\n
'"
).
append
(
aCause
).
appendAscii
(
"'
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment