summaryrefslogtreecommitdiff
path: root/mysql-test/r/update.result
diff options
context:
space:
mode:
authorunknown <dlenev@brandersnatch.localdomain>2004-10-05 21:23:38 +0400
committerunknown <dlenev@brandersnatch.localdomain>2004-10-05 21:23:38 +0400
commitef92a390b115f3399813fb66b3c6e5fd3d54670c (patch)
treed6accd9f1d04290c7bd48b00a643b0a1fe7a1fff /mysql-test/r/update.result
parentfdbc804c3295fb4ba46e07b89554bb924cbd7d92 (diff)
downloadmariadb-git-ef92a390b115f3399813fb66b3c6e5fd3d54670c.tar.gz
Fixed small bug in handling of pre-4.1 TIMESTAMP columns which was
introduced during implementation of TIMESTAMP columns, which are able to store NULLs (Unfortunately it is impossible to write test case for this. Kudos to Holyfoot for noticing it!) sql/field.cc: Field_timestamp::get_auto_set_type(): To preserve compatibility with pre-4.1 we have to handle TIMESTAMP_OLD_FIELD columns properly. (It is ok to handle them as TIMESTAMP_DNUN_FIELD since value of first such column should be set to current timestamp on both INSERT and UPDATE operations, and we don't call this method for rest of them).
Diffstat (limited to 'mysql-test/r/update.result')
0 files changed, 0 insertions, 0 deletions