install soname 'ha_connect';
|
|
create table t1 (i int) engine=Connect table_type=XML;
|
select * from information_schema.tables where create_options like '%table_type=XML%';
|
The problem happens with CONNECT tables if the XML file does not exist upon the query from I_S.
Stack trace from 10.1 commit 8c2fd5537b1029a514591f622674f1ceb04fa67e
|
2016-03-15 23:40:32 140426018372352 [Note] CONNECT: Version 1.04.0005 January 24, 2016
|
/bld/10.1/mysql-test/var/mysqld.1/data/./test/t1.xml:1: parser error : Document is empty
|
|
^
|
mysqld: /src/10.1/sql/sql_error.h:705: const char* Diagnostics_area::message() const: Assertion `m_status == DA_ERROR || m_status == DA_OK' failed.
|
160315 23:40:32 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007fb778c441d2 in __assert_fail () from /lib64/libc.so.6
|
#8 0x000055d330d4ac53 in Diagnostics_area::message (this=0x7fb774bce8c8) at /src/10.1/sql/sql_error.h:705
|
#9 0x000055d330e924b5 in get_schema_tables_record (thd=0x7fb774bc9af0, tables=0x7fb76ab2fcc8, table=0x7fb76f4b4088, res=false, db_name=0x7fb76f458e50, table_name=0x7fb76aae3db0) at /src/10.1/sql/sql_show.cc:5156
|
#10 0x000055d330e8f469 in fill_schema_table_by_open (thd=0x7fb774bc9af0, is_show_fields_or_keys=false, table=0x7fb76f4b4088, schema_table=0x55d331ec77a0 <schema_tables+1920>, orig_db_name=0x7fb76f458e50, orig_table_name=0x7fb76aae3db0, open_tables_state_backup=0x7fb77af10b10, can_deadlock=false) at /src/10.1/sql/sql_show.cc:4194
|
#11 0x000055d330e9099b in get_all_tables (thd=0x7fb774bc9af0, tables=0x7fb76f4530f8, cond=0x7fb76f453950) at /src/10.1/sql/sql_show.cc:4781
|
#12 0x000055d330e9f50c in get_schema_tables_result (join=0x7fb76f455370, executed_place=PROCESSED_BY_JOIN_EXEC) at /src/10.1/sql/sql_show.cc:8111
|
#13 0x000055d330e4086e in JOIN::exec_inner (this=0x7fb76f455370) at /src/10.1/sql/sql_select.cc:2670
|
#14 0x000055d330e3ff17 in JOIN::exec (this=0x7fb76f455370) at /src/10.1/sql/sql_select.cc:2518
|
#15 0x000055d330e434ca in mysql_select (thd=0x7fb774bc9af0, rref_pointer_array=0x7fb774bcde80, tables=0x7fb76f4530f8, wild_num=1, fields=..., conds=0x7fb76f453950, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7fb76f455350, unit=0x7fb774bcd508, select_lex=0x7fb774bcdc08) at /src/10.1/sql/sql_select.cc:3451
|
#16 0x000055d330e38f6f in handle_select (thd=0x7fb774bc9af0, lex=0x7fb774bcd440, result=0x7fb76f455350, setup_tables_done_option=0) at /src/10.1/sql/sql_select.cc:384
|
#17 0x000055d330e0929a in execute_sqlcom_select (thd=0x7fb774bc9af0, all_tables=0x7fb76f4530f8) at /src/10.1/sql/sql_parse.cc:5936
|
#18 0x000055d330dff076 in mysql_execute_command (thd=0x7fb774bc9af0) at /src/10.1/sql/sql_parse.cc:2962
|
#19 0x000055d330e0c8e2 in mysql_parse (thd=0x7fb774bc9af0, rawbuf=0x7fb76f452e88 "select * from information_schema.tables where create_options like '%table_type=XML%'", length=84, parser_state=0x7fb77af125e0) at /src/10.1/sql/sql_parse.cc:7336
|
#20 0x000055d330dfb2dd in dispatch_command (command=COM_QUERY, thd=0x7fb774bc9af0, packet=0x7fb773dc97f1 "select * from information_schema.tables where create_options like '%table_type=XML%'", packet_length=84) at /src/10.1/sql/sql_parse.cc:1488
|
#21 0x000055d330dfa00f in do_command (thd=0x7fb774bc9af0) at /src/10.1/sql/sql_parse.cc:1109
|
#22 0x000055d330f2fc38 in do_handle_one_connection (thd_arg=0x7fb774bc9af0) at /src/10.1/sql/sql_connect.cc:1349
|
#23 0x000055d330f2f99c in handle_one_connection (arg=0x7fb774bc9af0) at /src/10.1/sql/sql_connect.cc:1261
|
#24 0x000055d331637f4a in pfs_spawn_thread (arg=0x7fb7737b0bf0) at /src/10.1/storage/perfschema/pfs.cc:1860
|
#25 0x00007fb77ab8d0a4 in start_thread () from /lib64/libpthread.so.0
|
#26 0x00007fb778cfb04d in clone () from /lib64/libc.so.6
|
{"report":{"fcp":737.5999994277954,"ttfb":206.69999980926514,"pageVisibility":"visible","entityId":56163,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"bec20d15-409e-44e0-87a5-cad807584f1c","navigationType":0,"readyForUser":820.5,"redirectCount":0,"resourceLoadedEnd":572.0999994277954,"resourceLoadedStart":212.69999980926514,"resourceTiming":[{"duration":7,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":212.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":219.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":7.09999942779541,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":213,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":220.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":85.90000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":213.0999994277954,"connectEnd":213.0999994277954,"connectStart":213.0999994277954,"domainLookupEnd":213.0999994277954,"domainLookupStart":213.0999994277954,"fetchStart":213.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":213.0999994277954,"responseEnd":299,"responseStart":299,"secureConnectionStart":213.0999994277954},{"duration":111.90000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":213.39999961853027,"connectEnd":213.39999961853027,"connectStart":213.39999961853027,"domainLookupEnd":213.39999961853027,"domainLookupStart":213.39999961853027,"fetchStart":213.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":213.39999961853027,"responseEnd":325.30000019073486,"responseStart":325.30000019073486,"secureConnectionStart":213.39999961853027},{"duration":115.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":213.69999980926514,"connectEnd":213.69999980926514,"connectStart":213.69999980926514,"domainLookupEnd":213.69999980926514,"domainLookupStart":213.69999980926514,"fetchStart":213.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":213.69999980926514,"responseEnd":329.5999994277954,"responseStart":329.5999994277954,"secureConnectionStart":213.69999980926514},{"duration":116.29999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":213.80000019073486,"connectEnd":213.80000019073486,"connectStart":213.80000019073486,"domainLookupEnd":213.80000019073486,"domainLookupStart":213.80000019073486,"fetchStart":213.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":213.80000019073486,"responseEnd":330.0999994277954,"responseStart":330.0999994277954,"secureConnectionStart":213.80000019073486},{"duration":116.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":214,"connectEnd":214,"connectStart":214,"domainLookupEnd":214,"domainLookupStart":214,"fetchStart":214,"redirectEnd":0,"redirectStart":0,"requestStart":214,"responseEnd":330.3999996185303,"responseStart":330.3999996185303,"secureConnectionStart":214},{"duration":118,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":214.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":332.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":116.59999942779541,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":214.30000019073486,"connectEnd":214.30000019073486,"connectStart":214.30000019073486,"domainLookupEnd":214.30000019073486,"domainLookupStart":214.30000019073486,"fetchStart":214.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":214.30000019073486,"responseEnd":330.8999996185303,"responseStart":330.8999996185303,"secureConnectionStart":214.30000019073486},{"duration":117.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":214.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":332.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":116.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":214.69999980926514,"connectEnd":214.69999980926514,"connectStart":214.69999980926514,"domainLookupEnd":214.69999980926514,"domainLookupStart":214.69999980926514,"fetchStart":214.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":214.69999980926514,"responseEnd":331.5999994277954,"responseStart":331.5999994277954,"secureConnectionStart":214.69999980926514},{"duration":133.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":215.5999994277954,"connectEnd":215.5999994277954,"connectStart":215.5999994277954,"domainLookupEnd":215.5999994277954,"domainLookupStart":215.5999994277954,"fetchStart":215.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":215.5999994277954,"responseEnd":348.69999980926514,"responseStart":348.69999980926514,"secureConnectionStart":215.5999994277954},{"duration":356.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":215.69999980926514,"connectEnd":215.69999980926514,"connectStart":215.69999980926514,"domainLookupEnd":215.69999980926514,"domainLookupStart":215.69999980926514,"fetchStart":215.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":215.69999980926514,"responseEnd":572.0999994277954,"responseStart":572.0999994277954,"secureConnectionStart":215.69999980926514}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":43,"responseStart":207,"responseEnd":209,"domLoading":211,"domInteractive":921,"domContentLoadedEventStart":921,"domContentLoadedEventEnd":968,"domComplete":1911,"loadEventStart":1911,"loadEventEnd":1913,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":895.1999998092651},{"name":"bigPipe.sidebar-id.end","time":896},{"name":"bigPipe.activity-panel-pipe-id.start","time":896.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":898.8999996185303},{"name":"activityTabFullyLoaded","time":978.3999996185303}],"measures":[],"correlationId":"a63c3d906b5774","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":102,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}