Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/my_result2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ DECLARE_TEST(t_bookmark)
{
SQLLEN len= 0;
SQLINTEGER abookmark[4];
SQLINTEGER outlen;
SQLLEN outlen;
SQLUSMALLINT rowStatus[4];
SQLUINTEGER numRowsFetched;
SQLINTEGER nData[4];
Expand Down
3 changes: 2 additions & 1 deletion test/odbctap.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>

#ifdef _WIN32
/* Driver does that - applications should do that too, to have same size of structures */
Expand Down Expand Up @@ -597,7 +598,7 @@ do { \
*/
#define is_wstr(a, b, c) \
do { \
SQLWCHAR *val_a= (a), *val_b= (b); \
wchar_t *val_a= (a), *val_b= (b); \
int val_len= (int)(c); \
if (memcmp(val_a, val_b, val_len * sizeof(SQLWCHAR)) != 0) { \
printf("# %s ('%*ls') != '%*ls' in %s on line %d\n", \
Expand Down