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
abb23d8b
Commit
abb23d8b
authored
Nov 12, 2009
by
Nathan Gallaher
Committed by
Alexandre Julliard
Nov 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Support _Streams, _Storages tablename prefixes in SELECT.
parent
f7ba4b2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
storages.c
dlls/msi/storages.c
+11
-0
streams.c
dlls/msi/streams.c
+11
-0
No files found.
dlls/msi/storages.c
View file @
abb23d8b
...
...
@@ -296,6 +296,7 @@ static UINT STORAGES_get_column_info(struct tagMSIVIEW *view, UINT n,
static
const
WCHAR
Name
[]
=
{
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
Data
[]
=
{
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
_Storages
[]
=
{
'_'
,
'S'
,
't'
,
'o'
,
'r'
,
'a'
,
'g'
,
'e'
,
's'
,
0
};
TRACE
(
"(%p, %d, %p, %p, %p, %p)
\n
"
,
view
,
n
,
name
,
type
,
temporary
,
table_name
);
...
...
@@ -322,6 +323,16 @@ static UINT STORAGES_get_column_info(struct tagMSIVIEW *view, UINT n,
if
(
!*
name
)
return
ERROR_FUNCTION_FAILED
;
}
if
(
table_name
)
{
*
table_name
=
strdupW
(
_Storages
);
if
(
!*
table_name
)
{
msi_free
(
name
);
return
ERROR_FUNCTION_FAILED
;
}
}
if
(
temporary
)
*
temporary
=
FALSE
;
...
...
dlls/msi/streams.c
View file @
abb23d8b
...
...
@@ -262,6 +262,7 @@ static UINT STREAMS_get_column_info(struct tagMSIVIEW *view, UINT n,
static
const
WCHAR
Name
[]
=
{
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
Data
[]
=
{
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
_Streams
[]
=
{
'_'
,
'S'
,
't'
,
'r'
,
'e'
,
'a'
,
'm'
,
's'
,
0
};
TRACE
(
"(%p, %d, %p, %p, %p, %p)
\n
"
,
view
,
n
,
name
,
type
,
temporary
,
table_name
);
...
...
@@ -288,6 +289,16 @@ static UINT STREAMS_get_column_info(struct tagMSIVIEW *view, UINT n,
if
(
!*
name
)
return
ERROR_FUNCTION_FAILED
;
}
if
(
table_name
)
{
*
table_name
=
strdupW
(
_Streams
);
if
(
!*
table_name
)
{
msi_free
(
name
);
return
ERROR_FUNCTION_FAILED
;
}
}
if
(
temporary
)
*
temporary
=
FALSE
;
...
...
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