Removed some mysql stuff

This commit is contained in:
Johnny Bergström
2005-02-15 20:46:58 +00:00
parent adf12ab745
commit 00e9f2bbea
3 changed files with 9 additions and 85 deletions

View File

@ -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++)