Alistair Leslie-Hughes
50fc9d7ddc
msdasql: ICommandText Execute use ODBC to fetch results.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:57:26 +01:00
Alistair Leslie-Hughes
bdb7bb1022
msdasql/tests: Fix printf format warnings with long types.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 20:55:09 +01:00
Alistair Leslie-Hughes
35cf06c3e1
msdasql: Add ITransaction to session interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 20:55:04 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alistair Leslie-Hughes
7bdef00a75
msdasql: Add ITransactionJoin to session interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:57 +01:00
Alistair Leslie-Hughes
7491a7f13f
msdasql: Implement ICommandPrepare Prepare.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 12:37:41 +01:00
Alistair Leslie-Hughes
513feedff7
msdasql/tests: Test for ITransaction* interfaces on a session.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-24 21:44:51 +01:00
Francois Gouget
0ed15c56d1
msdasql/tests: Fix the spelling of the command_text variable.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-07 16:19:48 +01:00
Alistair Leslie-Hughes
109db990b9
msdasql: Implement IGetDataSource GetDataSource.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 16:04:39 +01:00
Alistair Leslie-Hughes
5f8e3a0c74
msdasql: Support NULL dialect in GetCommandText.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-16 10:10:05 +01:00
Alistair Leslie-Hughes
0d29647f07
msdasql: Add ICommandWithParameters to command interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-16 10:10:02 +01:00
Alistair Leslie-Hughes
26c4a1edc7
msdasql: Implement IRowsetInfo GetSpecification.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-15 18:40:30 +01:00
Alistair Leslie-Hughes
f43b312562
msdasql: IDBProperties doesn't support DBPROPSET_DATASOURCEINFO property set.
...
Native msado15 queries this to workout if interface IMultipleResults can
be used with CreateCommand.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 14:05:55 +01:00
Alistair Leslie-Hughes
b5c4d178a0
msdasql: Fix use after free (Coverity).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-08 17:35:09 +01:00
Alistair Leslie-Hughes
7d686c2263
msdasql: Trace session interfaces.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-08 17:34:53 +01:00
Alistair Leslie-Hughes
6e94e87994
msdasql: Implement IDBProperties GetProperties.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:24:27 +01:00
Alistair Leslie-Hughes
626f85f5f6
msdasql/tests: Add MSDASQL_ENUMERATOR tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 21:06:29 +01:00
Alistair Leslie-Hughes
1b443bd516
msdasql: Trace unsupported rowset interfaces.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
c56b43891f
msdasql: Add IColumnsRowset support to rowset.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
5edd674216
msdasql: Add IAccessor to rowset.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
60c97a57c2
msdasql: Support IColumnsInfo in Rowset.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
3c34f073c0
msdasql: Support IRowsetInfo in IRowset interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
6649396abe
msdasql: Correct ICommandText Execute test.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Alistair Leslie-Hughes
c0cf153751
msdasql: Return valid object from ICommandText Execute.
...
Until we query ODBC, we aren't able workout if we need a recordset
or not. As a start, always return an interface, this way we can
add the required interface for a rowset.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:12:02 +01:00
Alistair Leslie-Hughes
dd279bd015
msdasql: Implement ICommandText GetDBSession.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:12:00 +01:00
Alistair Leslie-Hughes
3dd785def7
msdasql: Implement ICommandText Get/Set CommandText.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:11:52 +01:00
Alistair Leslie-Hughes
22689f6f8a
msdasql: Add ICommandPrepare interface for ICommandText.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-31 17:11:46 +01:00
Alistair Leslie-Hughes
fed2ca76c1
msdasql: Add IConvertType interface for ICommandText.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:26:08 +02:00
Alistair Leslie-Hughes
d9e0dde2ca
msdasql: Add IColumnsInfo interface for ICommandText.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:26:02 +02:00
Alistair Leslie-Hughes
e18045a662
msdasql: Trace unsupported interfaces.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:25:51 +02:00
Alistair Leslie-Hughes
2f4e22d053
msdasql: Add ISessionProperties to session.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:31:06 +02:00
Alistair Leslie-Hughes
33563cf16f
msdasql: Add IGetDataSource support to session.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:30:46 +02:00
Alistair Leslie-Hughes
097bde4691
msdasql: Add IPersist interface support.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:43 +02:00
Alistair Leslie-Hughes
5bd1de641e
msdasql: Implement IDBProperties GetPropertyInfo.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Alistair Leslie-Hughes
157466da42
msdasql/tests: Remove DSN on cleanup.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Alistair Leslie-Hughes
35532015cb
msdasql/tests: Initial tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:47 +02:00