1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)

This commit is contained in:
Georg Richter
2018-04-24 17:18:31 +02:00
committed by Sergei Golubchik
parent 7775af75b4
commit df07debedd
6 changed files with 33 additions and 33 deletions

View File

@@ -507,7 +507,7 @@ void read_user_name(char *name)
str="UNKNOWN_USER";
}
ma_strmake(name,str,USERNAME_LENGTH);
#elif HAVE_CUSERID
#elif defined(HAVE_CUSERID)
(void) cuserid(name);
#else
ma_strmake(name,"UNKNOWN_USER", USERNAME_LENGTH);