Bug #6025 | Test "client_test" fails in 4.1.6-gamma build (2) | ||
---|---|---|---|
Submitted: | 11 Oct 2004 12:35 | Modified: | 14 Oct 2004 22:56 |
Reporter: | Joerg Bruehe | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 4.1.6-gamma | OS: | various Unix |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[11 Oct 2004 12:35]
Joerg Bruehe
[11 Oct 2004 20:50]
Konstantin Osipov
Good to hear. Although I run before client_test on big-endian machines and wiped out all bugs that had popped up.
[14 Oct 2004 22:56]
Konstantin Osipov
ChangeSet 1.2102 04/10/15 02:52:52 konstantin@mysql.com +1 -0 libmysql/libmysql.c: Fix for Bug#6025 "Test "client_test" fails in 4.1.6-gamma build (2)". No need for a test case, the bug is covered already. libmysql/libmysql.c 1.268 04/10/15 02:52:49 konstantin@mysql.com +40 -38 Fix for Bug#6025 "Test "client_test" fails in 4.1.6-gamma build (2)": the bug was in assignments like: *row+= read_binary_time(tm, row); which makes two assingments without a sequence point (read_binary_* changes *row too) => undefined behaviour. The fix changes read_binary_{time,date,datetime} signature to get rid of any probability to fall into the same trouble in future.