]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rebase: soracle: fix readability
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 19:35:05 +0000 (22:35 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 19:35:57 +0000 (22:35 +0300)
modules/goraclebackend/soracle.cc

index d9976a43fa10590d84c8ddb1996d7fcc5c2875d7..96d90ea9fcb73c75a9b454c2e8c3a88bb5dd0213 100644 (file)
@@ -347,9 +347,9 @@ private:
         throw SSqlException("Cannot prepare statement (1): " + d_query + string(": ") + OCIErrStr());
       }
       d_init = true;
-    } else d_init = false;
-
-
+    } else {
+      d_init = false;
+    }
 
     d_bind = new struct obind[d_parnum];
     memset(d_bind, 0, sizeof(struct obind)*d_parnum);
@@ -370,6 +370,7 @@ private:
         throw SSqlException("Cannot prepare statement (3): " + d_query + string(": ") + OCIErrStr());
       }
     }
+
     d_prepared = true;
   }