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

Porting from mysql-4.0.

Read comments there if you are interested ..
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-02-28 22:01:41 +02:00
parent 99e897e6a6
commit cdddb65460
5 changed files with 27 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 */