mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.6' into 10.11
This commit is contained in:
@@ -5222,6 +5222,22 @@ int spider_db_mbase_util::append_time_zone(
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
/*
|
||||
iterate over loop_check_queue and build queries for loop check
|
||||
|
||||
The query is in the form of
|
||||
|
||||
set @`spider_lc_.<to_table>` =
|
||||
'-<mac1>-<pid1>-<from_table1>--<mac2>-<pid2>-<from_table2>-...'
|
||||
|
||||
where from_table1, from_table2 etc. are spider tables whose direct
|
||||
or indirect remote data nodes contain to_table.
|
||||
|
||||
e.g. if t0->t1->t2, then the query could be:
|
||||
|
||||
set @`spider_lc_./test/t2` =
|
||||
'-234567890abc-def012-./test/t1--1234567890ab-cdef01-./test/t0-'
|
||||
*/
|
||||
int spider_db_mbase_util::append_loop_check(
|
||||
spider_string *str,
|
||||
SPIDER_CONN *conn
|
||||
|
Reference in New Issue
Block a user