-rw-r--r-- | src/db/dbconnect.h | 11 | ||||
-rw-r--r-- | src/db/dbconnect.sqc | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/db/dbconnect.sqc b/src/db/dbconnect.sqc new file mode 100644 index 0000000..1e41a12 --- a/dev/null +++ b/src/db/dbconnect.sqc | |||
@@ -0,0 +1,11 @@ | |||
1 | #include "dbconnect.h" | ||
2 | #include "../util/check_error.h" | ||
3 | |||
4 | EXEC SQL INCLUDE sqlca; | ||
5 | |||
6 | void | ||
7 | dbconnect (void) | ||
8 | { | ||
9 | EXEC SQL CONNECT TO exp004; | ||
10 | check_error (__FILE__, __LINE__); | ||
11 | } | ||