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
23379b3b
Commit
23379b3b
authored
Apr 23, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add support for adding temporary/non-persistent data to tables.
parent
d8cd46ac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
99 additions
and
38 deletions
+99
-38
insert.c
dlls/msi/insert.c
+1
-1
msipriv.h
dlls/msi/msipriv.h
+1
-1
select.c
dlls/msi/select.c
+2
-2
table.c
dlls/msi/table.c
+95
-34
No files found.
dlls/msi/insert.c
View file @
23379b3b
...
...
@@ -132,7 +132,7 @@ static UINT INSERT_execute( struct tagMSIVIEW *view, MSIRECORD *record )
if
(
!
values
)
goto
err
;
r
=
sv
->
ops
->
insert_row
(
sv
,
values
);
r
=
sv
->
ops
->
insert_row
(
sv
,
values
,
iv
->
bIsTemp
);
err:
if
(
values
)
...
...
dlls/msi/msipriv.h
View file @
23379b3b
...
...
@@ -145,7 +145,7 @@ typedef struct tagMSIVIEWOPS
/*
* Inserts a new row into the database from the records contents
*/
UINT
(
*
insert_row
)(
struct
tagMSIVIEW
*
,
MSIRECORD
*
);
UINT
(
*
insert_row
)(
struct
tagMSIVIEW
*
,
MSIRECORD
*
,
BOOL
temporary
);
/*
* execute - loads the underlying data into memory so it can be read
...
...
dlls/msi/select.c
View file @
23379b3b
...
...
@@ -124,7 +124,7 @@ static UINT SELECT_set_row( struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, U
return
r
;
}
static
UINT
SELECT_insert_row
(
struct
tagMSIVIEW
*
view
,
MSIRECORD
*
record
)
static
UINT
SELECT_insert_row
(
struct
tagMSIVIEW
*
view
,
MSIRECORD
*
record
,
BOOL
temporary
)
{
MSISELECTVIEW
*
sv
=
(
MSISELECTVIEW
*
)
view
;
UINT
i
,
table_cols
,
r
;
...
...
@@ -149,7 +149,7 @@ static UINT SELECT_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
goto
fail
;
}
r
=
sv
->
table
->
ops
->
insert_row
(
sv
->
table
,
outrec
);
r
=
sv
->
table
->
ops
->
insert_row
(
sv
->
table
,
outrec
,
temporary
);
fail:
msiobj_release
(
&
outrec
->
hdr
);
...
...
dlls/msi/table.c
View file @
23379b3b
This diff is collapsed.
Click to expand it.
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