# |
Jul 23rd 2009, 07:00 |
alkemann |
damn im an idiot |
# |
Jul 23rd 2009, 06:59 |
Phally |
agreed |
# |
Jul 23rd 2009, 06:59 |
alkemann |
but my point would actually be that all counter cache updates should be hardcoded to do no joins |
# |
Jul 23rd 2009, 06:59 |
Phally |
alkemann: no, i think when it gets there it isn't -1 anymore |
# |
Jul 23rd 2009, 06:58 |
alkemann |
Phally: u mean the problem of high recursiveness is that i set it to -1? |
# |
Jul 23rd 2009, 06:57 |
Phally |
alkemann: hmm was checking an old ticket out of mine which was about a different issue, but there were no joins either, so it has to be that recursive thing |
# |
Jul 23rd 2009, 06:54 |
alkemann |
just typo |
# |
Jul 23rd 2009, 06:54 |
Phally |
norwegian? :p |
# |
Jul 23rd 2009, 06:54 |
Phally |
public $alies = 'Article'; |
# |
Jul 23rd 2009, 06:54 |
Phally |
alkemann: now, that is strange, still using 1.2? |
# |
Jul 23rd 2009, 06:53 |
alkemann |
and it does not do the JOINs |
# |
Jul 23rd 2009, 06:53 |
alkemann |
Phally: then i made this standalone to check it http://bin.cakephp.org/view/1334665431 |
# |
Jul 23rd 2009, 06:52 |
alkemann |
put on debug 2 and see for urself |
# |
Jul 23rd 2009, 06:50 |
Phally |
i see |
# |
Jul 23rd 2009, 06:46 |
alkemann |
http://thechaw.com/bakery/source/branches/2.0/tests/cases/models/article.test.php#11 |
# |
Jul 23rd 2009, 06:46 |
alkemann |
i have that |
# |
Jul 23rd 2009, 06:46 |
Phally |
i know it would fail a number of tests then |
# |
Jul 23rd 2009, 06:45 |
Phally |
just for the fun of it, place $recursive = -1 in Article model |
# |
Jul 23rd 2009, 06:45 |
Phally |
yeah |
# |
Jul 23rd 2009, 06:45 |
alkemann |
SET `Article`.`article_page_count` =Â 1Â WHERE `Article`.`id` |
# |
Jul 23rd 2009, 06:45 |
Phally |
alkemann: oh no, i had my head in my ass |
# |
Jul 23rd 2009, 06:44 |
alkemann |
whY? |
# |
Jul 23rd 2009, 06:44 |
Phally |
alkemann: well it needs at least one ;) |
# |
Jul 23rd 2009, 06:41 |
alkemann |
Phally: 4 joins when none are needed |
# |
Jul 23rd 2009, 06:41 |
alkemann |
http://bin.cakephp.org/view/1638485376 |
# |
Jul 23rd 2009, 06:41 |
Phally |
alkemann: define weird :p |
# |
Jul 23rd 2009, 06:39 |
alkemann |
Phally: countercache in the Article model is making a weird query. but i was not able to recreate the issue in a seperate test |
# |
Jul 23rd 2009, 05:54 |
Phally |
alkemann: i was busy having lunch, what's up? |
# |
Jul 23rd 2009, 05:03 |
alkemann |
Phally: busy at work or can u help me look at something? |
# |
Jul 23rd 2009, 04:40 |
alkemann |
gwoo: up? (i wanna see the stuff from John as well!) |
# |
Jul 23rd 2009, 04:25 |
alkemann |
cache queries is always off when running tests right? |
# |
Jul 23rd 2009, 04:18 |
poLK |
alkemann: ok, you're allowed to do so :) |
# |
Jul 23rd 2009, 04:18 |
alkemann |
poLK: i would call that a text based tool and not visual :) |
# |
Jul 23rd 2009, 04:17 |
alkemann |
is it just me or could counter cache logic be a little more effective by overwriting the recursive value? http://bin.cakephp.org/view/1638485376 |
# |
Jul 23rd 2009, 04:17 |
poLK |
http://jonas.nitro.dk/tig/screenshots/ |
# |
Jul 23rd 2009, 04:16 |
poLK |
yes, it is visual - and it runs in console |
# |
Jul 23rd 2009, 04:14 |
alkemann |
looks to be about the same as the windows install i have |
# |
Jul 23rd 2009, 04:13 |
alkemann |
? |
# |
Jul 23rd 2009, 04:13 |
alkemann |
is it visual |
# |
Jul 23rd 2009, 04:12 |
poLK |
just another addictive thing I can't live without |
# |
Jul 23rd 2009, 04:12 |
poLK |
http://jonas.nitro.dk/tig/ |