216
216
// serialize it and then concatenate it with the sql.
217
217
// The reason for this is to generate a unique filename
218
218
// for queries using the same sql but different parameters.
220
220
$serializearray = serialize($params);
221
221
return $instance->id.'_'.md5($sql . $serializearray);