<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 - Editing: Firebird: Table editor erroneously prompts to change CLOB field to a BLOB field during alter table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121553">bug 121553</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 - Editing: Firebird: Table editor erroneously prompts to change CLOB field to a BLOB field during alter table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121553#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Editing: Firebird: Table editor erroneously prompts to change CLOB field to a BLOB field during alter table"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121553">bug 121553</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>Lionel: I tried 2 ways to fix this:
1) In ODatabaseMetaData::getTypeInfo(), replace:
aRow[1] = new ORowSetValueDecorator(OUString("BLOB")); // BLOB, with subtype 1
by
aRow[1] = new ORowSetValueDecorator(OUString("CLOB")); // BLOB, with subtype 1
See
<a href="https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/DatabaseMetaData.cxx?r=1daeea3a#885">https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/DatabaseMetaData.cxx?r=1daeea3a#885</a>
2) In firebird::ColumnTypeInfo::getColumnTypeName()
Replace:
case DataType::CLOB:
return "CLOB";
by
case DataType::CLOB:
return "BLOB";
See connectivity/source/drivers/firebird/Util.cxx (not present in Opengrok yet
since the patch is recent).
But considering <a href="http://www.firebirdfaq.org/faq48/">http://www.firebirdfaq.org/faq48/</a>, if we want to stick to
Firebird naming, I think 2) should be chosen.
Now I must recognize it's not easy to think the impacts of each way.
Any thoughts?</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>