index df58f1535c097e5edf1c2dbfea48081af009185e..b8508a91238f9cd69e5b0ee414156d2383e62cb0 100644 (file)
continue;
if (strcmp(name, ptr -> name) == 0)
{
- if (connection)
if (connection && strcmp(ptr->connection, connection) != 0)
mmerror(PARSE_ERROR, ET_WARNING, "connection %s is overwritten with %s by DECLARE statement %s", connection, ptr->connection, name);
connection = mm_strdup(ptr -> connection);