Type:
Technical task
Priority:
Major
Resolution:
Fixed
Affects Version/s:
None
Find and fix problems of running main test suite with --view-protocol.
Note: It is "umbrella" task to find real problem and connect them here.
includes
MDEV-27871
View is created with wrong column name if column name > 64 symbols
Closed
MDEV-27872
Deleting database failed when running test with view-protocol
Open
MDEV-27873
Test main.mysqlcheck fails with view-protocol
Open
MDEV-27904
Illegal mix of collations (utf8mb3_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='
Open
MDEV-27938
Error on execution 'select from' view with 'GROUP BY LEFT('2018-08-24', 100) '
Open
MDEV-27944
View-protocol fails if database was changed
Closed
MDEV-27945
Select from view with multi-byte charsets gives incorrect result
Open
MDEV-27957
Select from view with subselect fails with lost connection
Closed
MDEV-28017
Illegal mix of collations (cp1251_general_ci,IMPLICIT), (latin1_swedish_ci,COERCIBLE), (latin1_swedish_ci,COERCIBLE) for operation 'between'
Closed
MDEV-28535
View is created with wrong column name if there are more than one same column name or column name is empty
Closed
MDEV-28536
Incorrect sequence in view column processing created as select with ROLLUP and repeated columns in GROUP BY
Open
MDEV-28538
RELEASE_LOCK return NULL in the definition of the view if select statement has GROUP BY
Open
MDEV-28570
Select from view fails if definition of view has 'HAVING' in query
Closed
MDEV-28571
Select from view fails if definition of view has aggregate function ( like 'GROUP_CONCAT(COUNT(a))' ) in query
Closed
MDEV-28573
View has to fail with error ER_SUBQUERY_NO_1_ROW (1242) but it doesn't
Closed
MDEV-28585
Wrong result for view defined as SELECT ROW(1,2,3) = (SELECT 1,2,NULL)
Open
MDEV-28602
Wrong result with outer join, merged derived table and view
Closed
MDEV-28603
Invalid view when its definition uses TVC as single-value subquery
Closed
MDEV-28643
view protocol fails due to different column name
Closed
MDEV-28649
json_array(false) in the definition of view return 0 instead of "true"
In Review
MDEV-28651
quote(NULL) returns incorrect result in view ('NU' instead of 'NULL')
Closed
MDEV-28652
SUBSTRING(str,pos,len) returns incorrect result in view (returns an empty string)
Closed
MDEV-28659
View returns wrong value for big digits nuber
Open
MDEV-28660
TRUNCATE(X,D) returns incorrect result in view
Open
MDEV-28661
MIN(X) returns incorrect result in view
Open
MDEV-28673
View returns different value for min(year) function
Open
MDEV-28677
UDF returns wrong string value in view
Open
MDEV-28678
UDF + ORDER BY returns twice the value in view
Closed
MDEV-28696
View created as "select b''; " references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
Closed
MDEV-29207
Update view have to fail with error ER_VIEW_CHECK_FAILED (1369), but it doesn't
Open
MDEV-29224
Wrong result with aggregate function in uncorrelated SELECT subquery in view definition
Closed
MDEV-29231
View returns wrong value with SQL_MODE 'NO_BACKSLASH_ESCAPES'
Stalled
MDEV-29278
Failed with wrong errno 1205: 'Lock wait timeout exceeded; try restarting transaction', instead of 1213..
Open
MDEV-29290
Hex value instead char in definition of view gives incorrect result
Open
MDEV-29295
Double convert of ',' in view definition gives incorrect result
Open
MDEV-29524
"-0000000000000001" changes to "-1" in view definition, so type changes from bigint to int
Open
MDEV-29525
CAST in view definition returns string instead of NULL on warning and gives incorrect round
Open
MDEV-29526
ROUND(X,D) returns incorrect result in view when D>9
Open
MDEV-29534
In view FROM_UNIXTIME adds .000000 in the result
Open
MDEV-29537
Creation of view with UNION and SELECT ... FOR UPDATE in definition is failed with error
Closed
MDEV-29542
The first character in column name has lowercase instead of uppercase in view created on table " mysql.user"
Closed
MDEV-29552
LEFT and RIGHT with big value for parameter 'len' >0 return empty value in view
Closed
MDEV-29553
SQL_MODE=ORACLE for INTERSECT doesn't work for view
Open
MDEV-29554
View created on view with order by does not keep sorting
Open
MDEV-29601
View in view protocol uses incorrect character set with util connection
Closed
MDEV-29645
OFFSET doesn't work with view
Open
MDEV-29646
sformat('Num [{:20}]', 42) gives incorrect result in view
Closed
MDEV-29647
ROW_NUMBER is not 0 for warnings in case without row in view
Open
MDEV-30229
In view definition (in .frm) 'multipoint' is changed to 'geometrycollection' that causes internal error
Closed
MDEV-35452
Always failing spider tests on Debug Last-N builder with --view-protocol
Open
MDEV-35495
ER_NATIVE_FCT_NAME_COLLISION works differently in various protocols
Open
MDEV-36385
view-protocol: sys_vars.slave_parallel_threads_basic
Open
MDEV-36386
view-protocol: connect tests connect.ini connect.bson_udf connect.json_udf connect.csv connect.json_udf_bin connect.grant
Open
MDEV-36387
federated.federatedx_create_handlers fails under view protocol
Open
MDEV-36388
rpl.rpl_semi_sync_wait_point incorrect result under view protocol
Open
relates to
MDEV-17951
Assertion `thd->transaction.stmt.is_empty() || thd->in_sub_stmt || (thd->state_flags & Open_tables_state::BACKUPS_AVAIL)' failed in close_thread_tables on slave
Confirmed
MDEV-28475
Aggregate functions does not work when it is called from views
Open
MDEV-31407
Add aliases in opt_trace.test for long column name for removing "--disable-view-protocol"
Closed
MDEV-31408
Second SELECT from VIEW based on information_schema.optimizer_trace gives NULL result
Closed
MDEV-33936
Select from view defined as SELECT DATE_FORMAT(..., %h) gives incorrect result
Open
MDEV-33942
View cuts off the end of string with the utf8 character set in INSERT function
Closed
Show 56 more links (50 includes, 6 relates to)
{"report":{"fcp":1326.3999996185303,"ttfb":368.69999980926514,"pageVisibility":"visible","entityId":107431,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"4199d371-8c6a-4799-8f5d-8e8b5f1df287","navigationType":0,"readyForUser":1480.5999999046326,"redirectCount":0,"resourceLoadedEnd":1614.2999997138977,"resourceLoadedStart":373.7999997138977,"resourceTiming":[{"duration":404.7000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":373.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":373.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":778.5,"responseStart":0,"secureConnectionStart":0},{"duration":404.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":374.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":374.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":778.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":413.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":374.3999996185303,"connectEnd":374.3999996185303,"connectStart":374.3999996185303,"domainLookupEnd":374.3999996185303,"domainLookupStart":374.3999996185303,"fetchStart":374.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":374.3999996185303,"responseEnd":787.7999997138977,"responseStart":787.6999998092651,"secureConnectionStart":374.3999996185303},{"duration":471.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":374.5,"connectEnd":374.5,"connectStart":374.5,"domainLookupEnd":374.5,"domainLookupStart":374.5,"fetchStart":374.5,"redirectEnd":0,"redirectStart":0,"requestStart":374.5,"responseEnd":846.3999996185303,"responseStart":846.3999996185303,"secureConnectionStart":374.5},{"duration":476.09999990463257,"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":374.69999980926514,"connectEnd":374.69999980926514,"connectStart":374.69999980926514,"domainLookupEnd":374.69999980926514,"domainLookupStart":374.69999980926514,"fetchStart":374.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":374.69999980926514,"responseEnd":850.7999997138977,"responseStart":850.7999997138977,"secureConnectionStart":374.69999980926514},{"duration":476.8999996185303,"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":375,"connectEnd":375,"connectStart":375,"domainLookupEnd":375,"domainLookupStart":375,"fetchStart":375,"redirectEnd":0,"redirectStart":0,"requestStart":375,"responseEnd":851.8999996185303,"responseStart":851.8999996185303,"secureConnectionStart":375},{"duration":477.09999990463257,"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":375.19999980926514,"connectEnd":375.19999980926514,"connectStart":375.19999980926514,"domainLookupEnd":375.19999980926514,"domainLookupStart":375.19999980926514,"fetchStart":375.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":375.19999980926514,"responseEnd":852.2999997138977,"responseStart":852.2999997138977,"secureConnectionStart":375.19999980926514},{"duration":562.6000003814697,"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":375.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":938,"responseStart":0,"secureConnectionStart":0},{"duration":477.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":375.5,"connectEnd":375.5,"connectStart":375.5,"domainLookupEnd":375.5,"domainLookupStart":375.5,"fetchStart":375.5,"redirectEnd":0,"redirectStart":0,"requestStart":375.5,"responseEnd":852.7999997138977,"responseStart":852.7999997138977,"secureConnectionStart":375.5},{"duration":562.4000000953674,"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":375.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":938.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":477.7000002861023,"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":375.7999997138977,"connectEnd":375.7999997138977,"connectStart":375.7999997138977,"domainLookupEnd":375.7999997138977,"domainLookupStart":375.7999997138977,"fetchStart":375.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":375.7999997138977,"responseEnd":853.5,"responseStart":853.5,"secureConnectionStart":375.7999997138977},{"duration":741.0999999046326,"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":386.5,"connectEnd":386.5,"connectStart":386.5,"domainLookupEnd":386.5,"domainLookupStart":386.5,"fetchStart":386.5,"redirectEnd":0,"redirectStart":0,"requestStart":386.5,"responseEnd":1127.5999999046326,"responseStart":1127.5999999046326,"secureConnectionStart":386.5},{"duration":1204.5999999046326,"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":390.2999997138977,"connectEnd":390.2999997138977,"connectStart":390.2999997138977,"domainLookupEnd":390.2999997138977,"domainLookupStart":390.2999997138977,"fetchStart":390.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":390.2999997138977,"responseEnd":1594.8999996185303,"responseStart":1594.8999996185303,"secureConnectionStart":390.2999997138977},{"duration":178.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":950.5999999046326,"connectEnd":950.5999999046326,"connectStart":950.5999999046326,"domainLookupEnd":950.5999999046326,"domainLookupStart":950.5999999046326,"fetchStart":950.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":950.5999999046326,"responseEnd":1128.6999998092651,"responseStart":1128.6999998092651,"secureConnectionStart":950.5999999046326},{"duration":341.19999980926514,"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&whisper-enabled=true","startTime":1254.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1254.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1595.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":353,"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&whisper-enabled=true","startTime":1255.7999997138977,"connectEnd":1255.7999997138977,"connectStart":1255.7999997138977,"domainLookupEnd":1255.7999997138977,"domainLookupStart":1255.7999997138977,"fetchStart":1255.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1255.7999997138977,"responseEnd":1608.7999997138977,"responseStart":1608.7999997138977,"secureConnectionStart":1255.7999997138977},{"duration":358.09999990463257,"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&whisper-enabled=true","startTime":1256.1999998092651,"connectEnd":1256.1999998092651,"connectStart":1256.1999998092651,"domainLookupEnd":1256.1999998092651,"domainLookupStart":1256.1999998092651,"fetchStart":1256.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1256.1999998092651,"responseEnd":1614.2999997138977,"responseStart":1614.2999997138977,"secureConnectionStart":1256.1999998092651},{"duration":413.80000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1319.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1319.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1733,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":130,"responseStart":368,"responseEnd":390,"domLoading":372,"domInteractive":1644,"domContentLoadedEventStart":1644,"domContentLoadedEventEnd":1723,"domComplete":2127,"loadEventStart":2127,"loadEventEnd":2128,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1598.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1601.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1601.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":1603.5},{"name":"activityTabFullyLoaded","time":1754.5}],"measures":[],"correlationId":"cb574861cb735e","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":173,"dbReadsTimeInMs":63,"dbConnsTimeInMs":79,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Merge 2 commits together and OK to push!