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
061085fa
Commit
061085fa
authored
Apr 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix joining a nonexistent table with another table.
parent
c48daf93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
join.c
dlls/msi/join.c
+2
-1
db.c
dlls/msi/tests/db.c
+5
-0
No files found.
dlls/msi/join.c
View file @
061085fa
...
...
@@ -341,7 +341,8 @@ UINT JOIN_CreateView( MSIDATABASE *db, MSIVIEW **view, LPWSTR tables )
r
=
TABLE_CreateView
(
db
,
tables
,
&
table
->
view
);
if
(
r
!=
ERROR_SUCCESS
)
{
ERR
(
"can't create table
\n
"
);
WARN
(
"can't create table: %s
\n
"
,
debugstr_w
(
tables
));
r
=
ERROR_BAD_QUERY_SYNTAX
;
goto
end
;
}
...
...
dlls/msi/tests/db.c
View file @
061085fa
...
...
@@ -3213,6 +3213,11 @@ static void test_join(void)
MsiViewClose
(
hview
);
MsiCloseHandle
(
hview
);
query
=
"SELECT * FROM `Nonexistent`, `One`"
;
r
=
MsiDatabaseOpenView
(
hdb
,
query
,
&
hview
);
ok
(
r
==
ERROR_BAD_QUERY_SYNTAX
,
"Expected ERROR_BAD_QUERY_SYNTAX, got %d
\n
"
,
r
);
MsiCloseHandle
(
hdb
);
DeleteFile
(
msifile
);
}
...
...
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