diff options
author | krion <krion@FreeBSD.org> | 2004-01-16 14:01:40 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-16 14:01:40 +0000 |
commit | 7b2bce80cbe22cf780225d759a03b053329c463b (patch) | |
tree | 607395b1a20f03c8cb919bc3a337d13dcd490396 /databases/unixODBC | |
parent | c1a7ba823a0a17247beeb35a45020f6bf67e9898 (diff) | |
download | FreeBSD-ports-7b2bce80cbe22cf780225d759a03b053329c463b.zip FreeBSD-ports-7b2bce80cbe22cf780225d759a03b053329c463b.tar.gz |
- 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
Diffstat (limited to 'databases/unixODBC')
-rw-r--r-- | databases/unixODBC/Makefile | 1 | ||||
-rw-r--r-- | databases/unixODBC/files/patch-DataManager::SQLMoreResults.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile index a595393..91f4dcb 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 0000000..cba763b --- /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 ) |