/sqlite3cc

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

« back to all changes in this revision

Viewing changes to src/transaction.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

53
53
}
54
54
 
55
55
 
 
56
sqlite::immediate_transaction::immediate_transaction(
 
57
        database &database )
 
58
        :
 
59
        basic_transaction( database )
 
60
{
 
61
}
 
62
 
 
63
 
 
64
void sqlite::immediate_transaction::begin()
 
65
{
 
66
        _database.exec( "BEGIN IMMEDIATE" );
 
67
}
 
68
 
 
69
 
56
70
sqlite::exclusive_transaction::exclusive_transaction(
57
71
        database &database )
58
72
        :