Thanks Roel.
I am still running into this error.  After investigating the link, it seems the 
documentation indicates a known issue but does not offer a workaround.
The command I am running (including the addition of a --mask parameter) is:
./runall.pl --grammar=conf/partitioning/${grammar} --duration=${secDuration} 
--queries=${numQueries} --threads=${numThreads} --basedir=${BASEDIR1} 
--vardir=${VARDIR1} --mask=1000 ${debugSwitch} ${sqlLog1} --sqltrace 
Do I also need a "--mask-level" argument to address this issue?
I think I need some additional clarification as to what masking does and how to 
address these errors in my test run.
Should I completely remove the range_elem portion from my .yy file?
Thanks,
Joel

Date: Fri, 30 Aug 2013 19:05:18 +1000
Subject: Re: [Randgen] "Endless loop in grammar" Error in
From: [email protected]
To: [email protected]
CC: [email protected]

Hi Joel,
Are you using Grammar Masking? Have a look at " Known issue with grammar 
masking " within;
https://github.com/RQG/RQG-Documentation/wiki/RandomQueryGeneratorGrammarMaskingAndRedefinition


On Fri, Aug 30, 2013 at 6:50 AM, Joel Epstein <[email protected]> wrote:




Hello,
I am seeing this error while trying to run the partitions-99-range.yy grammar 
file:
Rule range_elem occured more than 3500 times. Possible endless loop in grammar. 
Aborting.

When I examine the grammar file, I can see that there are recursive calls from 
range_elem to range_list_elem_10 to range_list which could generate a large 
loop.  But it doesn't seem like it would be an endless loop.  Is there a 
setting on my system that could be preventing these expressions from evaluating 
within the grammar engine?

Thanks,
Joel                                      

_______________________________________________

Mailing list: https://launchpad.net/~randgen

Post to     : [email protected]

Unsubscribe : https://launchpad.net/~randgen

More help   : https://help.launchpad.net/ListHelp

-- 

Kind Regards,

God Bless,
-- 
Roel Van de Paar, CMDBA/CMDEV  Director of Development Services, Percona 
LLChttp://www.percona.com/services.html

http://www.mysqlperformanceblog.com/
                                          
_______________________________________________
Mailing list: https://launchpad.net/~randgen
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~randgen
More help   : https://help.launchpad.net/ListHelp

Reply via email to