1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#42735: dbug treated duplicate keywords (-#d,kw,kw) incorrectly

This commit is contained in:
Sergei Golubchik
2009-02-10 19:13:24 +01:00
parent f0261aca0b
commit d5c0d25792
2 changed files with 14 additions and 1 deletions

View File

@ -1451,7 +1451,9 @@ next:
{
if (!strncmp((*cur)->str, start, len))
{
if (todo == EXCLUDE)
if ((*cur)->flags & todo) /* same action ? */
(*cur)->flags|= subdir; /* just merge the SUBDIR flag */
else if (todo == EXCLUDE)
{
struct link *delme=*cur;
*cur=(*cur)->next_link;