/sqlite3cc

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

« back to all changes in this revision

Viewing changes to src/query.cc

  • Committer: edam
  • Date: 2012-04-23 18:40:10 UTC
  • Revision ID: tim@ed.am-20120423184010-3zaiqkhxwequfaey
Removed an optimisation in command::step() (calling finalize() here prevents
the command from being reset() and reused), and added a wrapper for a
transaction's begin() method to transaction_guard (both thanks to Ron Wilson).

Show diffs side-by-side

added added

removed removed

23
23
#include <sqlite3cc/query.h>
24
24
#include <sqlite3cc/row.h>
25
25
#include <sqlite3cc/connection.h>
26
 
#include <cassert>
 
26
#include <assert.h>
27
27
 
28
28
 
29
29
sqlite::query::query(