mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
NULL values when there is no DEFAULT - Merged the alter_non_null test case to alter_not_null test case. Renamed the alter_non_null_debug to alter_not_null_debug test case
11 lines
209 B
Plaintext
11 lines
209 B
Plaintext
--source alter_sql_mode.inc
|
|
|
|
let $sql_mode = `SELECT @@SQL_MODE`;
|
|
let $error_code = 0;
|
|
|
|
if ($sql_mode == "STRICT_TRANS_TABLES") {
|
|
let $error_code = WARN_DATA_TRUNCATED;
|
|
}
|
|
|
|
--source include/alter_not_null.inc
|