Fixed a bug reported by kama - recommend not use -wait for rewrite

This commit is contained in:
David Anderson
2004-09-02 01:31:39 +00:00
parent 9d733d7a6b
commit 04c43f8589
2 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@ CVector<SQL*> DBList;
int sql_exists(const char* host,const char* user,const char* pass,const char* dbase) {
unsigned int i = 0;
int id = 0;
for (i=0; i<=DBList.size(); i++) {
for (i=0; i<DBList.size(); i++) {
id++;
if ((DBList[i]->Host.compare(host) == 0) &&
(DBList[i]->Username.compare(user) == 0) &&