1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Strict mode & better warnings

Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
Added checking of date/datetime fields.
If strict mode, give error if we have not given value to field without a default value (for INSERT)
This commit is contained in:
monty@mishka.local
2004-09-28 20:08:00 +03:00
parent 095f7e8740
commit f2941380c4
72 changed files with 1965 additions and 446 deletions

View File

@@ -200,7 +200,7 @@ THD::THD()
#endif
net.last_error[0]=0; // If error on boot
ull=0;
system_thread=cleanup_done=0;
system_thread= cleanup_done= abort_on_warning= 0;
peer_port= 0; // For SHOW PROCESSLIST
transaction.changed_tables = 0;
#ifdef __WIN__