1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-05 01:43:31 +03:00
Files
mariadb/mysql-test/t
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-05-29 16:27:45 +02:00
2006-05-01 21:30:09 +03:00
2006-06-17 02:57:50 +04:00
2006-06-17 02:57:50 +04:00
2006-10-13 08:48:47 +02:00
2006-11-04 09:24:10 +01:00
2006-05-24 17:21:35 +03:00
2006-06-14 23:54:08 +04:00
2006-06-20 00:52:26 +04:00
2006-04-11 15:26:18 +05:00
2006-08-30 03:22:59 +04:00
2006-05-06 23:48:13 -07:00
2006-08-21 14:20:03 +04:00
2006-03-06 23:43:47 +01:00
2006-05-29 19:07:35 +04:00
2006-05-01 22:10:50 -04:00
2006-09-21 00:59:48 +02:00
2006-04-27 21:59:04 +09:30
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-10-05 12:41:26 +02:00