Browse Source
- Move DataPath from the MYCAT catalog to the ha_connect handler. Indeed
- Move DataPath from the MYCAT catalog to the ha_connect handler. Indeed
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.cpppull/22/head
16 changed files with 113 additions and 40 deletions
-
10storage/connect/catalog.h
-
7storage/connect/connect.cc
-
4storage/connect/filamdbf.cpp
-
6storage/connect/filamdbf.h
-
39storage/connect/ha_connect.cc
-
3storage/connect/ha_connect.h
-
8storage/connect/mycat.cc
-
6storage/connect/mycat.h
-
3storage/connect/plgdbsem.h
-
34storage/connect/plgdbutl.cpp
-
8storage/connect/reldef.cpp
-
7storage/connect/reldef.h
-
3storage/connect/tabfix.h
-
9storage/connect/tabfmt.cpp
-
4storage/connect/tabfmt.h
-
2storage/connect/tabmul.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue