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
d70db020
Commit
d70db020
authored
Jun 05, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jun 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: An empty string is equivalent to nil, so handle this in the optimised WHERE_execute path.
parent
c9779ca1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
where.c
dlls/msi/where.c
+6
-0
No files found.
dlls/msi/where.c
View file @
d70db020
...
...
@@ -265,12 +265,18 @@ static UINT WHERE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
if
((
col_cond
->
type
==
EXPR_COL_NUMBER_STRING
)
&&
(
val_cond
->
type
==
EXPR_SVAL
))
{
col
=
col_cond
->
u
.
col_number
;
/* special case for "" - translate it into nil */
if
(
!
val_cond
->
u
.
sval
[
0
])
value
=
0
;
else
{
r
=
msi_string2idW
(
wv
->
db
->
strings
,
val_cond
->
u
.
sval
,
&
value
);
if
(
r
!=
ERROR_SUCCESS
)
{
TRACE
(
"no id for %s, assuming it doesn't exist in the table
\n
"
,
debugstr_w
(
wv
->
cond
->
u
.
expr
.
right
->
u
.
sval
));
return
ERROR_SUCCESS
;
}
}
do
{
...
...
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