summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/KeySet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 0497ec322599..42b0c62223cc 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -696,7 +696,7 @@ void OKeySet::executeInsert( const ORowSetRow& _rInsertRow,const OUString& i_sSQ
{
if ( !(_rInsertRow->get())[aIter->second.nPosition].isModified() )
{
- if(aIter->second.bNullable)
+ if(aIter->second.bNullable && aIter->second.sDefaultValue.isEmpty())
{
(_rInsertRow->get())[aIter->second.nPosition].setTypeKind(aIter->second.nType);
(_rInsertRow->get())[aIter->second.nPosition].setNull();