Blob Blame Raw
From 69108e1ee4727b4c70e76b6d97e3a9402a98711d Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 14 Aug 2012 15:43:46 +0400
Subject: [PATCH 6/8] [db_oracle] Fix default ret result

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 modules/db_oracle/res.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/db_oracle/res.c b/modules/db_oracle/res.c
index 2c625f8..22f10ee 100644
--- a/modules/db_oracle/res.c
+++ b/modules/db_oracle/res.c
@@ -215,8 +215,8 @@ set_int:
 		case SQLT_AFC:		/* Ansi fixed char */
 		case SQLT_AVC:		/* Ansi Var char */
 //		case SQLT_RID:		/* rowid */
-			LM_DBG("use DB_STR result type\n");
-			RES_TYPES(_r)[i] = DB_STR;
+			LM_DBG("use DB_STRING result type\n");
+			RES_TYPES(_r)[i] = DB_STRING;
 dyn_str:
 			dtype = SQLT_CHR;
 			len = 0; /* DATA_SIZE is ub2 */
-- 
1.8.1