1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fix for --enable-local-infile

This commit is contained in:
monty@hundin.mysql.fi
2002-03-06 22:06:18 +02:00
parent 668d09cc5c
commit ed8fc0b0c6
4 changed files with 18 additions and 9 deletions

View File

@ -712,7 +712,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
*end=0; /* Remove '=' */
}
/* Change all '_' in variable name to '-' */
for (end= *option ; (end= strcend(end,'_')) ; )
for (end= *option ; *(end= strcend(end,'_')) ; )
*end= '-';
switch (find_type(*option+2,&option_types,2)) {
case 1: /* port */