Code not compiling since 19d5486 due to concatenate operators in macros - Mailing list pgsql-odbc

From Michael Paquier
Subject Code not compiling since 19d5486 due to concatenate operators in macros
Date
Msg-id CAB7nPqRaeqi-dfw8xy9pXEYM6UL6LqJmTcn+BjJdqi=gqU2=Nw@mail.gmail.com
Whole thread Raw
Responses Re: Code not compiling since 19d5486 due to concatenate operators in macros
List pgsql-odbc
Hi all,
(resending patch as it looks that it was stuck in administration queue
of this ML...)

I noticed this morning that ODBC does not compile correctly since
commit 19d5486 due to some macros using concatenate operators used
with CORR_STRCPY and CORR_VALCPY in psqlodbc.c and connection.c.

In the case of CORR_VALCPY the macro simply needs to copy a field one
by one, and for CORR_STRCPY only a string is copied, so concatenate
operators are not necessary IMO. Please find a patch fixing that by
removing the unnecessary operators.
Regards,
--
Michael

Attachment

pgsql-odbc by date:

Previous
From: "Martin J. Evans"
Date:
Subject: SQLGetTypeInfo does not return COLUMN_SIZE
Next
From: Heikki Linnakangas
Date:
Subject: Re: Code not compiling since 19d5486 due to concatenate operators in macros