mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
Irix64 mipspro ndb compile fixes
This commit is contained in:
@@ -1303,14 +1303,15 @@ bool
|
||||
EventLogger::matchEventCategory(const char * str,
|
||||
LogLevel::EventCategory * cat,
|
||||
bool exactMatch){
|
||||
unsigned i;
|
||||
if(cat == 0 || str == 0)
|
||||
return false;
|
||||
|
||||
char * tmp = strdup(str);
|
||||
for(size_t i = 0; i<strlen(tmp); i++)
|
||||
for(i = 0; i<strlen(tmp); i++)
|
||||
tmp[i] = toupper(tmp[i]);
|
||||
|
||||
for(Uint32 i = 0; i<noOfEventCategoryNames; i++){
|
||||
for(i = 0; i<noOfEventCategoryNames; i++){
|
||||
if(strcmp(tmp, eventCategoryNames[i].name) == 0){
|
||||
* cat = eventCategoryNames[i].category;
|
||||
free(tmp);
|
||||
|
||||
Reference in New Issue
Block a user