mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Add warnings for single line inserts. To do this I had to convert count_cuted_fields to an enum (to be able to detect setting a NOT NULL field to NULL)
This commit is contained in:
@@ -136,7 +136,7 @@ email104
|
||||
email105
|
||||
email106
|
||||
email107
|
||||
INSERT INTO `t1` (`id`, `kid`) VALUES ('', '150');
|
||||
INSERT INTO `t1` (`id`, `kid`) VALUES ('0', '150');
|
||||
SELECT SQL_CALC_FOUND_ROWS DISTINCT email FROM t2 LEFT JOIN t1 ON kid = t2.id WHERE t1.id IS NULL LIMIT 10;
|
||||
email
|
||||
email1
|
||||
|
||||
Reference in New Issue
Block a user