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
99c6e8dc
Kaydet (Commit)
99c6e8dc
authored
May 30, 2015
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
HSQLDB connection flush: safer handling when createStatement or execute fails
Change-Id: I32f3014bbf32c4a4a990bea03ee565c9b4c0164d
üst
8607f8b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
HConnection.cxx
connectivity/source/drivers/hsqldb/HConnection.cxx
+10
-3
No files found.
connectivity/source/drivers/hsqldb/HConnection.cxx
Dosyayı görüntüle @
99c6e8dc
...
@@ -150,10 +150,17 @@ namespace connectivity { namespace hsqldb
...
@@ -150,10 +150,17 @@ namespace connectivity { namespace hsqldb
m_bReadOnly
=
true
;
m_bReadOnly
=
true
;
}
}
}
}
if
(
!
m_bReadOnly
)
try
{
{
Reference
<
XStatement
>
xStmt
(
m_xConnection
->
createStatement
(),
UNO_QUERY_THROW
);
if
(
!
m_bReadOnly
)
xStmt
->
execute
(
OUString
(
"CHECKPOINT DEFRAG"
)
);
{
Reference
<
XStatement
>
xStmt
(
m_xConnection
->
createStatement
(),
UNO_QUERY_THROW
);
xStmt
->
execute
(
OUString
(
"CHECKPOINT DEFRAG"
)
);
}
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
}
}
}
...
...
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