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
157466da
Commit
157466da
authored
Oct 27, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql/tests: Remove DSN on cleanup.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7267a229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
provider.c
dlls/msdasql/tests/provider.c
+13
-0
No files found.
dlls/msdasql/tests/provider.c
View file @
157466da
...
...
@@ -241,9 +241,22 @@ static void setup_database(void)
static
void
cleanup_database
(
void
)
{
BOOL
ret
;
if
(
winetest_interactive
)
return
;
ret
=
SQLConfigDataSource
(
NULL
,
ODBC_REMOVE_DSN
,
"Microsoft Access Driver (*.mdb)"
,
"DSN=wine_test
\0\0
"
);
if
(
!
ret
)
{
DWORD
code
;
char
buffer
[
1024
];
WORD
size
;
SQLInstallerError
(
1
,
&
code
,
buffer
,
sizeof
(
buffer
),
&
size
);
trace
(
"code %d, buffer %s, size %d
\n
"
,
code
,
debugstr_a
(
buffer
),
size
);
}
DeleteFileA
(
mdbpath
);
}
...
...
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