8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 12:03:02 +01:00

Leave this clause in two lines for easier debugging, please.

This commit is contained in:
robocop 2010-02-08 07:57:08 +00:00
parent b410ae10a9
commit be4ecc52c6

View File

@ -188,7 +188,8 @@ void makePermanentVector(ISC_STATUS* perm, const ISC_STATUS* trans, FB_THREAD_ID
case isc_arg_sql_state: case isc_arg_sql_state:
{ {
const char* temp = reinterpret_cast<char*>(*trans++); const char* temp = reinterpret_cast<char*>(*trans++);
*perm++ = (ISC_STATUS)(IPTR) (allStrings->alloc(temp, strlen(temp), thr)); size_t len = strlen(temp);
*perm++ = (ISC_STATUS)(IPTR) (allStrings->alloc(temp, len, thr));
} }
break; break;
default: default: