mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Split up InfoSub and tidy up various files
This commit is contained in:
@@ -2,17 +2,9 @@
|
||||
#ifndef RIPPLE_SQLITEDATABASE_H
|
||||
#define RIPPLE_SQLITEDATABASE_H
|
||||
|
||||
#include "database.h"
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
|
||||
struct sqlite3;
|
||||
struct sqlite3_stmt;
|
||||
|
||||
|
||||
class SqliteDatabase : public Database
|
||||
{
|
||||
sqlite3* mConnection;
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
#ifndef __DATABASE__
|
||||
#define __DATABASE__
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define SQL_FOREACH(_db, _strQuery) \
|
||||
if ((_db)->executeSQL(_strQuery)) \
|
||||
for (bool _bMore = (_db)->startIterRows(); _bMore; _bMore = (_db)->getNextRow())
|
||||
|
||||
Reference in New Issue
Block a user