From 12cd719327475fca325546694d61fab5d396eca4 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Sun, 16 Jan 2011 16:45:22 +0000 Subject: [PATCH] Misc --- src/yvalve/why.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/yvalve/why.cpp b/src/yvalve/why.cpp index 86d35a5bd4..8a82776090 100644 --- a/src/yvalve/why.cpp +++ b/src/yvalve/why.cpp @@ -1043,7 +1043,7 @@ namespace if (fb_shutdown(SHUTDOWN_TIMEOUT, fb_shutrsn_signal) == FB_SUCCESS) { InstanceControl::registerShutdown(0); - break;//exit(0); + break; //exit(0); } } @@ -3420,10 +3420,10 @@ ISC_STATUS API_ROUTINE isc_dsql_prepare_m(ISC_STATUS* user_status, tra = transaction->handle; } - IStatement* newStatement = statement->handle-> - prepare(&status, tra, length, string, dialect, - item_length, reinterpret_cast(items), - buffer_length, reinterpret_cast(buffer)); + IStatement* newStatement = statement->handle->prepare(&status, tra, length, string, + dialect, item_length, reinterpret_cast(items), + buffer_length, reinterpret_cast(buffer)); + if (status.isSuccess()) { statement->handle = newStatement; @@ -4320,7 +4320,7 @@ ISC_STATUS API_ROUTINE isc_service_attach(ISC_STATUS* user_status, Service service(0); StatusVector temp(NULL); StatusVector status(user_status); - IService* handle = 0; + IService* handle = NULL; try {