"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/godbcbackend/sodbc.cc" between
pdns-auth-4.1.13.tar.gz and pdns-auth-4.2.0.tar.gz

About: PowerDNS Authoritative Nameserver is a versatile nameserver which supports a large number of backends (that can either be plain zone files or be more dynamic in nature).

sodbc.cc  (pdns-auth-4.1.13):sodbc.cc  (pdns-auth-4.2.0)
skipping to change at line 192 skipping to change at line 192
return bind(name, p); return bind(name, p);
} }
SSqlStatement* execute() SSqlStatement* execute()
{ {
prepareStatement(); prepareStatement();
SQLRETURN result; SQLRETURN result;
// cerr<<"execute("<<d_query<<")"<<endl; // cerr<<"execute("<<d_query<<")"<<endl;
if (d_dolog) { if (d_dolog) {
L<<Logger::Warning<<"Query: "<<d_query<<endl; g_log<<Logger::Warning<<"Query: "<<d_query<<endl;
} }
result = SQLExecute(d_statement); result = SQLExecute(d_statement);
if(result != SQL_NO_DATA) // odbc+sqlite returns this on 'no rows updated' if(result != SQL_NO_DATA) // odbc+sqlite returns this on 'no rows updated'
testResult( result, SQL_HANDLE_STMT, d_statement, "Could not execute que ry ("+d_query+")." ); testResult( result, SQL_HANDLE_STMT, d_statement, "Could not execute que ry ("+d_query+")." );
// Determine the number of columns. // Determine the number of columns.
result = SQLNumResultCols( d_statement, &m_columncount ); result = SQLNumResultCols( d_statement, &m_columncount );
testResult( result, SQL_HANDLE_STMT, d_statement, "Could not determine the n umber of columns." ); testResult( result, SQL_HANDLE_STMT, d_statement, "Could not determine the n umber of columns." );
// cerr<<"got "<<m_columncount<<" columns"<<endl; // cerr<<"got "<<m_columncount<<" columns"<<endl;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)