kraada wrote:You have a column that references a cash_blinds table that does not exist. You'll need to track down that custom column and either set it to not cache or fix it to properly reference cash_limit (which contains the blinds information for cash games).
I respectfully disagree. There is a bug in the custom_cache update functions which causes an error for every column that has a construction like this example.
- Code: Select all
cash_hand_player_statistics.amt_p_raise_made / cash_limit.amt_bb between 2.75 and 3.24
If you rewrite the code, the column can be cached.
- Code: Select all
cash_hand_player_statistics.amt_p_raise_made between 2.75 * cash_limit.amt_bb and 3.24 * cash_limit.amt_bb
You can see in the log where PT4 makes the error.
- Code: Select all
CASE WHEN ( cash_blinds.amt_bb) 0 THEN ((cash_hand_player_statistics.amt_p_effective_stack * 1.0 )/( cash_blinds.amt_bb)) ELSE 0 END
This should be.
- Code: Select all
CASE WHEN ( cash_blinds.amt_bb) <> 0 THEN ((cash_hand_player_statistics.amt_p_effective_stack * 1.0 )/( cash_blinds.amt_bb)) ELSE 0 END
The (cash_blinds.amt_bb) <> 0 part is automatically added by PT4 to prevent divided by zero errors. In this case, the <> is missing, hence the custom cache update fails.