pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedFix compilation error with nmake introduced by 58ca764
2+ messages / 2 participants
[nested] [flat]
* Fix compilation error with nmake introduced by 58ca764
@ 2014-06-23 01:50 Michael Paquier <michael.paquier@gmail.com>
2014-06-23 07:56 ` Re: Fix compilation error with nmake introduced by 58ca764 Heikki Linnakangas <hlinnakangas@vmware.com>
0 siblings, 1 reply; 2+ messages in thread
From: Michael Paquier @ 2014-06-23 01:50 UTC (permalink / raw)
To: pgsql-odbc
Hi all,
It happens that since commit 58ca764 nmake compilation fails:
execute.c(1323) : error C2232: '->drivers' :
left operand has 'struct' type, use '.'
I noticed that because of some builds showing a red flag. The attached
patch fixes that.
Regards,
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Attachments:
20140623_pgodbc_fix_nmake_compile.patch (application/octet-stream, 797B) download
From 2126450a3fedec85a09ec44325c0f8b873956f8f Mon Sep 17 00:00:00 2001
From: Michael Paquier <michael@otacoo.com>
Date: Sun, 22 Jun 2014 18:44:00 -0700
Subject: [PATCH] Fix compilation error with nmake introduced by 58ca764
execute.c(1323) : error C2232: '->drivers' :
left operand has 'struct' type, use '.'
---
execute.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/execute.c b/execute.c
index f55914f..9afcdf7 100644
--- a/execute.c
+++ b/execute.c
@@ -1320,7 +1320,7 @@ PGAPI_Cancel(HSTMT hstmt) /* Statement to cancel. */
* the application.
*/
#ifdef WIN32
- if (conn->connInfo->drivers.cancel_as_freestmt)
+ if (conn->connInfo.drivers.cancel_as_freestmt)
{
typedef SQLRETURN (SQL_API *SQLAPIPROC)();
HMODULE hmodule;
--
1.9.2.msysgit.0
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Fix compilation error with nmake introduced by 58ca764
2014-06-23 01:50 Fix compilation error with nmake introduced by 58ca764 Michael Paquier <michael.paquier@gmail.com>
@ 2014-06-23 07:56 ` Heikki Linnakangas <hlinnakangas@vmware.com>
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Linnakangas @ 2014-06-23 07:56 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; pgsql-odbc
On 06/23/2014 04:50 AM, Michael Paquier wrote:
> Hi all,
>
> It happens that since commit 58ca764 nmake compilation fails:
> execute.c(1323) : error C2232: '->drivers' :
> left operand has 'struct' type, use '.'
> I noticed that because of some builds showing a red flag. The attached
> patch fixes that.
Oops. Thanks, fixed.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2014-06-23 07:56 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-23 01:50 Fix compilation error with nmake introduced by 58ca764 Michael Paquier <michael.paquier@gmail.com>
2014-06-23 07:56 ` Heikki Linnakangas <hlinnakangas@vmware.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox