• Olivier Bertrand's avatar
    - Move DataPath from the MYCAT catalog to the ha_connect handler. Indeed · 74a46726
    Olivier Bertrand authored
      it belongs to each tables and the catalog being share between several
      instances of CONNECT, when a query implied several tables belonging to
      different databases, some where pointing on the wrong database. This
      fix bugs occuring in queries such as:
      INSERT into db1.t1 select * from db2.t2;
      Where the t1 data file was made in db2.
    modified:
      storage/connect/catalog.h
      storage/connect/connect.cc
      storage/connect/filamdbf.cpp
      storage/connect/filamdbf.h
      storage/connect/ha_connect.cc
      storage/connect/ha_connect.h
      storage/connect/mycat.cc
      storage/connect/mycat.h
      storage/connect/plgdbsem.h
      storage/connect/plgdbutl.cpp
      storage/connect/reldef.cpp
      storage/connect/reldef.h
      storage/connect/tabfix.h
      storage/connect/tabfmt.cpp
      storage/connect/tabfmt.h
      storage/connect/tabmul.cpp
    74a46726
reldef.cpp 22.5 KB