/sqlite3cc

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

« back to all changes in this revision

Viewing changes to src/emake.mk

  • Committer: edam
  • Date: 2010-07-29 06:28:53 UTC
  • Revision ID: edam@waxworlds.org-20100729062853-4i2fec52m86mh724
- made basic_statement::step() protected, for use by query and command only
- moved basic_statement::operator<<() to command and query instead; one needs to accept sqlite::exec, the other doesn't
- added tests for query::operator<<()
- added code to invlaidate in-progress queries during any transaction rollbacks (currently segfaults in basic_statement::finalize())
- added new sqlite_error constructor that obtains a full error message
- implemented database::database_mutex_guard class
- swapped command's step mutex in favour of the database mutex

Show diffs side-by-side

added added

removed removed

1
 
TARGET := sqlitepp
 
1
TARGET := sqlite3cc
2
2
MKSHAREDLIB := 1
3
3
SOURCES := \
4
 
        database.cpp \
5
 
        exception.cpp \
6
 
        statement.cpp \
7
 
        query.cpp \
8
 
        transaction.cpp \
9
 
        util.cpp
 
4
        database.cc \
 
5
        exception.cc \
 
6
        basic_statement.cc \
 
7
        command.cc \
 
8
        query.cc \
 
9
        row.cc \
 
10
        transaction.cc \
 
11
        manipulator.cc \
 
12
        util.cc
10
13
LIBRARIES := sqlite3
11
14
CPPFLAGS := -I../include 
12
15
include ~/src/edam.mk