<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Firebird: empty columns gone with prepared statement"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116890#c23">Comment # 23</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Firebird: empty columns gone with prepared statement"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116890">bug 116890</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>(In reply to Lionel Elie Mamane from <a href="show_bug.cgi?id=116890#c22">comment #22</a>)
<span class="quote">> (In reply to Julien Nabet from <a href="show_bug.cgi?id=116890#c21">comment #21</a>)
> > (In reply to Lionel Elie Mamane from <a href="show_bug.cgi?id=116890#c17">comment #17</a>)
> </span >
...
<span class="quote">> 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</span >
I tested this and it indeed worked!
I updated the patch (code + comment) on gerrit as you may have seen.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>