> Le 1 oct. 2016 à 00:25, Alan Chan <[email protected]> a écrit :
> 
> Hi Arnaud,
> 
> I explicitly asked about these questions like Query (*), I was told each 
> query would be sent individually but won't executed until the last was sent.
> [...]

Hi Alan, 
then one of our "source" is wrong - one more reason to document that! 
 
I tried executing some queries in TRACE and look at the process tab on server 
at the same time (v14R5):
  Query([table];[table]field1=1;*)
  Query([table])
If this is executed as "execute in new process", on line 1, I don't even see 
the twin process (the blue guy) on server, it only appears and starts to work 
on line 2. 

If I create a log of requests (SET DATABASE PARAMETER), wether the query is 
single or multilines, I only see in the log 2 lines:
  Query([table];[table]field1=1)
    10/02/16, 12:34:39  65551   'INFO'  14      TTF/s   0
    10/02/16, 12:34:39  65551   'dbmg'  14      11044   124     137     0       
p
  Query([table];[table]field1=1;*)
  Query([table])
    10/02/16, 12:34:52  65551   'INFO'  14      TTF/s   0
    10/02/16, 12:34:52  65551   'dbmg'  14      11044   124     137     1       
p

By analogy, multi field SELECTION TO ARRAY, once with, once without the * 
parameter, result in the same log. 

That said, this log is not exactly a sniffer! 

BTW, adding or removing break points in the debugger sends requests. 

-- 
Arnaud de Montard 


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to