From fcba5d0d1cdd052ed0c960d435d5dcb62d22840d Mon Sep 17 00:00:00 2001 From: Rob Mensching <rob@firegiant.com> Date: Wed, 22 May 2019 10:53:00 -0700 Subject: Correctly set nullable row columns --- src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index e1781daf..3d9fcf48 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -870,7 +870,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind switch (column.Type) { case ColumnType.Number: - row[i + rowOffset] = tuple.AsNumber(i); + row[i + rowOffset] = column.Nullable ? tuple.AsNullableNumber(i) : tuple.AsNumber(i); break; default: -- cgit v1.2.3-55-g6feb