summaryrefslogtreecommitdiff
path: root/storage/connect/tabxcl.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-10-24 16:21:39 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-10-24 16:21:39 +0200
commitc4cf40c21bb51a5c9c33bed64bb70e167945aa70 (patch)
treec26d4a24fc14cea62ee677815ce3b72eee3d8965 /storage/connect/tabxcl.cpp
parent4f59b65fb05f049b7fb0585f641ab195f72118d0 (diff)
downloadmariadb-git-c4cf40c21bb51a5c9c33bed64bb70e167945aa70.tar.gz
- Fix bug: Server crash when using a special column in XCOL tables
modified: storage/connect/mysql-test/connect/r/xcol.result storage/connect/mysql-test/connect/t/xcol.test storage/connect/tabxcl.cpp
Diffstat (limited to 'storage/connect/tabxcl.cpp')
-rw-r--r--storage/connect/tabxcl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/tabxcl.cpp b/storage/connect/tabxcl.cpp
index 6cf17c38820..ab758e856d5 100644
--- a/storage/connect/tabxcl.cpp
+++ b/storage/connect/tabxcl.cpp
@@ -182,8 +182,9 @@ bool TDBXCL::OpenDB(PGLOBAL g)
/* Check and initialize the subtable columns. */
/*********************************************************************/
for (PCOL cp = Columns; cp; cp = cp->GetNext())
- if (((PPRXCOL)cp)->Init(g))
- return TRUE;
+ if (!cp->IsSpecial())
+ if (((PPRXCOL)cp)->Init(g))
+ return TRUE;
/*********************************************************************/
/* Physically open the object table. */