Creating a pivot table (Connect SE) and selecting from the table works.
Doing a second select the connection dies.
MariaDB [test]> select * from pivottet;
|
ERROR 2013 (HY000): Lost connection to MySQL server during query
|
MariaDB [test]> create table pivottet engine=connect table_type=pivot tabname=salary;
|
Query OK, 0 rows affected (0.02 sec)
|
MariaDB [test]> select * from pivottet;
|
+--------+------+-----+------+-----+
|
| sellet | 1 | 2 | 3 | 4 |
|
+--------+------+-----+------+-----+
|
| 1 | 100 | 300 | 1000 | 0 |
|
| 2 | 1000 | 100 | 0 | 0 |
|
| 3 | 0 | 0 | 0 | 500 |
|
+--------+------+-----+------+-----+
|
3 rows in set (0.00 sec)
|
MariaDB [test]> select * from pivottet;
|
ERROR 2013 (HY000): Lost connection to MySQL server during query
|
That is written into the error log:
Jul 9 10:17:56 localhost mysqld: 130709 10:17:56 [Warning] Aborted connection 264 to db: 'test' user: 'root' host: 'localhost' (Unknown error)
|
Regards
Erkan
{"report":{"fcp":821.1000000238419,"ttfb":274.39999997615814,"pageVisibility":"visible","entityId":24606,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"83795a04-3b52-435a-8d67-baf9a2e65118","navigationType":0,"readyForUser":922.2000000476837,"redirectCount":0,"resourceLoadedEnd":669.7000000476837,"resourceLoadedStart":288.10000002384186,"resourceTiming":[{"duration":17.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":288.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":305.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":18.100000023841858,"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":288.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":306.5,"responseStart":0,"secureConnectionStart":0},{"duration":83,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":288.60000002384186,"connectEnd":288.60000002384186,"connectStart":288.60000002384186,"domainLookupEnd":288.60000002384186,"domainLookupStart":288.60000002384186,"fetchStart":288.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":310,"responseEnd":371.60000002384186,"responseStart":322.7000000476837,"secureConnectionStart":288.60000002384186},{"duration":110.09999990463257,"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":289.3000000715256,"connectEnd":289.3000000715256,"connectStart":289.3000000715256,"domainLookupEnd":289.3000000715256,"domainLookupStart":289.3000000715256,"fetchStart":289.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":310.3000000715256,"responseEnd":399.39999997615814,"responseStart":326.8000000715256,"secureConnectionStart":289.3000000715256},{"duration":45.60000002384186,"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":289.39999997615814,"connectEnd":289.39999997615814,"connectStart":289.39999997615814,"domainLookupEnd":289.39999997615814,"domainLookupStart":289.39999997615814,"fetchStart":289.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":311.8000000715256,"responseEnd":335,"responseStart":334.39999997615814,"secureConnectionStart":289.39999997615814},{"duration":44.699999928474426,"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":289.7000000476837,"connectEnd":289.7000000476837,"connectStart":289.7000000476837,"domainLookupEnd":289.7000000476837,"domainLookupStart":289.7000000476837,"fetchStart":289.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":313.5,"responseEnd":334.39999997615814,"responseStart":333.8000000715256,"secureConnectionStart":289.7000000476837},{"duration":52.699999928474426,"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":289.7000000476837,"connectEnd":289.7000000476837,"connectStart":289.7000000476837,"domainLookupEnd":289.7000000476837,"domainLookupStart":289.7000000476837,"fetchStart":289.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":315.5,"responseEnd":342.39999997615814,"responseStart":341.7000000476837,"secureConnectionStart":289.7000000476837},{"duration":23.40000009536743,"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":289.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":289.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":313.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":55.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":290.10000002384186,"connectEnd":290.10000002384186,"connectStart":290.10000002384186,"domainLookupEnd":290.10000002384186,"domainLookupStart":290.10000002384186,"fetchStart":290.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":315.60000002384186,"responseEnd":345.60000002384186,"responseStart":345.10000002384186,"secureConnectionStart":290.10000002384186},{"duration":24.699999928474426,"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":290.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":290.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":314.89999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":54.700000047683716,"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":290.39999997615814,"connectEnd":290.39999997615814,"connectStart":290.39999997615814,"domainLookupEnd":290.39999997615814,"domainLookupStart":290.39999997615814,"fetchStart":290.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":317.39999997615814,"responseEnd":345.10000002384186,"responseStart":342.5,"secureConnectionStart":290.39999997615814},{"duration":353.89999997615814,"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":308.7000000476837,"connectEnd":308.7000000476837,"connectStart":308.7000000476837,"domainLookupEnd":308.7000000476837,"domainLookupStart":308.7000000476837,"fetchStart":308.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":357.89999997615814,"responseEnd":662.6000000238419,"responseStart":656.8999999761581,"secureConnectionStart":308.7000000476837},{"duration":357.3000000715256,"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":312.39999997615814,"connectEnd":312.39999997615814,"connectStart":312.39999997615814,"domainLookupEnd":312.39999997615814,"domainLookupStart":312.39999997615814,"fetchStart":312.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":425.10000002384186,"responseEnd":669.7000000476837,"responseStart":659.7000000476837,"secureConnectionStart":312.39999997615814},{"duration":210.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":567.8999999761581,"connectEnd":567.8999999761581,"connectStart":567.8999999761581,"domainLookupEnd":567.8999999761581,"domainLookupStart":567.8999999761581,"fetchStart":567.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":743.5,"responseEnd":778.5,"responseStart":777.1000000238419,"secureConnectionStart":567.8999999761581}],"fetchStart":0,"domainLookupStart":74,"domainLookupEnd":82,"connectStart":83,"connectEnd":101,"secureConnectionStart":91,"requestStart":103,"responseStart":274,"responseEnd":312,"domLoading":278,"domInteractive":978,"domContentLoadedEventStart":978,"domContentLoadedEventEnd":1012,"domComplete":1836,"loadEventStart":1836,"loadEventEnd":1836,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":957.5},{"name":"bigPipe.sidebar-id.end","time":958.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":958.3999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":959.8999999761581},{"name":"activityTabFullyLoaded","time":1035.2000000476837}],"measures":[],"correlationId":"31dd29826a3451","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":11,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Sorry erkan, I wrongly thought it was working on ubuntu but it turned
out that it did not and disconnected on the second,
and further, tries to select the table. So this is not closed but not
going to be solved soon because I get no information
on the possible error. For instance, under GDB nothing is told, and
looking at the traces I have done, mysqld disconnects
even before creating the CONNECT thread supposed to handle the query!
Because of this, and also on some valgring warnings, the next version of
CONNECT will not support the PIVOT type, hoping
that will be temporarily...
Regards,
Olivier