Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.11
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In this page:

      https://mariadb.com/kb/en/spider-server-system-variables/

      for spider_same_server_link I read:

      "Enable linking a table to the same local instance"

      But it doesn't seem to work:

      MariaDB [test]> SET @@global.spider_same_server_link = OFF;
      Query OK, 0 rows affected (0.00 sec)
      
      MariaDB [test]> SET @@session.spider_same_server_link = OFF;
      Query OK, 0 rows affected (0.00 sec)
      
      MariaDB [test]> CREATE OR REPLACE TABLE test.`test_base` (c INT)
          -> ENGINE = InnoDB;
      Query OK, 0 rows affected (0.54 sec)
      
      MariaDB [test]> CREATE OR REPLACE TABLE test.`test_link` (c INT)
          -> ENGINE = SPIDER
          -> COMMENT 'host "127.0.0.1", user "root", password "root", database "test", table "test_base"';
      Query OK, 0 rows affected (0.12 sec)
      
      MariaDB [test]> INSERT INTO test_link VALUES (1);
      Query OK, 1 row affected (1.05 sec)
      
      MariaDB [test]> SELECT * FROM test.test_link;
      +------+
      | c    |
      +------+
      |    1 |
      +------+
      1 row in set (0.00 sec)
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Kentoku Kentoku
                Reporter:
                f_razzoli Federico Razzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: