Blob Blame Raw
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 14 Aug 2012 15:43:46 +0400
Subject: [PATCH] [db_oracle] Fix default ret result

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/modules/db_oracle/res.c b/modules/db_oracle/res.c
index a693524..6866e4b 100644
--- a/modules/db_oracle/res.c
+++ b/modules/db_oracle/res.c
@@ -213,8 +213,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 */