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

Modified Files:
        inspect05.stable.out mserver00.mal mserver00.stable.out 
Log Message:
Properly disconnect to avoid hanging clients.


Index: mserver00.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/mserver00.stable.out,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- mserver00.stable.out        3 Dec 2006 22:39:52 -0000       1.7
+++ mserver00.stable.out        8 Jun 2007 08:47:36 -0000       1.8
@@ -92,7 +92,8 @@
 catch MapiException:str ;      # 61  (MapiException:str) jump 63
     io.printf("foutje:%s\n",MapiException);    # 62 IOprint_formatted_str 
(_77:void)<-(_78:str)(MapiException:str)
 exit MapiException:str ;       # 63  (MapiException:str)
-end main;      # 64  
+    mserver.disconnect(mid);   # 64 SERVERdisconnect (_79:void)<-(mid:int)
+end main;      # 65  
 [ 1 ]
 rowcount 1
 fieldcount 2

Index: inspect05.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/inspect05.stable.out,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -d -r1.305 -r1.306
--- inspect05.stable.out        6 Jun 2007 19:38:00 -0000       1.305
+++ inspect05.stable.out        8 Jun 2007 08:47:32 -0000       1.306
@@ -570,6 +570,7 @@
 [ "getAddress",                                  "command",      "inspect",    
  "(mod:str,fcn:str):bat[:str,:str] ",                                          
                                          "INSPECTgetAddress;"                  
          ]
 [ "getSignature",                        "command",      "inspect",      
"(mod:str,fcn:str):bat[:str,:str] ",                                            
                                        "INSPECTgetSignature;"                  
        ]
 [ "getDefinition",                       "command",      "inspect",      
"(mod:str,fcn:str):bat[:str,:str] ",                                            
                                        "INSPECTgetDefinition;"                 
        ]
+[ "adapt",                       "command",      "bpm",          
"(s:bat[:any_1,:any_2],low:any_2,hgh:any_2,rs:bat[:any_1,:any_3]):void ",       
"BPMadapt;"                                     ]
 [ "addPartition",                        "command",      "bpm",          
"(nme:str,b:bat[:any_1,:any_2],hl:any_1,hh:any_1,tl:any_2,th:any_2):bat[:any_1,:any_2]
 ",                               "BPMaddPartitionDim;"                         
  ]
 [ "addPartition",                        "command",      "bpm",          
"(nme:str,b:bat[:any_1,:any_2]):bat[:any_1,:any_2] ",                           
                                        "BPMaddPartition;"                      
        ]
 [ "addPartition",                        "command",      "bpm",          
"(b:bat[:any_1,:any_2],s:bat[:any_1,:any_2]):void ",                            
                                        "BPMaddSegment;"                        
        ]

Index: mserver00.mal
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/mserver00.mal,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mserver00.mal       21 Apr 2006 19:35:44 -0000      1.9
+++ mserver00.mal       8 Jun 2007 08:47:36 -0000       1.10
@@ -73,3 +73,4 @@
 catch MapiException:str;
        io.printf("foutje:%s\n",MapiException);
 exit MapiException;
+mserver.disconnect(mid);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to