<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><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> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - firebird direct connector fails to display tables with some multi-field primary key in Base."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130334">bug 130334</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>serval2412@yahoo.fr
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - firebird direct connector fails to display tables with some multi-field primary key in Base."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130334#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - firebird direct connector fails to display tables with some multi-field primary key in Base."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130334">bug 130334</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>On Win10 with master sources updated today, I gave a new try.
Personal note:
- in DB wizard, use "connect to an existing database"
- select Firebird file
- click "Browse..."
- select fdb file
and validate.
Then, on Windows only because it works directly on Linux:
- Menu Edit/Database/Property
- Replace file:///...
by Replace file://...
I had an assertion (because I use debug option) for these 2 tables.
The problem isn't multiprimary key but the use of SQL_ARRAY which isn't
implemented at some locations:
-
<a href="https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Util.cxx?r=1dd9200b#313">https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Util.cxx?r=1dd9200b#313</a>
-
<a href="https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Util.cxx?r=1dd9200b#370">https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Util.cxx?r=1dd9200b#370</a>
However, I noticed in
<a href="https://firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-datatypes-bnrytypes.html#fblangref25-datatypes-array">https://firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-datatypes-bnrytypes.html#fblangref25-datatypes-array</a>
that an Array was in fact a BLOB, extract:
"Arrays in Firebird are stored in BLOB of a specialized type"
Considering this can be treated as a BLOB, I changed locally the 2 elements I
quoted and I could open the tables.</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>