/sqlite3cc

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

« back to all changes in this revision

Viewing changes to test/test-main.cc

  • Committer: edam
  • Date: 2010-07-27 15:46:42 UTC
  • Revision ID: edam@waxworlds.org-20100727154642-1uxrjkpxhp7xl6hq
- moved null_t, exec_t and set_index_t to detail namespace so only their extern instantiations are in the main namespace
- added immediate transation

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
 
141
141
                sqlite::query( db, "SELECT age FROM pets ORDER BY age DESC LIMIT 1" )
142
142
                        .step() >> age; assert( age == 66 );
143
 
 
144
 
                //t1.commit();
145
143
        }
146
144
        sqlite::query( db, "SELECT age FROM pets ORDER BY age DESC LIMIT 1" )
147
145
                .step() >> age; assert( age == 123 );