mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Sync Linux tweaks.
This commit is contained in:
@@ -146,7 +146,7 @@ uint64 SqliteDatabase::getBigInt(int colIndex)
|
||||
BLOB literals are string literals containing hexadecimal data and preceded by a single "x" or "X" character. For example:
|
||||
X'53514C697465'
|
||||
*/
|
||||
void SqliteDatabase::escape(unsigned char* start,int size,std::string& retStr)
|
||||
void SqliteDatabase::escape(const unsigned char* start,int size,std::string& retStr)
|
||||
{
|
||||
retStr.clear();
|
||||
|
||||
|
||||
@@ -37,6 +37,6 @@ public:
|
||||
int getBinary(int colIndex,unsigned char* buf,int maxSize);
|
||||
uint64 getBigInt(int colIndex);
|
||||
|
||||
void escape(unsigned char* start,int size,std::string& retStr);
|
||||
void escape(const unsigned char* start,int size,std::string& retStr);
|
||||
|
||||
};
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
|
||||
std::string& getPass(){ return(mDBPass); }
|
||||
|
||||
virtual void escape(unsigned char* start,int size,std::string& retStr)=0;
|
||||
virtual void escape(const unsigned char* start,int size,std::string& retStr)=0;
|
||||
|
||||
// returns true if the query went ok
|
||||
virtual bool executeSQL(const char* sql)=0;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "../database.h"
|
||||
#include "string/i4string.h"
|
||||
#include "mysql.h"
|
||||
#include "mysql/mysql.h"
|
||||
|
||||
/*
|
||||
this maintains the connection to the database
|
||||
|
||||
Reference in New Issue
Block a user