Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 22:30:08 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61421: Update port: databases/unixODBC
Message-ID:  <20040116223008.084c6b4f.tkato@prontomail.com>
Resent-Message-ID: <200401161340.i0GDeEVo068020@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61421
>Category:       ports
>Synopsis:       Update port: databases/unixODBC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 05:40:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Fix a bug in 2.2.7 that will send a statement to the incorrect state
  if SQLMoreResults is used

New file:
files/patch-DataManager::SQLMoreResults.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/databases/unixODBC/Makefile databases/unixODBC/Makefile
--- /usr/ports/databases/unixODBC/Makefile	Mon Dec  8 05:37:49 2003
+++ databases/unixODBC/Makefile	Tue Jan 13 23:24:14 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	unixODBC
 PORTVERSION=	2.2.7
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.unixodbc.org/
 
diff -urN /usr/ports/databases/unixODBC/files/patch-DataManager::SQLMoreResults.c databases/unixODBC/files/patch-DataManager::SQLMoreResults.c
--- /usr/ports/databases/unixODBC/files/patch-DataManager::SQLMoreResults.c	Thu Jan  1 09:00:00 1970
+++ databases/unixODBC/files/patch-DataManager::SQLMoreResults.c	Tue Jan 13 23:25:30 2004
@@ -0,0 +1,11 @@
+--- DriverManager/SQLMoreResults.c.orig	Fri Oct 31 03:20:46 2003
++++ DriverManager/SQLMoreResults.c	Tue Jan 13 23:25:00 2004
+@@ -262,7 +262,7 @@
+          * We don't know for sure
+          */
+         statement -> hascols = 0;
+-        statement -> state = STATE_S4;
++        statement -> state = STATE_S5;
+ #endif
+     }
+     else if ( ret == SQL_STILL_EXECUTING )
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040116223008.084c6b4f.tkato>