From 6599b7dfc358c380223cc3e39c72b6eaea81d766 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Thu, 10 Nov 2011 12:06:32 +0000 Subject: [PATCH] Fix the bug that the first fetch operation doesn't work properly when the operation is SQL_FETCH_ABSOLUTE or SQL_FETCH_LAST. --- statement.c | 2 +- version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/statement.c b/statement.c index 5da38b3..c1d04a9 100644 --- a/statement.c +++ b/statement.c @@ -590,7 +590,7 @@ inolog(":QR is %s", QR_has_valid_base(res) ? "valid" : "unknown"); if (start < 0) QR_set_rowstart_in_cache(res, -1); else - QR_set_rowstart_in_cache(res, 0); + QR_set_rowstart_in_cache(res, start); } if (!QR_get_cursor(res)) res->key_base = start; diff --git a/version.h b/version.h index d8b358c..fd4791d 100644 --- a/version.h +++ b/version.h @@ -12,6 +12,6 @@ #define POSTGRESDRIVERVERSION "09.00.0311" #define POSTGRES_RESOURCE_VERSION "09.00.0311\0" #define PG_DRVFILE_VERSION 9,0,03,11 -#define PG_BUILD_VERSION "201110310001" +#define PG_BUILD_VERSION "201111100001" #endif -- 2.39.5