[db] Remove erroneous print function