Changeset: 3f30aaf80c76 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3f30aaf80c76
Modified Files:
        monetdb5/modules/mal/clients.c
Branch: Mar2018
Log Message:

Typo in error message.


diffs (27 lines):

diff --git a/monetdb5/modules/mal/clients.c b/monetdb5/modules/mal/clients.c
--- a/monetdb5/modules/mal/clients.c
+++ b/monetdb5/modules/mal/clients.c
@@ -332,7 +332,7 @@ CLTsetSessionTimeout(Client cntxt, MalBl
        (void) mb;
        sto=  *getArgReference_lng(stk,pci,1);
        if( sto < 0)
-               throw(MAL,"timeout","Query time out should be > 0");
+               throw(MAL,"timeout","Query time out should be >= 0");
        cntxt->stimeout = sto * 1000 * 1000;
     return MAL_SUCCEED;
 }
@@ -344,12 +344,12 @@ CLTsetTimeout(Client cntxt, MalBlkPtr mb
        (void) mb;
        qto=  *getArgReference_lng(stk,pci,1);
        if( qto < 0)
-               throw(MAL,"timeout","Query time out should be > 0");
+               throw(MAL,"timeout","Query time out should be >= 0");
        cntxt->qtimeout = qto * 1000 * 1000;
        if ( pci->argc == 3){
                sto=  *getArgReference_lng(stk,pci,2);
                if( sto < 0)
-                       throw(MAL,"timeout","Session time out should be > 0");
+                       throw(MAL,"timeout","Session time out should be >= 0");
                cntxt->stimeout = sto * 1000 * 1000;
        }
     return MAL_SUCCEED;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to