Removed some mysql stuff
This commit is contained in:
@ -58,7 +58,7 @@ void SQL::Disconnect()
|
||||
isFree = true;
|
||||
}
|
||||
|
||||
int SQL::Query(const char *query, int OLD)
|
||||
int SQL::Query(const char *query)
|
||||
{
|
||||
if (sqlite == NULL || isFree)
|
||||
{
|
||||
@ -66,19 +66,6 @@ int SQL::Query(const char *query, int OLD)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (OLD)
|
||||
{
|
||||
if (Results.size() < 1)
|
||||
{
|
||||
SQLResult *t = new SQLResult;
|
||||
Results.push_back(t);
|
||||
} else {
|
||||
if (!Results[0]->isFree)
|
||||
Results[0]->FreeResult();
|
||||
}
|
||||
return (Results[0]->Query(this, query)==0);
|
||||
}
|
||||
|
||||
unsigned int i = 0;
|
||||
int id = -1;
|
||||
for (i=0; i < Results.size(); i++)
|
||||
|
Reference in New Issue
Block a user