summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/file
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-20 12:29:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-21 07:36:17 +0100
commit457aba546f43a4117c5c263028e35c8aaf9bc7f6 (patch)
treea43134bccc285f16584d1611cb14eb981fddfd37 /connectivity/source/drivers/file
parentuitest for bug tdf#91726 (diff)
downloadcore-457aba546f43a4117c5c263028e35c8aaf9bc7f6.tar.gz
core-457aba546f43a4117c5c263028e35c8aaf9bc7f6.zip
fix some dodgy static vars in connectivity
no good reason for these to be static, and likely they will cause trouble if this code is ever touched from multiple threads at the same time Change-Id: I3f29d3795bd1a059a75d0d1ab64b25478fd60121 Reviewed-on: https://gerrit.libreoffice.org/63662 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/file')
-rw-r--r--connectivity/source/drivers/file/FDatabaseMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
index 14b37131b679..1f44f23f1fe4 100644
--- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
@@ -390,7 +390,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
{
if(match(tableNamePattern,*pBegin,'\0'))
{
- static ODatabaseMetaDataResultSet::ORow aRow(8);
+ ODatabaseMetaDataResultSet::ORow aRow(8);
aRow[2] = new ORowSetValueDecorator(*pBegin);
aRow[6] = ODatabaseMetaDataResultSet::getSelectValue();