[ 
https://forge.continuent.org/jira/browse/SEQUOIA-1037?page=comments#action_14276
 ] 

Emmanuel Cecchet commented on SEQUOIA-1037:
-------------------------------------------

You are absolutely right. We could even go further and disable macros by 
default so that applications not using macros would not have to suffer the 
costly string matching on each request.

> Macro replacement should not occur for select requests
> ------------------------------------------------------
>
>          Key: SEQUOIA-1037
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-1037
>      Project: Sequoia
>         Type: Improvement

>   Components: Core
>     Reporter: Gilles Rayrat
>      Fix For: sequoia 2.10.10

>
>
> Macros like now() and rand() are currently replaced by static values in the 
> controller.
> Unless the select request needs broadcast (eg. select for update), these 
> macros should not be replaced in read-only requests as there won't be any 
> side effect (inconsistent update across backends) as for updates.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to