mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
* Implement more stuff.
This commit is contained in:
parent
762cee72cc
commit
9c9a88e9e2
2 changed files with 50 additions and 52 deletions
|
|
@ -61,11 +61,15 @@ struct SQLiteStmt
|
|||
{
|
||||
sqlite3 * db;
|
||||
sqlite3_stmt * stmt;
|
||||
unsigned int curArg;
|
||||
SQLiteStmt() { stmt = 0; }
|
||||
void create(sqlite3 * db, const string & s);
|
||||
void reset();
|
||||
~SQLiteStmt();
|
||||
operator sqlite3_stmt * () { return stmt; }
|
||||
void bind(const string & value);
|
||||
void bind(int value);
|
||||
void bind();
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -191,6 +195,7 @@ private:
|
|||
SQLiteStmt stmtQueryPathInfo;
|
||||
SQLiteStmt stmtQueryReferences;
|
||||
SQLiteStmt stmtQueryReferrers;
|
||||
SQLiteStmt stmtInvalidatePath;
|
||||
|
||||
int getSchema();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue