diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2017-02-16 18:01:48 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2017-02-16 18:01:48 +0100 |
commit | 6f34d8807c5343dfa07949ce95a1ad92c2972756 (patch) | |
tree | 5308fbf7a5873cc52f8b047c12ceed3a5d0bfa48 /storage/connect/reldef.cpp | |
parent | 82913b0e909a3b8f10138f7f7cc759301f4c2026 (diff) | |
download | mariadb-git-6f34d8807c5343dfa07949ce95a1ad92c2972756.tar.gz |
All changes made on 10.1
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 30e4d49d249..5bb7848ab1c 100644 --- a/storage/connect/reldef.cpp +++ b/storage/connect/reldef.cpp @@ -621,8 +621,8 @@ bool OEMDEF::DefineAM(PGLOBAL g, LPCSTR, int) /***********************************************************************/ PTDB OEMDEF::GetTable(PGLOBAL g, MODE mode) { - RECFM rfm; - PTDBASE tdbp = NULL; + RECFM rfm; + PTDB tdbp = NULL; // If define block not here yet, get it now if (!Pxdef && !(Pxdef = GetXdef(g))) @@ -632,7 +632,7 @@ PTDB OEMDEF::GetTable(PGLOBAL g, MODE mode) /* Allocate a TDB of the proper type. */ /* Column blocks will be allocated only when needed. */ /*********************************************************************/ - if (!(tdbp = (PTDBASE)Pxdef->GetTable(g, mode))) + if (!(tdbp = Pxdef->GetTable(g, mode))) return NULL; else rfm = tdbp->GetFtype(); |