-
Bug
-
-
Major
-
Resolution:
Won't Fix
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
-
-
-
Normally DEFAULT NULL is not allowed for NOT NULL columns:
MariaDB [test]> create table t1 (a int not null default null);
|
ERROR 1067 (42000): Invalid default value for 'a'
|
MariaDB [test]> create table t1 (a int default null primary key);
|
ERROR 1067 (42000): Invalid default value for 'a'
|
But this error condition is not always detected and sometimes DEFAULT NULL is silently ignored:
MariaDB [test]> create table t1 (a int default null, primary key (a));
|
Query OK, 0 rows affected (0.014 sec)
|
|
MariaDB [test]> show create table t1\G
|
*************************** 1. row ***************************
|
Table: t1
|
Create Table: CREATE TABLE `t1` (
|
`a` int(11) NOT NULL,
|
PRIMARY KEY (`a`)
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
1 row in set (0.001 sec)
|
- blocks
-
MDEV-29075
Changing explicit_defaults_for_timestamp within stored procedure works inconsistently
-
-
Closed
{"report":{"fcp":735.7000000476837,"ttfb":128,"pageVisibility":"visible","entityId":113309,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ddc2cf05-f7d5-40ae-8c87-68ea19d257c5","navigationType":0,"readyForUser":795.2000000476837,"redirectCount":0,"resourceLoadedEnd":705.0999999046326,"resourceLoadedStart":133.89999985694885,"resourceTiming":[{"duration":136.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":133.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":133.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":136.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":134.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":145.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":134.39999985694885,"connectEnd":134.39999985694885,"connectStart":134.39999985694885,"domainLookupEnd":134.39999985694885,"domainLookupStart":134.39999985694885,"fetchStart":134.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":134.39999985694885,"responseEnd":279.7000000476837,"responseStart":279.7000000476837,"secureConnectionStart":134.39999985694885},{"duration":216.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":134.39999985694885,"connectEnd":134.39999985694885,"connectStart":134.39999985694885,"domainLookupEnd":134.39999985694885,"domainLookupStart":134.39999985694885,"fetchStart":134.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":134.39999985694885,"responseEnd":351,"responseStart":351,"secureConnectionStart":134.39999985694885},{"duration":220.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":134.5,"connectEnd":134.5,"connectStart":134.5,"domainLookupEnd":134.5,"domainLookupStart":134.5,"fetchStart":134.5,"redirectEnd":0,"redirectStart":0,"requestStart":134.5,"responseEnd":354.7999999523163,"responseStart":354.7999999523163,"secureConnectionStart":134.5},{"duration":221.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":134.59999990463257,"connectEnd":134.59999990463257,"connectStart":134.59999990463257,"domainLookupEnd":134.59999990463257,"domainLookupStart":134.59999990463257,"fetchStart":134.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":134.59999990463257,"responseEnd":356.39999985694885,"responseStart":356.39999985694885,"secureConnectionStart":134.59999990463257},{"duration":222.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":134.70000004768372,"connectEnd":134.70000004768372,"connectStart":134.70000004768372,"domainLookupEnd":134.70000004768372,"domainLookupStart":134.70000004768372,"fetchStart":134.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":134.70000004768372,"responseEnd":357.5,"responseStart":357.5,"secureConnectionStart":134.70000004768372},{"duration":223.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":134.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":134.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":358.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":223.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":134.89999985694885,"connectEnd":134.89999985694885,"connectStart":134.89999985694885,"domainLookupEnd":134.89999985694885,"domainLookupStart":134.89999985694885,"fetchStart":134.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":134.89999985694885,"responseEnd":358.7000000476837,"responseStart":358.7000000476837,"secureConnectionStart":134.89999985694885},{"duration":224.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":135,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":135,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":224.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":135.09999990463257,"connectEnd":135.09999990463257,"connectStart":135.09999990463257,"domainLookupEnd":135.09999990463257,"domainLookupStart":135.09999990463257,"fetchStart":135.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":135.09999990463257,"responseEnd":359.89999985694885,"responseStart":359.89999985694885,"secureConnectionStart":135.09999990463257},{"duration":417.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":135.79999995231628,"connectEnd":135.79999995231628,"connectStart":135.79999995231628,"domainLookupEnd":135.79999995231628,"domainLookupStart":135.79999995231628,"fetchStart":135.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":135.79999995231628,"responseEnd":553.3999998569489,"responseStart":553.3999998569489,"secureConnectionStart":135.79999995231628},{"duration":569.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":135.89999985694885,"connectEnd":135.89999985694885,"connectStart":135.89999985694885,"domainLookupEnd":135.89999985694885,"domainLookupStart":135.89999985694885,"fetchStart":135.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":135.89999985694885,"responseEnd":705.0999999046326,"responseStart":705,"secureConnectionStart":135.89999985694885},{"duration":146.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":490.2000000476837,"connectEnd":490.2000000476837,"connectStart":490.2000000476837,"domainLookupEnd":490.2000000476837,"domainLookupStart":490.2000000476837,"fetchStart":490.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":490.2000000476837,"responseEnd":636.7999999523163,"responseStart":636.7999999523163,"secureConnectionStart":490.2000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":10,"responseStart":128,"responseEnd":132,"domLoading":131,"domInteractive":846,"domContentLoadedEventStart":846,"domContentLoadedEventEnd":878,"domComplete":1128,"loadEventStart":1128,"loadEventEnd":1128,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":830.2000000476837},{"name":"bigPipe.sidebar-id.end","time":831.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":831.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":832},{"name":"activityTabFullyLoaded","time":889.0999999046326}],"measures":[],"correlationId":"ef954f7f191ab1","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":67,"dbReadsTimeInMs":12,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://mariadb.com/kb/en/primary-keys-with-nullable-columns/