Remove ACTION_RESET

and make the sqlite error explicit.
as per http://bugs.python.org/issue10513