diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-19 18:02:01 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-19 18:02:01 +0200 |
commit | 95b7d92da34a4d16bccdd5e853ede55131e63a49 (patch) | |
tree | 8da7197892548c04e5cc76efe4e3f8ba80050c51 /storage/connect/xindex.cpp | |
parent | 50953a0e9de6ae36a62fc195f3fc97d6d319493e (diff) | |
parent | 187e41697b7e4c43fcfe8e5c01f7cc7ad289f995 (diff) | |
download | mariadb-git-95b7d92da34a4d16bccdd5e853ede55131e63a49.tar.gz |
- Commit merge files (implementing "remote" indexes)
modified:
storage/connect/connect.cc
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
storage/connect/mycat.cc
storage/connect/plgdbsem.h
storage/connect/reldef.h
storage/connect/tabdos.h
storage/connect/tabmysql.cpp
storage/connect/tabmysql.h
storage/connect/tabodbc.cpp
storage/connect/tabodbc.h
storage/connect/xindex.cpp
storage/connect/xtable.h
Diffstat (limited to 'storage/connect/xindex.cpp')
-rwxr-xr-x | storage/connect/xindex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/connect/xindex.cpp b/storage/connect/xindex.cpp index a7576eab9cd..55e0a08b5c2 100755 --- a/storage/connect/xindex.cpp +++ b/storage/connect/xindex.cpp @@ -79,7 +79,7 @@ int PlgMakeIndex(PGLOBAL g, PSZ name, PIXDEF pxdf, bool add) { int rc; PTABLE tablep; - PTDBDOS tdbp; + PTDBASE tdbp; PCATLG cat = PlgGetCatalog(g, true); /*********************************************************************/ @@ -87,13 +87,13 @@ int PlgMakeIndex(PGLOBAL g, PSZ name, PIXDEF pxdf, bool add) /*********************************************************************/ tablep = new(g) XTAB(name); - if (!(tdbp = (PTDBDOS)cat->GetTable(g, tablep))) + if (!(tdbp = (PTDBASE)cat->GetTable(g, tablep))) rc = RC_NF; else if (!tdbp->GetDef()->Indexable()) { sprintf(g->Message, MSG(TABLE_NO_INDEX), name); rc = RC_NF; } else if ((rc = tdbp->MakeIndex(g, pxdf, add)) == RC_INFO) - rc = RC_OK; // No index + rc = RC_OK; // No or remote index return rc; } // end of PlgMakeIndex |