Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3227

Modified Files:
        mal_module.mx 
Log Message:
The MAL help pattern "bat.ins(" didn't give the proper response.


Index: mal_module.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_module.mx,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- mal_module.mx       22 Aug 2007 06:21:52 -0000      1.53
+++ mal_module.mx       23 Aug 2007 19:02:37 -0000      1.54
@@ -865,6 +865,7 @@
                for(j=0;j<MAXSCOPE;j++)
                for(s= m->subscope[j]; s; s= s->peer)
                        if( strncmp(fcnnme,s->name,len2)==0 || *fcnnme=='*') {
+                               fnd=1;
                                if( completion ) {
                                        snprintf(buf,BUFSIZ," %s.%s", 
                                                ((*modnme=='*' || *modnme==0)? 
m->name:modnme),s->name);
@@ -876,11 +877,11 @@
                                        
fcnDefinition(s->def,s->def->stmt[0],buf,FALSE);
                                        buf[0]=' ';
 
+                                       fnd=0;
                                        v= strstr(buf,"address");
                                        if( v) *v=0;
-                                       if( tstDuplicate(msg,buf+1) ) continue;
+                                       if( tstDuplicate(msg,buf+1) ) fnd++;
 
-                                       fnd=0;
                                        for(f=0;f<top;f++)
                                        if( msg[f] && strcmp(buf+1, msg[f]) == 
0 ) fnd++;
                                        if(fnd) continue;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to