| List: | Commits | « Previous MessageNext Message » | |
| From: | Tor Didriksen | Date: | November 15 2010 9:05am |
| Subject: | Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | ||
| View as plain text | |||
> But I think there is no problem with copying CHARSET_INFO pointer. > My understanding is that pointers use processor data types, > which should be copied atomically, on both 32-bit and 64-bit hardware. > > > There is no such guarantee, on any platform. It may, or may not work. The only thing which is guaranteed to be atomic, is sig_atomic_t, which intended for communication between signal handlers, and ordinary threads. -- didrik > > >> If there is a problem, maybe we should change the code which updates >> THD::variables::character_set_client to use LOCK_thd_data, or an atomic >> operation; and above we would use the mutex or the atomic operation...? >> > > I don't think we really need it. > > > -- > MySQL Code Commits Mailing List > For list archives: http://lists.mysql.com/commits > To unsubscribe: > http://lists.mysql.com/commits?unsub=1 > >
| Thread | ||
|---|---|---|
| • bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Alexander Barkov | 12 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Guilhem Bichot | 12 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Alexander Barkov | 12 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Tor Didriksen | 15 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Alexander Barkov | 15 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Alexander Barkov | 15 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Guilhem Bichot | 15 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Alexander Barkov | 16 Nov |
| • Re: bzr commit into mysql-5.5-bugteam branch (bar:3121) Bug#57306 | Guilhem Bichot | 15 Nov |
