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
1b443bd5
Commit
1b443bd5
authored
Nov 02, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql: Trace unsupported rowset interfaces.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c56b4389
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
session.c
dlls/msdasql/session.c
+15
-0
provider.c
dlls/msdasql/tests/provider.c
+10
-0
No files found.
dlls/msdasql/session.c
View file @
1b443bd5
...
@@ -472,6 +472,21 @@ static HRESULT WINAPI msdasql_rowset_QueryInterface(IRowset *iface, REFIID riid,
...
@@ -472,6 +472,21 @@ static HRESULT WINAPI msdasql_rowset_QueryInterface(IRowset *iface, REFIID riid,
{
{
*
ppv
=
&
rowset
->
IColumnsRowset_iface
;
*
ppv
=
&
rowset
->
IColumnsRowset_iface
;
}
}
else
if
(
IsEqualGUID
(
&
IID_IRowsetChange
,
riid
))
{
TRACE
(
"IID_IRowsetChange not supported
\n
"
);
return
E_NOINTERFACE
;
}
else
if
(
IsEqualGUID
(
&
IID_IRowsetUpdate
,
riid
))
{
TRACE
(
"IID_IRowsetUpdate not supported
\n
"
);
return
E_NOINTERFACE
;
}
else
if
(
IsEqualGUID
(
&
IID_IRowsetLocate
,
riid
))
{
TRACE
(
"IID_IRowsetLocate not supported
\n
"
);
return
E_NOINTERFACE
;
}
if
(
*
ppv
)
if
(
*
ppv
)
{
{
...
...
dlls/msdasql/tests/provider.c
View file @
1b443bd5
...
@@ -228,6 +228,7 @@ static void test_rowset_interfaces(IRowset *rowset)
...
@@ -228,6 +228,7 @@ static void test_rowset_interfaces(IRowset *rowset)
IColumnsInfo
*
col_info
;
IColumnsInfo
*
col_info
;
IColumnsRowset
*
col_rs
;
IColumnsRowset
*
col_rs
;
IAccessor
*
accessor
;
IAccessor
*
accessor
;
IUnknown
*
unk
;
HRESULT
hr
;
HRESULT
hr
;
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IRowsetInfo
,
(
void
**
)
&
info
);
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IRowsetInfo
,
(
void
**
)
&
info
);
...
@@ -245,6 +246,15 @@ static void test_rowset_interfaces(IRowset *rowset)
...
@@ -245,6 +246,15 @@ static void test_rowset_interfaces(IRowset *rowset)
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IColumnsRowset
,
(
void
**
)
&
col_rs
);
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IColumnsRowset
,
(
void
**
)
&
col_rs
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
IColumnsRowset_Release
(
col_rs
);
IColumnsRowset_Release
(
col_rs
);
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IRowsetChange
,
(
void
**
)
&
unk
);
ok
(
hr
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IRowsetUpdate
,
(
void
**
)
&
unk
);
ok
(
hr
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IRowset_QueryInterface
(
rowset
,
&
IID_IRowsetLocate
,
(
void
**
)
&
unk
);
ok
(
hr
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
hr
);
}
}
static
void
test_command_rowset
(
IUnknown
*
cmd
)
static
void
test_command_rowset
(
IUnknown
*
cmd
)
...
...
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