1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-13 13:01:51 +03:00

Porting from mysql-4.0.

Read comments there if you are interested ..


BitKeeper/etc/ignore:
  Added sql/sql_yacc.yy.orig to the ignore list
This commit is contained in:
unknown
2002-02-28 22:01:41 +02:00
parent ba288f41ed
commit f739974c5e
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 */