• unknown's avatar
    libmysql/libmysql.c: · 2b4c2414
    unknown authored
     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:
      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.
    2b4c2414
libmysql.c 123 KB