diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-27 14:23:39 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-27 14:23:39 -0800 |
| commit | 68075faa4a60e8016ea7653cfc1396cd00e3f646 (patch) | |
| tree | 4656616a3f1030620594ee38a280e4dab8ab9e8e /src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | |
| parent | 9813f0b4054ab0c003529699d1a467db90395980 (diff) | |
| download | wix-68075faa4a60e8016ea7653cfc1396cd00e3f646.tar.gz wix-68075faa4a60e8016ea7653cfc1396cd00e3f646.tar.bz2 wix-68075faa4a60e8016ea7653cfc1396cd00e3f646.zip | |
Integrate latest Data and Extensibility changes and build light.exe
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs index cc920ac2..3357db3e 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | |||
| @@ -219,7 +219,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 219 | // Import each row containing a stream | 219 | // Import each row containing a stream |
| 220 | foreach (Row row in table.Rows) | 220 | foreach (Row row in table.Rows) |
| 221 | { | 221 | { |
| 222 | using (Record record = new Record(table.Definition.Columns.Count)) | 222 | using (Record record = new Record(table.Definition.Columns.Length)) |
| 223 | { | 223 | { |
| 224 | StringBuilder streamName = new StringBuilder(); | 224 | StringBuilder streamName = new StringBuilder(); |
| 225 | bool needStream = false; | 225 | bool needStream = false; |
| @@ -230,7 +230,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 230 | streamName.Append(table.Name); | 230 | streamName.Append(table.Name); |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | for (int i = 0; i < table.Definition.Columns.Count; i++) | 233 | for (int i = 0; i < table.Definition.Columns.Length; i++) |
| 234 | { | 234 | { |
| 235 | ColumnDefinition columnDefinition = table.Definition.Columns[i]; | 235 | ColumnDefinition columnDefinition = table.Definition.Columns[i]; |
| 236 | 236 | ||
