• unknown's avatar
    A fix and test case for bug#6058 "Prepared statements return '0000-00-00' · 8fe8912f
    unknown authored
    (date) as empty  string": preserve time type (date, time, or datetime) for
    zero dates, times, and datetimes.
    
    
    libmysql/libmysql.c:
      A fix for bug#6058 "Prepared statements return '0000-00-00' (date) as empty
       string": preserve time type (date, time, or datetime) for zero 
      dates, times, and datetimes.
    tests/client_test.c:
      A test case for Bug#6058, the existing tests required some adjustments too.
    8fe8912f
client_test.c 282 KB