1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-05 01:43:31 +03:00
Files
mariadb/mysql-test/r
unknown 19d61b1b81 Bug#20691: DATETIME col (NOT NULL, NO DEFAULT) may insert garbage when \
specifying DEFAULT

This was not specific to datetime.  When there is no default value 
for a column, and the user inserted DEFAULT, we would write 
uninitialized memory to the table.  

Now, insist on writing a default value, a zero-ish value, the same 
one that comes from inserting NULL into a not-NULL field.

(This is, at best, really strange behavior that comes from allowing 
sloppy usage, and serves as a good reason always to run one's server 
in a strict SQL mode.)


mysql-test/r/default.result:
  Verify that all kinds of types work, even others other than datetime.
mysql-test/t/default.test:
  Verify that all kinds of types work, even others other than datetime.
sql/item.cc:
  Even if we warn that there is no default value in the table definition,
  we have to insert /something/.
2006-11-09 18:33:58 -05:00
..
2006-06-17 02:57:50 +04:00
2006-07-13 20:48:26 -07:00
2006-05-31 22:55:45 -07:00
2006-10-13 08:48:47 +02:00
2006-06-15 01:48:41 +04:00
2006-09-20 12:02:58 +03:00
2006-06-20 00:52:26 +04:00
2006-11-06 23:02:40 -05:00
2006-09-01 05:00:32 +02:00
2006-10-05 00:00:34 +02:00
2006-08-08 12:50:05 +05:00
2006-10-03 15:48:41 +02:00
2006-05-31 22:55:45 -07:00
2006-05-31 22:55:45 -07:00
2006-10-19 18:48:37 +05:00
2006-09-21 00:59:48 +02:00
2006-06-01 16:51:19 -07:00
2006-06-01 16:51:19 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-08-30 13:20:39 -07:00
2006-06-30 02:03:09 +04:00
2006-06-09 19:29:39 -07:00