https://bugs.documentfoundation.org/show_bug.cgi?id=130595
Julien Nabet <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #6 from Julien Nabet <[email protected]> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs