summaryrefslogtreecommitdiff
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-16 14:01:40 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-16 14:01:40 +0000
commit63dc6098d96bf48e05bdd3110d999e8673851749 (patch)
treed82bc31232302c12c34e53e83861b81d67f92ffa /databases/unixODBC
parent- Fix WWW: line (diff)
- Fix a bug in 2.2.7 that will send a statement to the
incorrect state if SQLMoreResults is used PR: 61421 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=98299
Diffstat (limited to 'databases/unixODBC')
-rw-r--r--databases/unixODBC/Makefile1
-rw-r--r--databases/unixODBC/files/patch-DataManager::SQLMoreResults.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index a59539378cf6..91f4dcbd281e 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -7,6 +7,7 @@
PORTNAME= unixODBC
PORTVERSION= 2.2.7
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.unixodbc.org/
diff --git a/databases/unixODBC/files/patch-DataManager::SQLMoreResults.c b/databases/unixODBC/files/patch-DataManager::SQLMoreResults.c
new file mode 100644
index 000000000000..cba763bd0d9d
--- /dev/null
+++ b/databases/unixODBC/files/patch-DataManager::SQLMoreResults.c
@@ -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 )