git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add assertions on OpenSearch result
[stg.git]
/
projects
/
stargazer
/
plugins
/
store
/
db
/
pg_driver.h
diff --git
a/projects/stargazer/plugins/store/db/pg_driver.h
b/projects/stargazer/plugins/store/db/pg_driver.h
index a6cee6e2069247e76eef1c28d3a91ef6eac49a74..95b938fa2cb84c206848274cd1ef1d29a66df956 100644
(file)
--- a/
projects/stargazer/plugins/store/db/pg_driver.h
+++ b/
projects/stargazer/plugins/store/db/pg_driver.h
@@
-5,6
+5,9
@@
#include "base_db.h"
#include "base_db.h"
+extern "C" BASE_DB * CreateDriver();
+extern "C" void DestroyDriver(BASE_DB *);
+
class PG_DRIVER : public BASE_DB {
public:
virtual ~PG_DRIVER();
class PG_DRIVER : public BASE_DB {
public:
virtual ~PG_DRIVER();
@@
-22,6
+25,7
@@
public:
private:
PGconn * conn;
PGresult * result;
private:
PGconn * conn;
PGresult * result;
+ COLUMNS cols;
};
#endif
};
#endif