Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
92cc0bc0
Commit
92cc0bc0
authored
Oct 06, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Work around what appears to be a bug in native MSI's generation of transform data.
parent
f53ba3ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
table.c
dlls/msi/table.c
+15
-0
No files found.
dlls/msi/table.c
View file @
92cc0bc0
...
...
@@ -1830,6 +1830,7 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
MSITABLEVIEW
*
tv
=
NULL
;
UINT
r
,
n
,
sz
,
i
,
mask
;
MSIRECORD
*
rec
=
NULL
;
UINT
colcol
=
0
;
TRACE
(
"%p %p %p %s
\n
"
,
db
,
stg
,
st
,
debugstr_w
(
name
)
);
...
...
@@ -1911,6 +1912,20 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
if
(
rawdata
[
n
]
&
1
)
{
TRACE
(
"insert [%d]: "
,
row
);
/*
* Native msi seems writes nul into the
* Number (2nd) column of the _Columns table.
* Not sure that it's deliberate...
*/
if
(
!
lstrcmpW
(
name
,
szColumns
))
{
if
(
MSI_RecordIsNull
(
rec
,
2
)
)
MSI_RecordSetInteger
(
rec
,
2
,
++
colcol
);
else
ERR
(
"_Columns has non-null data...
\n
"
);
}
TABLE_insert_row
(
&
tv
->
view
,
rec
);
}
else
if
(
mask
&
0xff
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment