There's no hard and fast rule, in my book. All depends how important gig 2 might be to you, and how easy it is for gig 1 to be resceduled, or for you to find an adequate replacement. But if performers make a habit of doing this, especially if it's for more money on gig 2, they will certainly get a bad reputation!