src/common/db.cpp
const char* Answer::getColumn(size_t colnum) const
{
    if (colnum >= getCount())
    {
        BOOST_ASSERT(false);
    }

    const char* res = NULL;
    if (m_row)
	res = m_row[colnum];

    return res;
}
// gets value from the specified column
// @param[in] colnum column number
// @return the value or NULL if there was an error
gets value from the specified column
gets value from the specified column
const char* Answer::getColumn(size_t colnum) const
{
    if (colnum >= getCount())
    {
        BOOST_ASSERT(false);
    }
    const char* res = NULL;
    if (m_row)
	res = m_row[colnum];
    return res;
}
const char * Answer :: getColumn ( size_t colnum ) const { if ( colnum >= getCount ( ) ) { BOOST_ASSERT ( false ) ; } const char * res = NULL ; if ( m_row ) res = m_row [ colnum ] ; return res ; }
gets value from the specified column
gets value from the specified column