Project

General

Profile

« Previous | Next » 

Revision 9635

lib/sh/db.sh: mysql_seal_table(): REVOKE: ignore errors if REVOKE was already run

View differences:

lib/sh/db.sh
205 205
{
206 206
	echo_func; kw_params table user; : "${table:?}" "${user:?}"; mk_table_esc
207 207
	
208
	mysql_root <<<"REVOKE ALL PRIVILEGES ON $table FROM '$user'@'%'"
208
	benign_error=1 mysql_root <<<"REVOKE ALL PRIVILEGES ON $table FROM '$user'@'%'" || true
209 209
}
210 210

  
211 211

  

Also available in: Unified diff