Skip to content

Commit afecdd2

Browse files
committed
- Fix and error causing remote indexing to fail when for not unique index.
Was experienced with MYSQL, ODBC and JDBC tables. modified: storage/connect/connect.cc - Fix MDEV-9966 (zero lines returned) modified: storage/connect/ha_connect.cc modified: storage/federatedx/ha_federatedx.cc - Typo modified: storage/connect/odbconn.cpp modified: storage/connect/reldef.cpp modified: storage/connect/tabmysql.cpp - Add new table type JDBC modified: storage/connect/ha_connect.cc modified: storage/connect/mycat.cc modified: storage/connect/plgdbsem.h modified: storage/connect/plgdbutl.cpp modified: storage/connect/tabodbc.cpp added: storage/connect/jdbccat.h added: storage/connect/jdbconn.cpp added: storage/connect/jdbconn.h added: storage/connect/tabjdbc.cpp added: storage/connect/tabjdbc.h
1 parent a1b2a28 commit afecdd2

File tree

14 files changed

+4444
-94
lines changed

14 files changed

+4444
-94
lines changed

storage/connect/connect.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ RCODE CntIndexRead(PGLOBAL g, PTDB ptdb, OPVAL op,
752752
return RC_FX;
753753
} else if (x == 2) {
754754
// Remote index
755-
if (ptdb->ReadKey(g, op, kr))
755+
if (op != OP_SAME && ptdb->ReadKey(g, op, kr))
756756
return RC_FX;
757757

758758
goto rnd;

0 commit comments

Comments
 (0)