<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 (internal): Parameter query with :parameter IS NULL doesn't work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130595">bug 130595</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>lionel@mamane.lu
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FIREBIRD (internal): Parameter query with :parameter IS NULL doesn't work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130595#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FIREBIRD (internal): Parameter query with :parameter IS NULL doesn't work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130595">bug 130595</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: just for information, this patch makes it work:
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx
b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index 002723d9a697..7dd46226d028 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -240,6 +240,7 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32
nParameterIndex,
         setShort(nParameterIndex, int32Value);
         break;
     }
+    case SQL_NULL: break;
     default:
         ::dbtools::throwSQLException(
             "Incorrect type for setString",
diff --git a/connectivity/source/drivers/firebird/Util.cxx
b/connectivity/source/drivers/firebird/Util.cxx
index 020dffbf2076..6b67551975cc 100644
--- a/connectivity/source/drivers/firebird/Util.cxx
+++ b/connectivity/source/drivers/firebird/Util.cxx
@@ -325,7 +325,7 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda)
             pVar->sqldata = static_cast<char *>(malloc(sizeof(sal_Bool)));
             break;
         case SQL_NULL:
-            assert(false); // TODO: implement
+            //assert(false); // TODO: implement
             break;
         case SQL_QUAD:
             assert(false); // TODO: implement
@@ -370,7 +370,7 @@ void firebird::freeSQLVAR(XSQLDA* pSqlda)
             assert(false); // TODO: implement
             break;
         case SQL_NULL:
-            assert(false); // TODO: implement
+            //assert(false); // TODO: implement
             break;
         case SQL_QUAD:
             assert(false); // TODO: implement

but I don't think it's the right path.
Don't hesitate to comment.</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>