summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-06-11 19:24:03 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-06-11 19:24:03 +0200
commit0acd0ed3a58698a34e11dd82f3368a983f8530df (patch)
tree00078e58c7f939e4ee3fc76d08a1b2b6c026cfd6 /connectivity
parenta5658d3f8954997ea5b2eaaec5d0d6b9405a24f3 (diff)
Related fdo#79714 OSX-crash opening query or table in embedded Firebird ODB
See https://bugs.freedesktop.org/attachment.cgi?id=100839 and other comments Change-Id: I1187b171caf54997f5e8850ade4a3fb35ad9ec29
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/StatementCommonBase.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
index 381b14bde1de..49415fac4954 100644
--- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx
+++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx
@@ -194,6 +194,7 @@ void OStatementCommonBase::prepareAndDescribeStatement(const OUString& sql,
free(pOutSqlda);
pOutSqlda = (XSQLDA*) malloc(XSQLDA_LENGTH(n));
pOutSqlda->version = SQLDA_VERSION1;
+ pOutSqlda->sqln = n;
aErr = isc_dsql_describe(m_statusVector,
&m_aStatementHandle,
1,