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
3fecccad
Kaydet (Commit)
3fecccad
authored
Haz 20, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
connecitivty: [loplugin:nullptr]
Change-Id: Ic717e1d119e1a5b8a87caca263322d9e58fe6c68
üst
8ad0fb82
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
Blob.cxx
connectivity/source/drivers/firebird/Blob.cxx
+8
-0
Connection.cxx
connectivity/source/drivers/firebird/Connection.cxx
+6
-1
PreparedStatement.cxx
connectivity/source/drivers/firebird/PreparedStatement.cxx
+8
-0
StatementCommonBase.cxx
connectivity/source/drivers/firebird/StatementCommonBase.cxx
+5
-1
No files found.
connectivity/source/drivers/firebird/Blob.cxx
Dosyayı görüntüle @
3fecccad
...
...
@@ -33,7 +33,11 @@ Blob::Blob(isc_db_handle* pDatabaseHandle,
m_pDatabaseHandle
(
pDatabaseHandle
),
m_pTransactionHandle
(
pTransactionHandle
),
m_blobID
(
aBlobID
),
#if SAL_TYPES_SIZEOFPOINTER == 8
m_blobHandle
(
0
),
#else
m_blobHandle
(
nullptr
),
#endif
m_bBlobOpened
(
false
),
m_nBlobLength
(
0
),
m_nBlobPosition
(
0
)
...
...
@@ -103,7 +107,11 @@ void Blob::closeBlob()
evaluateStatusVector
(
m_statusVector
,
"isc_close_blob"
,
*
this
);
m_bBlobOpened
=
false
;
#if SAL_TYPES_SIZEOFPOINTER == 8
m_blobHandle
=
0
;
#else
m_blobHandle
=
nullptr
;
#endif
}
}
...
...
connectivity/source/drivers/firebird/Connection.cxx
Dosyayı görüntüle @
3fecccad
...
...
@@ -89,8 +89,13 @@ Connection::Connection(FirebirdDriver* _pDriver)
,
m_bIsAutoCommit
(
false
)
,
m_bIsReadOnly
(
false
)
,
m_aTransactionIsolation
(
TransactionIsolation
::
REPEATABLE_READ
)
#if SAL_TYPES_SIZEOFPOINTER == 8
,
m_aDBHandle
(
0
)
,
m_aTransactionHandle
(
0
)
#else
,
m_aDBHandle
(
nullptr
)
,
m_aTransactionHandle
(
nullptr
)
#endif
,
m_xCatalog
(
nullptr
)
,
m_xMetaData
(
nullptr
)
,
m_aStatements
()
...
...
@@ -773,7 +778,7 @@ void Connection::disposing()
isc_rollback_transaction
(
status
,
&
m_aTransactionHandle
);
}
if
(
m_aDBHandle
!=
0
)
if
(
m_aDBHandle
)
{
if
(
isc_detach_database
(
status
,
&
m_aDBHandle
))
{
...
...
connectivity/source/drivers/firebird/PreparedStatement.cxx
Dosyayı görüntüle @
3fecccad
...
...
@@ -485,7 +485,11 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 nParameterIndex,
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
checkDisposed
(
OStatementCommonBase_Base
::
rBHelper
.
bDisposed
);
#if SAL_TYPES_SIZEOFPOINTER == 8
isc_blob_handle
aBlobHandle
=
0
;
#else
isc_blob_handle
aBlobHandle
=
nullptr
;
#endif
ISC_QUAD
aBlobId
;
openBlobForWriting
(
aBlobHandle
,
aBlobId
);
...
...
@@ -585,7 +589,11 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 nParameterIndex,
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
checkDisposed
(
OStatementCommonBase_Base
::
rBHelper
.
bDisposed
);
#if SAL_TYPES_SIZEOFPOINTER == 8
isc_blob_handle
aBlobHandle
=
0
;
#else
isc_blob_handle
aBlobHandle
=
nullptr
;
#endif
ISC_QUAD
aBlobId
;
openBlobForWriting
(
aBlobHandle
,
aBlobId
);
...
...
connectivity/source/drivers/firebird/StatementCommonBase.cxx
Dosyayı görüntüle @
3fecccad
...
...
@@ -47,7 +47,11 @@ OStatementCommonBase::OStatementCommonBase(Connection* _pConnection)
:
OStatementCommonBase_Base
(
m_aMutex
),
OPropertySetHelper
(
OStatementCommonBase_Base
::
rBHelper
),
m_pConnection
(
_pConnection
),
m_aStatementHandle
(
0
)
#if SAL_TYPES_SIZEOFPOINTER == 8
m_aStatementHandle
(
0
)
#else
m_aStatementHandle
(
nullptr
)
#endif
{
}
...
...
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