equal
deleted
inserted
replaced
14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 */ |
16 */ |
17 #pragma once |
17 #pragma once |
18 |
18 |
19 #include <memory> |
|
20 #include <string> |
|
21 #include <sstream> |
|
22 #include <regex> |
|
23 #include <vector> |
|
24 #include <locale> |
|
25 #include <codecvt> |
|
26 #include <unistd.h> |
|
27 #include <cassert> |
|
28 #include <sys/stat.h> |
|
29 |
|
30 #include <sqlite3.h> |
19 #include <sqlite3.h> |
31 |
20 |
32 #include <relpipe/reader/typedefs.h> |
21 #include <relpipe/reader/typedefs.h> |
33 #include <relpipe/reader/TypeId.h> |
22 #include <relpipe/reader/TypeId.h> |
34 #include <relpipe/reader/handlers/RelationalReaderValueHandler.h> |
23 #include <relpipe/writer/TypeId.h> |
35 #include <relpipe/reader/handlers/AttributeMetadata.h> |
|
36 |
|
37 #include <relpipe/writer/Factory.h> |
|
38 |
|
39 #include "Configuration.h" |
|
40 #include "SqlException.h" |
24 #include "SqlException.h" |
41 |
25 |
42 namespace relpipe { |
26 namespace relpipe { |
43 namespace tr { |
27 namespace tr { |
44 namespace sql { |
28 namespace sql { |
45 |
|
46 using namespace std; |
|
47 using namespace relpipe; |
|
48 using namespace relpipe::reader; |
|
49 using namespace relpipe::reader::handlers; |
|
50 |
29 |
51 class PreparedStatement { |
30 class PreparedStatement { |
52 private: |
31 private: |
53 sqlite3_stmt* stmt; |
32 sqlite3_stmt* stmt; |
54 public: |
33 public: |