The quick fix is to use db_0or1row instead of db_dml, but the best solution is to use the CR Tcl procs, content::revision::new in this case.