[Libreoffice-bugs] [Bug 116890] Firebird: empty columns gone with prepared statement

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 10 18:39:48 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116890

--- Comment #21 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Lionel Elie Mamane from comment #17)
> ...
> To be clear, the two cases are (in Gerhard's code):
> 
> oResult = oPrepStatement.executeQuery
> ccols = oPrepStatement.Columns
> 
> and
> 
> oResult = oPrepStatement.executeQuery
> ccols = oResult.Columns
> 
> In all cases, what you want to trace is
> connectivity::firebird::OResultSetMetaData::getColumnName
> It accesses
>  m_pSqlda->sqlvar[column-1].sqlname
> 
> If in one case, several columns have the same name "CONSTANT" and in the
> other case all columns have unique names like "CONSTANT", "CONSTANT1",
> "CONSTANT2", etc, then  we have definitely found the problem, it is in
> Firebird.
I got "CONSTANT" several times for both cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180410/7aa167d1/attachment-0001.html>


More information about the Libreoffice-bugs mailing list