/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to src/row.cc

  • Committer: edam
  • Date: 2010-07-23 12:57:07 UTC
  • Revision ID: edam@waxworlds.org-20100723125707-qu9jk9vvg2uewx7t
- cleaned up test-main
- fixed comment type
- made sqlite::exec() throw instead of returning sqlite error code

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
 
62
62
sqlite::row &sqlite::row::operator >>(
63
 
        sqlite::detail::set_index_t t )
 
63
        _set_index_t t )
64
64
{
65
65
        _column_index = t._index;
66
66
        return *this;
68
68
 
69
69
 
70
70
template< >
71
 
sqlite::row &sqlite::row::operator >> < sqlite::detail::null_t >(
72
 
        sqlite::detail::null_t & )
 
71
sqlite::row &sqlite::row::operator >> < sqlite::_null_t >(
 
72
        _null_t & )
73
73
{
74
74
        assert( _column_index <
75
75
                static_cast< unsigned int >( sqlite3_column_count( _handle ) ) );