Skip to content

Commit 97c5fc8

Browse files
committed
Whitespace
1 parent 408042e commit 97c5fc8

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/njs/src/njsConnection.cpp

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2994,21 +2994,22 @@ void Connection::cbDynBufferAllocate ( void *ctx, bool dmlReturning,
29942994

29952995
case dpi::DpiTimestampLTZ:
29962996
{
2997-
if ( NJS_SIZE_T_OVERFLOW ( sizeof ( long double ), nRows) )
2998-
{
2999-
executeBaton->error = NJSMessages::getErrorMsg( errResultsTooLarge );
3000-
return;
3001-
}
3002-
else
3003-
{
3004-
bind->extvalue = (long double *) malloc ( sizeof ( long double ) * nRows );
3005-
if( !bind->extvalue )
2997+
if ( NJS_SIZE_T_OVERFLOW ( sizeof ( long double ), nRows) )
30062998
{
3007-
executeBaton->error = NJSMessages::getErrorMsg(
3008-
errInsufficientMemory);
2999+
executeBaton->error = NJSMessages::getErrorMsg( errResultsTooLarge );
30093000
return;
30103001
}
3011-
}
3002+
else
3003+
{
3004+
bind->extvalue = (long double *) malloc ( sizeof ( long double ) *
3005+
nRows );
3006+
if( !bind->extvalue )
3007+
{
3008+
executeBaton->error = NJSMessages::getErrorMsg(
3009+
errInsufficientMemory);
3010+
return;
3011+
}
3012+
}
30123013
// needed to post-process DML RETURNING of TimestampLTZ
30133014
// rowsReturns for INSERT will be zero,
30143015
// but we still need to allocate one descriptor

0 commit comments

Comments
 (0)