our version of php doesn't have MongoClient yet
namespace fixups
function name mismatch
add some more debugging output to the log
need to ignore deleteIndexes() for collections that don't exist yet
findOne() needs array as second param
fixups - release_session_lock() is a local implementation
to clean up the logs - explictly use update or insert when necessary
change var names for readability
make our own _id key for inserts
tweaks
expireAfterSeconds columns need to be MongoDate objects
apparently we always need to provide the sid in the update doc when there's a unique index
ack, need to specify "$set" so that we dont overwrite the previous doc, but just update certain fields
trying without an ensureIndexes() call for now
disable the hashed indices
quite some notices
same fixup - but with global namespace
catch/hide some errors
fixups