/sqlite3cc

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

« back to all changes in this revision

Viewing changes to include/sqlite3cc/database.h

  • Committer: edam
  • Date: 2010-03-09 14:06:50 UTC
  • Revision ID: edam@waxworlds.org-20100309140650-oqwnsrbajh8d2p2m
- moved dependancy on boost_filesystem-mt from the library to test-main

Show diffs side-by-side

added added

removed removed

53
53
                const std::string &filename );
54
54
 
55
55
        explicit database();
56
 
        virtual ~database();
 
56
        virtual ~database() throw( );
57
57
 
58
58
//______________________________________________________________________________
59
59
//                                                              public interface
78
78
        void close();
79
79
 
80
80
        /**
81
 
         * Execute an SQL statement. An exception is thrown on error.
 
81
         * Execute an SQL statement.
82
82
         * @param sql an SQL statement in UTF-8
 
83
         * @return an sqlite error code
83
84
         * @see sqlite3_exc()
84
85
         */
85
 
        void exec(
 
86
        int exec(
86
87
                const std::string &sql );
87
88
 
88
89
        /**