by Pascal Zajac.
Further investigation has shown that the problem lies with array casting in the MySQL implementation. For reference, I'm running Ubuntu 12.04 with PHP 5.3.21. The following line seems to fail in the insert_record method:
$dataobject = (array)$dataobject;
Logging out what's going on around this line reveals:
Before casting:
stdClass Object
(
[name] => langrev
[value] => 1359873412
)
After casting
Array
(
)
I get this same behaviour if I use the get_object_vars method instead of casting directly. Thoroughly confused.