diff options
Diffstat (limited to 'storage/connect/reldef.cpp')
-rw-r--r-- | storage/connect/reldef.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/connect/reldef.cpp b/storage/connect/reldef.cpp index 50c8b1ffc29..95069baf76e 100644 --- a/storage/connect/reldef.cpp +++ b/storage/connect/reldef.cpp @@ -228,10 +228,10 @@ bool TABDEF::Define(PGLOBAL g, PCATLG cat, { int poff = 0; - Name = (PSZ)name; - Schema = (PSZ)schema; + Hc = ((MYCAT*)cat)->GetHandler(); + Name = (PSZ)name; + Schema = (PSZ)Hc->GetDBName(schema); Cat = cat; - Hc = ((MYCAT*)cat)->GetHandler(); Catfunc = GetFuncID(GetStringCatInfo(g, "Catfunc", NULL)); Elemt = GetIntCatInfo("Elements", 0); Multiple = GetIntCatInfo("Multiple", 0); |