mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-21 02:55:50 +00:00
Bugfixes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "database.h"
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Database::Database(const char* host,const char* user,const char* pass) : mNumCol(0)
|
||||
@@ -82,7 +82,7 @@ bool Database::getColNumber(const char* colName,int* retIndex)
|
||||
{
|
||||
for(unsigned int n=0; n<mColNameTable.size(); n++)
|
||||
{
|
||||
if(strcasecmp(colName,mColNameTable[n].c_str())==0)
|
||||
if(strcmp(colName,mColNameTable[n].c_str())==0)
|
||||
{
|
||||
*retIndex=n;
|
||||
return(true);
|
||||
|
||||
Reference in New Issue
Block a user