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
dfa1b129
Commit
dfa1b129
authored
Jul 09, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Jul 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Match the changes made by the hand-generated and API-generated transforms.
parent
3ea31cb2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
db.c
dlls/msi/tests/db.c
+5
-5
No files found.
dlls/msi/tests/db.c
View file @
dfa1b129
...
...
@@ -1872,7 +1872,7 @@ static const WCHAR data5[] = { /* _StringPool */
/* update row, 0x0002 is a bitmask of present column data, keys are excluded */
static
const
WCHAR
data6
[]
=
{
/* MOO */
0x0002
,
0x8001
,
0x0001
,
/* update row */
0x0000
,
0x800
2
,
/* delete row */
0x0000
,
0x800
3
,
/* delete row */
};
static
const
WCHAR
data7
[]
=
{
/* BINARY */
...
...
@@ -2037,14 +2037,14 @@ static void test_try_transform(void)
/* check unchanged value */
hrec
=
0
;
query
=
"select `NOO`,`OOO` from `MOO` where `NOO` =
3 AND `OOO` = 'c
'"
;
query
=
"select `NOO`,`OOO` from `MOO` where `NOO` =
2 AND `OOO` = 'b
'"
;
r
=
do_query
(
hdb
,
query
,
&
hrec
);
ok
(
r
==
ERROR_SUCCESS
,
"select query failed
\n
"
);
MsiCloseHandle
(
hrec
);
/* check deleted value */
hrec
=
0
;
query
=
"select * from `MOO` where `NOO` =
2
"
;
query
=
"select * from `MOO` where `NOO` =
3
"
;
r
=
do_query
(
hdb
,
query
,
&
hrec
);
ok
(
r
==
ERROR_NO_MORE_ITEMS
,
"select query failed
\n
"
);
if
(
hrec
)
MsiCloseHandle
(
hrec
);
...
...
@@ -2089,12 +2089,12 @@ static void test_try_transform(void)
ok
(
r
==
ERROR_SUCCESS
,
"view fetch failed
\n
"
);
r
=
MsiRecordGetInteger
(
hrec
,
1
);
ok
(
r
==
3
,
"Expected 3
, got %d
\n
"
,
r
);
ok
(
r
==
2
,
"Expected 2
, got %d
\n
"
,
r
);
sz
=
sizeof
buffer
;
r
=
MsiRecordGetString
(
hrec
,
2
,
buffer
,
&
sz
);
ok
(
r
==
ERROR_SUCCESS
,
"record get string failed
\n
"
);
ok
(
!
lstrcmpA
(
buffer
,
"
c
"
),
"Expected b, got %s
\n
"
,
buffer
);
ok
(
!
lstrcmpA
(
buffer
,
"
b
"
),
"Expected b, got %s
\n
"
,
buffer
);
MsiCloseHandle
(
hrec
);
...
...
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