Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
39bcc662
Commit
39bcc662
authored
Oct 23, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Oct 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Don't delete the table if the table deleted itself because of a release.
parent
b6cfc405
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
alter.c
dlls/msi/alter.c
+8
-2
No files found.
dlls/msi/alter.c
View file @
39bcc662
...
...
@@ -145,13 +145,18 @@ static UINT alter_add_column(MSIALTERVIEW *av)
static
UINT
ALTER_execute
(
struct
tagMSIVIEW
*
view
,
MSIRECORD
*
record
)
{
MSIALTERVIEW
*
av
=
(
MSIALTERVIEW
*
)
view
;
UINT
ref
;
TRACE
(
"%p %p
\n
"
,
av
,
record
);
if
(
av
->
hold
==
1
)
av
->
table
->
ops
->
add_ref
(
av
->
table
);
else
if
(
av
->
hold
==
-
1
)
av
->
table
->
ops
->
release
(
av
->
table
);
{
ref
=
av
->
table
->
ops
->
release
(
av
->
table
);
if
(
ref
==
0
)
av
->
table
=
NULL
;
}
if
(
av
->
colinfo
)
return
alter_add_column
(
av
);
...
...
@@ -202,7 +207,8 @@ static UINT ALTER_delete( struct tagMSIVIEW *view )
MSIALTERVIEW
*
av
=
(
MSIALTERVIEW
*
)
view
;
TRACE
(
"%p
\n
"
,
av
);
av
->
table
->
ops
->
delete
(
av
->
table
);
if
(
av
->
table
)
av
->
table
->
ops
->
delete
(
av
->
table
);
msi_free
(
av
);
return
ERROR_SUCCESS
;
...
...
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