dream120 / common-schema

Automatically exported from code.google.com/p/common-schema
0 stars 0 forks source link

Tokenizer broken for x<int #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
mysql> call _get_sql_tokens('p<10000');
+----+-------+-------+-------+-------+
| id | start | level | token | state |
+----+-------+-------+-------+-------+
|  1 |     2 |     0 | p     | alpha |
|  2 |     8 |     0 | 0     | error |
|  3 |     8 |     0 |       | start |
+----+-------+-------+-------+-------+

this needs to be fixed in order to really fix 
http://code.google.com/p/common-schema/issues/detail?id=14

Original issue reported on code.google.com by roland.bouman on 16 Sep 2011 at 6:03

GoogleCodeExporter commented 9 years ago
Fixed in r94. 

Original comment by roland.bouman on 16 Sep 2011 at 7:42

GoogleCodeExporter commented 9 years ago
wonderful!

Original comment by shlomi.n...@gmail.com on 16 Sep 2011 at 5:00

GoogleCodeExporter commented 9 years ago
I expect we'll see more of these things. This is the kind of thing that would 
benefit from unit testing. I'm not really an expert on settng that kind of 
thing up though. Oh well.

Original comment by roland.bouman on 16 Sep 2011 at 5:37