[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 19:30:15 UTC 2018


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

--- Comment #23 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Lionel Elie Mamane from comment #22)
> (In reply to Julien Nabet from comment #21)
> > (In reply to Lionel Elie Mamane from comment #17)
> 
...
> This means the difference is in LibreOffice, and it is LibreOffice that adds
> the "1", "2", "3", etc to duplicate names
> ...
> The two lines
>     if ( m_pColumns->hasByName( sName ) )
>         sName = ::dbtools::createUniqueName( m_pColumns.get(), sName );
> seem to be exactly what needs to be added to OPreparedStatement::getColumns
I tested this and it indeed worked!
I updated the patch (code + comment) on gerrit as you may have seen.

-- 
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/4bac454f/attachment.html>


More information about the Libreoffice-bugs mailing list