10.8 05050867
|
MariaDB [test]> create table t (a int) partition by hash(a) (partition p1 encrypted= "i will think about it");
|
Query OK, 0 rows affected (0.034 sec)
|
|
MariaDB [test]> create or replace table t (a int) partition by hash(a) (partition p1 encrypted= 42);
|
Query OK, 0 rows affected (0.062 sec)
|
On the table level both would have thrown ER_BAD_OPTION_VALUE.
The practical side of the problem is that values which look meaningful but are in fact incorrect may bypass validation.
For example, on a server without configured encryption, both of
create table t (a int) encrypted=yes;
|
create table t (a int) encrypted=1;
|
will fail – the first one with ER_CANT_CREATE_TABLE and a bunch of warnings, because there is no encryption available, and the second one with ER_BAD_OPTION_VALUE because "1" is in fact not a valid value.
However, with the same options on the partition level
create table t (a int) partition by hash(a) (partition p0 encrypted=yes);
|
create table t (a int) partition by hash(a) (partition p0 encrypted=1);
|
the first one will again fail with ER_CANT_CREATE_TABLE, but the second one will work, giving the impression that an encrypted partition has been created.
- is caused by
-
MDEV-5271
Support engine-defined attributes per partition
-
-
Closed
There are no comments yet on this issue.
{"report":{"fcp":829.1000001430511,"ttfb":226.80000019073486,"pageVisibility":"visible","entityId":107132,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"60312aef-2a36-4b66-ba99-6317a696b22d","navigationType":0,"readyForUser":905.7000000476837,"redirectCount":0,"resourceLoadedEnd":950.1000001430511,"resourceLoadedStart":235.40000009536743,"resourceTiming":[{"duration":23,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":235.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":235.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":258.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":22.899999856948853,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":235.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":235.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":258.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":78.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":236,"connectEnd":236,"connectStart":236,"domainLookupEnd":236,"domainLookupStart":236,"fetchStart":236,"redirectEnd":0,"redirectStart":0,"requestStart":236,"responseEnd":314.80000019073486,"responseStart":314.80000019073486,"secureConnectionStart":236},{"duration":156.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":236.5,"connectEnd":236.5,"connectStart":236.5,"domainLookupEnd":236.5,"domainLookupStart":236.5,"fetchStart":236.5,"redirectEnd":0,"redirectStart":0,"requestStart":236.5,"responseEnd":393.2000000476837,"responseStart":393.2000000476837,"secureConnectionStart":236.5},{"duration":160,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":236.70000004768372,"connectEnd":236.70000004768372,"connectStart":236.70000004768372,"domainLookupEnd":236.70000004768372,"domainLookupStart":236.70000004768372,"fetchStart":236.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":236.70000004768372,"responseEnd":396.7000000476837,"responseStart":396.7000000476837,"secureConnectionStart":236.70000004768372},{"duration":160.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":236.90000009536743,"connectEnd":236.90000009536743,"connectStart":236.90000009536743,"domainLookupEnd":236.90000009536743,"domainLookupStart":236.90000009536743,"fetchStart":236.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":236.90000009536743,"responseEnd":397.10000014305115,"responseStart":397.10000014305115,"secureConnectionStart":236.90000009536743},{"duration":160.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":237,"connectEnd":237,"connectStart":237,"domainLookupEnd":237,"domainLookupStart":237,"fetchStart":237,"redirectEnd":0,"redirectStart":0,"requestStart":237,"responseEnd":397.40000009536743,"responseStart":397.40000009536743,"secureConnectionStart":237},{"duration":221.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":237.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":459.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":160.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":237.40000009536743,"connectEnd":237.40000009536743,"connectStart":237.40000009536743,"domainLookupEnd":237.40000009536743,"domainLookupStart":237.40000009536743,"fetchStart":237.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":237.40000009536743,"responseEnd":397.90000009536743,"responseStart":397.90000009536743,"secureConnectionStart":237.40000009536743},{"duration":221.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":237.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":459.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":160.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":237.70000004768372,"connectEnd":237.70000004768372,"connectStart":237.70000004768372,"domainLookupEnd":237.70000004768372,"domainLookupStart":237.70000004768372,"fetchStart":237.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":237.70000004768372,"responseEnd":398.40000009536743,"responseStart":398.40000009536743,"secureConnectionStart":237.70000004768372},{"duration":379,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":244.30000019073486,"connectEnd":244.30000019073486,"connectStart":244.30000019073486,"domainLookupEnd":244.30000019073486,"domainLookupStart":244.30000019073486,"fetchStart":244.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":244.30000019073486,"responseEnd":623.3000001907349,"responseStart":623.3000001907349,"secureConnectionStart":244.30000019073486},{"duration":527.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":244.80000019073486,"connectEnd":244.80000019073486,"connectStart":244.80000019073486,"domainLookupEnd":244.80000019073486,"domainLookupStart":244.80000019073486,"fetchStart":244.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":244.80000019073486,"responseEnd":772,"responseStart":772,"secureConnectionStart":244.80000019073486},{"duration":152.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":470.90000009536743,"connectEnd":470.90000009536743,"connectStart":470.90000009536743,"domainLookupEnd":470.90000009536743,"domainLookupStart":470.90000009536743,"fetchStart":470.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":470.90000009536743,"responseEnd":623,"responseStart":623,"secureConnectionStart":470.90000009536743},{"duration":78.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":745,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":745,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":823.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":194.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":745.9000000953674,"connectEnd":745.9000000953674,"connectStart":745.9000000953674,"domainLookupEnd":745.9000000953674,"domainLookupStart":745.9000000953674,"fetchStart":745.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":745.9000000953674,"responseEnd":940.8000001907349,"responseStart":940.8000001907349,"secureConnectionStart":745.9000000953674},{"duration":136,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":822.6000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":822.6000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":958.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":203.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":746.3000001907349,"connectEnd":746.3000001907349,"connectStart":746.3000001907349,"domainLookupEnd":746.3000001907349,"domainLookupStart":746.3000001907349,"fetchStart":746.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":746.3000001907349,"responseEnd":950.1000001430511,"responseStart":950.1000001430511,"secureConnectionStart":746.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":73,"responseStart":227,"responseEnd":244,"domLoading":230,"domInteractive":962,"domContentLoadedEventStart":962,"domContentLoadedEventEnd":1008,"domComplete":1279,"loadEventStart":1279,"loadEventEnd":1279,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":942.1000001430511},{"name":"bigPipe.sidebar-id.end","time":942.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":943},{"name":"bigPipe.activity-panel-pipe-id.end","time":943.5},{"name":"activityTabFullyLoaded","time":1021.9000000953674}],"measures":[],"correlationId":"238606af6156a1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}