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
26909848
Commit
26909848
authored
Nov 08, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql: IColumnsRowset::GetAvailableColumns return 3 meta columns to allow updating of a row.
parent
40251bff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
session.c
dlls/msdasql/session.c
+9
-1
No files found.
dlls/msdasql/session.c
View file @
26909848
...
@@ -1202,6 +1202,7 @@ static ULONG WINAPI column_rs_Release(IColumnsRowset *iface)
...
@@ -1202,6 +1202,7 @@ static ULONG WINAPI column_rs_Release(IColumnsRowset *iface)
static
HRESULT
WINAPI
column_rs_GetAvailableColumns
(
IColumnsRowset
*
iface
,
DBORDINAL
*
count
,
DBID
**
columns
)
static
HRESULT
WINAPI
column_rs_GetAvailableColumns
(
IColumnsRowset
*
iface
,
DBORDINAL
*
count
,
DBID
**
columns
)
{
{
struct
msdasql_rowset
*
rowset
=
impl_from_IColumnsRowset
(
iface
);
struct
msdasql_rowset
*
rowset
=
impl_from_IColumnsRowset
(
iface
);
const
DBORDINAL
extra_columns
=
3
;
TRACE
(
"%p, %p, %p
\n
"
,
rowset
,
count
,
columns
);
TRACE
(
"%p, %p, %p
\n
"
,
rowset
,
count
,
columns
);
...
@@ -1209,7 +1210,14 @@ static HRESULT WINAPI column_rs_GetAvailableColumns(IColumnsRowset *iface, DBORD
...
@@ -1209,7 +1210,14 @@ static HRESULT WINAPI column_rs_GetAvailableColumns(IColumnsRowset *iface, DBORD
return
E_INVALIDARG
;
return
E_INVALIDARG
;
*
count
=
0
;
*
count
=
0
;
*
columns
=
NULL
;
*
columns
=
CoTaskMemAlloc
(
sizeof
(
DBID
)
*
extra_columns
);
if
(
!*
columns
)
return
E_OUTOFMEMORY
;
*
count
=
extra_columns
;
*
columns
[
0
]
=
DBCOLUMN_BASETABLENAME
;
*
columns
[
1
]
=
DBCOLUMN_BASECOLUMNNAME
;
*
columns
[
2
]
=
DBCOLUMN_KEYCOLUMN
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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