[MDEV-30542] Update the spider self_reference test to include a case of circular referencing of length > 0 Created: 2023-02-02 Updated: 2023-07-26 Resolved: 2023-04-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Fix Version/s: | 11.1.1, 10.11.3, 11.0.2, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Yuchen Pei | Assignee: | Yuchen Pei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The self_reference test added in commit 23c8adda749 for |
| Comments |
| Comment by Yuchen Pei [ 2023-02-02 ] | |||||||||||||||||||||||||||||||
|
I thought it would be somewhat trivial to write a test case for this, at least when all tables are on the same server, but I'm getting mysqltest: At line 27: query 'SELECT a FROM tbl_a' failed: <Unknown> (12720): Host:localhost and Socket:/home/ycp/source/mariadb-server/mdev-30542/build/mysql-test/var/tmp/mysqld.1.1.sock aim self server. Please change spider_same_server_link parameter if this link is required. despite spider_same_server_link is on for the following case.
| |||||||||||||||||||||||||||||||
| Comment by Yuchen Pei [ 2023-04-03 ] | |||||||||||||||||||||||||||||||
|
Here's a simple test that works - place it under storage/spider/mysql-test/spider/bugfix/t/. I came up with it while working on
| |||||||||||||||||||||||||||||||
| Comment by Yuchen Pei [ 2023-04-14 ] | |||||||||||||||||||||||||||||||
|
Hi holyfoot, PTAL thanks | |||||||||||||||||||||||||||||||
| Comment by Alexey Botchkov [ 2023-04-18 ] | |||||||||||||||||||||||||||||||
|
looks ok to push. | |||||||||||||||||||||||||||||||
| Comment by Yuchen Pei [ 2023-04-19 ] | |||||||||||||||||||||||||||||||
|
Thanks for the review, pushed to 10.5 | |||||||||||||||||||||||||||||||
| Comment by Yuchen Pei [ 2023-06-28 ] | |||||||||||||||||||||||||||||||
|
Pushed a trivial fixup https://github.com/MariaDB/server/commit/24faa5de16c |