X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Foracle.c;h=5997f199d2ce8d09e1dbb9460addeb714ee9cdbc;hb=0a49a7a4f1090b6f1ce1d0f9d969804c9226b53e;hp=1cd77a30219590a01de98d4a62ed1d71827ee5b8;hpb=c988f1f4faa9f679f79beddf3c14676c5dcb8e28;p=exim.git diff --git a/src/src/lookups/oracle.c b/src/src/lookups/oracle.c index 1cd77a302..5997f199d 100644 --- a/src/src/lookups/oracle.c +++ b/src/src/lookups/oracle.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/lookups/oracle.c,v 1.2 2005/01/04 10:00:44 ph10 Exp $ */ +/* $Cambridge: exim/src/src/lookups/oracle.c,v 1.6 2009/11/16 19:50:38 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2005 */ +/* Copyright (c) University of Cambridge 1995 - 2009 */ /* See the file NOTICE for conditions of use and distribution. */ /* Interface to an Oracle database. This code was originally supplied by @@ -42,9 +42,14 @@ static void dummy(int x) { dummy(x-1); } #define MAX_SELECT_LIST_SIZE 32 /* maximum number of columns (not rows!) */ /* Paul's comment on this was "change this to 512 for 64bit cpu", but I don't -understand why. The Oracle manual just asks for 256 bytes. */ +understand why. The Oracle manual just asks for 256 bytes. -#define HDA_SIZE 256 +That was years ago. Jin Choi suggested (March 2007) that this change should +be made in the source, as at worst it wastes 256 bytes, and it saves people +having to discover about this for themselves as more and more systems are +64-bit. So I have changed 256 to 512. */ + +#define HDA_SIZE 512 /* Internal/external datatype codes */