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

many fixes

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-02-28 21:58:32 +02:00
parent 241f870744
commit 90629e2ccd
4 changed files with 26 additions and 5 deletions

View File

@ -737,7 +737,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 ; )
*end= '-';
switch (find_type(*option+2,&option_types,2)) {
case 1: /* port */