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
279f8158
Commit
279f8158
authored
Oct 19, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Integer columns can have the 'NOT NULL' modifier too.
parent
a66584e1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
database.c
dlls/msi/database.c
+3
-1
db.c
dlls/msi/tests/db.c
+3
-6
install.c
dlls/msi/tests/install.c
+2
-2
No files found.
dlls/msi/database.c
View file @
279f8158
...
...
@@ -388,7 +388,9 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
type
=
type_char
;
sprintfW
(
size
,
size_fmt
,
ptr
);
break
;
case
'I'
:
case
'i'
:
case
'i'
:
lstrcpyW
(
extra
,
type_notnull
);
case
'I'
:
if
(
len
==
2
)
type
=
type_int
;
else
...
...
dlls/msi/tests/db.c
View file @
279f8158
...
...
@@ -1433,17 +1433,14 @@ static void test_msiimport(void)
count
=
MsiRecordGetFieldCount
(
rec
);
ok
(
count
==
9
,
"Expected 9, got %d
\n
"
,
count
);
ok
(
check_record
(
rec
,
1
,
"s255"
),
"Expected s255
\n
"
);
ok
(
check_record
(
rec
,
2
,
"i2"
),
"Expected i2
\n
"
);
ok
(
check_record
(
rec
,
3
,
"i2"
),
"Expected i2
\n
"
);
ok
(
check_record
(
rec
,
4
,
"I2"
),
"Expected I2
\n
"
);
ok
(
check_record
(
rec
,
5
,
"i4"
),
"Expected i4
\n
"
);
ok
(
check_record
(
rec
,
6
,
"I4"
),
"Expected I4
\n
"
);
ok
(
check_record
(
rec
,
7
,
"S255"
),
"Expected S255
\n
"
);
ok
(
check_record
(
rec
,
8
,
"S0"
),
"Expected S0
\n
"
);
ok
(
check_record
(
rec
,
9
,
"s0"
),
"Expected s0
\n
"
);
todo_wine
{
ok
(
check_record
(
rec
,
2
,
"i2"
),
"Expected i2
\n
"
);
ok
(
check_record
(
rec
,
3
,
"i2"
),
"Expected i2
\n
"
);
ok
(
check_record
(
rec
,
5
,
"i4"
),
"Expected i4
\n
"
);
}
MsiCloseHandle
(
rec
);
query
=
"SELECT * FROM `TestTable`"
;
...
...
dlls/msi/tests/install.c
View file @
279f8158
...
...
@@ -764,13 +764,13 @@ static void test_packagecoltypes(void)
count
=
MsiRecordGetFieldCount
(
rec
);
ok
(
r
==
ERROR_SUCCESS
,
"MsiViewGetColumnInfo failed
\n
"
);
ok
(
count
==
6
,
"Expected 6, got %d
\n
"
,
count
);
ok
(
check_record
(
rec
,
1
,
"i2"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
2
,
"i4"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
4
,
"S255"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
5
,
"S32"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
6
,
"S72"
),
"wrong column label
\n
"
);
todo_wine
{
ok
(
check_record
(
rec
,
1
,
"i2"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
2
,
"i4"
),
"wrong column label
\n
"
);
ok
(
check_record
(
rec
,
3
,
"L64"
),
"wrong column label
\n
"
);
}
...
...
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