db: const char* params, removed all raii/error macro smartness
db: cleanup