[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 17 13:30:42 UTC 2019
connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e0ccbe72ed6eb0d309ed272a78fd67a512acff5d
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Apr 17 14:04:45 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Apr 17 15:26:09 2019 +0200
Fix use of variable before its lifetime begins
This has been broken with 48314f25241e014a634dd5371543b90137ffd2bc "improve
function-local statics in basic..cui" (and has been found with a new plugin to
be commited).
Change-Id: I518360e3273af9db4a8560a89bc8a789410c8033
Reviewed-on: https://gerrit.libreoffice.org/70875
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index f9bd2a2546df..28c2e71a9d1b 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -976,7 +976,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
aRow[12] = new ORowSetValueDecorator(false); // Autoincrement
aRow[14] = ODatabaseMetaDataResultSet::get0Value(); // Minimum scale
aRow[15] = ODatabaseMetaDataResultSet::get0Value(); // Max scale
- aResults.push_back(aRow);
+ tmp.push_back(aRow);
// SQL_TYPE_DATE
aRow[1] = new ORowSetValueDecorator(OUString("DATE"));
More information about the Libreoffice-commits
mailing list