Get rid of redunant SQL_FOREACH declarations.

This commit is contained in:
Arthur Britto
2012-06-14 18:42:46 -07:00
parent 70970d8042
commit f9637e36bf
3 changed files with 3 additions and 14 deletions

View File

@@ -11,10 +11,6 @@
#include <boost/format.hpp>
#include <boost/algorithm/string.hpp>
#define SQL_FOREACH(_db, _strQuery) \
if ((_db)->executeSQL(_strQuery)) \
for (bool _bMore = (_db)->startIterRows(); _bMore; _bMore = (_db)->getNextRow())
void splitIpPort(const std::string& strIpPort, std::string& strIp, int& iPort)
{
std::vector<std::string> vIpPort;