func initColumnPrivEntry(ctx context.Context, user string, host string, db string, tbl string, col string) error {
	sql := fmt.Sprintf(`INSERT INTO %s.%s (Host, User, DB, Table_name, Column_name, Column_priv) VALUES ("%s", "%s", "%s", "%s", "%s", "")`, mysql.SystemDB, mysql.ColumnPrivTable, host, user, db, tbl, col)
	_, err := ctx.(sqlexec.RestrictedSQLExecutor).ExecRestrictedSQL(ctx, sql)
	return errors.Trace(err)
}
// Insert a new row into mysql.Columns_priv with empty privilege.
Insert a new row into mysql.Columns_priv with empty privilege.
// Insert a new row into mysql . Columns_priv with empty privilege .
func initColumnPrivEntry(ctx context.Context, user string, host string, db string, tbl string, col string) error {
	sql := fmt.Sprintf(`INSERT INTO %s.%s (Host, User, DB, Table_name, Column_name, Column_priv) VALUES ("%s", "%s", "%s", "%s", "%s", "")`, mysql.SystemDB, mysql.ColumnPrivTable, host, user, db, tbl, col)
	_, err := ctx.(sqlexec.RestrictedSQLExecutor).ExecRestrictedSQL(ctx, sql)
	return errors.Trace(err)
}
func initColumnPrivEntry ( ctx context . Context , user string , host string , db string , tbl string , col string ) error { sql := fmt . Sprintf ( `INSERT INTO %s.%s (Host, User, DB, Table_name, Column_name, Column_priv) VALUES ("%s", "%s", "%s", "%s", "%s", "")` , mysql . SystemDB , mysql . ColumnPrivTable , host , user , db , tbl , col ) _ , err := ctx . ( sqlexec . RestrictedSQLExecutor ) . ExecRestrictedSQL ( ctx , sql ) return errors . Trace ( err ) }
Insert a new row into mysql.Columns_priv with empty privilege.
Insert a new row into mysql . Columns_priv with empty privilege .