~ overflow ~

Archive for February 17th, 2010

MySQL mass union query issue

by z3n on Feb.17, 2010, under Tips & Hints

Problem:

MySQLd 5.0.18 (and some others) will bug on queries with more than 128 joins.

The error issued has nothing todo with the limit, and there’s no var to raising this limit, this is a mysql bug for this specific version.

Solution:

Upgrade.

Sources:

bugs.mysql

Leave a Comment :, , , more...

Fatal error: Cannot use object of type stdClass as array (php json_decode)

by z3n on Feb.17, 2010, under Coding, Notes, Tips & Hints

Problem:

$var=json_decode($_POST['something']);

echo $var['value'];

returns error: Fatal error: Cannot use object of type stdClass as array

Solution:

echo $var->value;

2 Comments :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!