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
ccceac2a
Kaydet (Commit)
ccceac2a
authored
May 30, 2015
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
handle getParameters being called before execute()
Change-Id: If81e745ee15df3848c6577a9e979672523718daf
üst
bd09c6a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
RowSet.cxx
dbaccess/source/core/api/RowSet.cxx
+10
-4
RowSet.hxx
dbaccess/source/core/api/RowSet.hxx
+1
-1
No files found.
dbaccess/source/core/api/RowSet.cxx
Dosyayı görüntüle @
ccceac2a
...
...
@@ -1624,10 +1624,17 @@ void ORowSet::setStatementResultSetType( const Reference< XPropertySet >& _rxSta
_rxStatement
->
setPropertyValue
(
PROPERTY_RESULTSETCONCURRENCY
,
makeAny
(
nResultSetConcurrency
)
);
}
void
ORowSet
::
impl_
makeNew
Statement_throw
()
void
ORowSet
::
impl_
ensure
Statement_throw
()
{
OUString
sCommandToExecute
;
impl_initComposer_throw
(
sCommandToExecute
);
if
(
m_bCommandFacetsDirty
)
{
impl_initComposer_throw
(
sCommandToExecute
);
}
else
{
sCommandToExecute
=
m_bUseEscapeProcessing
?
m_xComposer
->
getQueryWithSubstitution
()
:
m_aActiveCommand
;
}
try
{
...
...
@@ -1672,8 +1679,7 @@ void ORowSet::impl_makeNewStatement_throw()
Reference
<
XResultSet
>
ORowSet
::
impl_prepareAndExecute_throw
()
{
if
(
m_bCommandFacetsDirty
)
impl_makeNewStatement_throw
();
impl_ensureStatement_throw
();
m_aParameterValueForCache
.
get
().
resize
(
1
);
Reference
<
XParameters
>
xParam
(
m_xStatement
,
UNO_QUERY_THROW
);
...
...
dbaccess/source/core/api/RowSet.hxx
Dosyayı görüntüle @
ccceac2a
...
...
@@ -197,7 +197,7 @@ namespace dbaccess
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XResultSet
>
impl_prepareAndExecute_throw
();
void
impl_
makeNew
Statement_throw
();
void
impl_
ensure
Statement_throw
();
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>
calcConnection
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XInteractionHandler
>&
_rxHandler
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// free clones and ParseTree. Plus, if _bComplete is <TRUE/>, *all* other associated resources
...
...
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