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
76baa45a
Commit
76baa45a
authored
Jul 26, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement SQL inner joins.
parent
37bf7224
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
Makefile.in
dlls/msi/Makefile.in
+1
-0
join.c
dlls/msi/join.c
+0
-0
query.h
dlls/msi/query.h
+4
-0
sql.y
dlls/msi/sql.y
+5
-1
No files found.
dlls/msi/Makefile.in
View file @
76baa45a
...
...
@@ -24,6 +24,7 @@ C_SRCS = \
helpers.c
\
insert.c
\
install.c
\
join.c
\
msi.c
\
msi_main.c
\
msiquery.c
\
...
...
dlls/msi/join.c
0 → 100644
View file @
76baa45a
This diff is collapsed.
Click to expand it.
dlls/msi/query.h
View file @
76baa45a
...
...
@@ -117,6 +117,10 @@ UINT UPDATE_CreateView( MSIDATABASE *db, MSIVIEW **, LPWSTR table,
UINT
DELETE_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
MSIVIEW
*
table
);
UINT
JOIN_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
,
LPCWSTR
left
,
LPCWSTR
right
,
struct
expr
*
cond
);
int
sqliteGetToken
(
const
WCHAR
*
z
,
int
*
tokenType
);
#endif
/* __WINE_MSI_QUERY_H */
dlls/msi/sql.y
View file @
76baa45a
...
...
@@ -406,7 +406,11 @@ multifrom:
| TK_FROM table TK_COMMA table TK_WHERE expr
{
SQL_input* sql = (SQL_input*) info;
FIXME("join query %s\n", debugstr_w(sql->command));
UINT r;
/* only support inner joins on two tables */
r = JOIN_CreateView( sql->db, &$$, $2, $4, $6 );
if( r != ERROR_SUCCESS )
YYABORT;
}
;
...
...
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