[sr-dev] git:5.4:782aae70: db_text: safety check for lres