]> granicus.if.org Git - pdns/commitdiff
Use proper conversion in oracle backend
authorAki Tuomi <cmouse@desteem.org>
Fri, 11 Dec 2015 16:02:02 +0000 (18:02 +0200)
committerAki Tuomi <cmouse@desteem.org>
Mon, 21 Dec 2015 12:52:49 +0000 (14:52 +0200)
modules/goraclebackend/soracle.cc

index c5142acea8d55c9dec3b11a0b2a9d1aea2bbcc4d..75c99981096d62ca6ba98ad7492f53ea17cb9312 100644 (file)
@@ -467,7 +467,7 @@ SOracle::~SOracle()
 }
 
 void SOracle::startTransaction() {
-  std::string cmd = "SET TRANSACTION NAME '" + boost::lexical_cast<std::string>(s_txid++) + "'";
+  std::string cmd = "SET TRANSACTION NAME '" + std::to_string(s_txid++) + "'";
   execute(cmd);
 }