summaryrefslogtreecommitdiff
path: root/storage/connect/reldef.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-05-09 12:35:19 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-05-09 12:35:19 +0200
commit7bbcc3e4ed6eef226b6978615cd64294b6bfe95c (patch)
treec3d3728f2ff769355f19f34c9ec0c7f608a41a42 /storage/connect/reldef.h
parent3743e1e0f626833d6941a8b04d90f7c836d12dcf (diff)
downloadmariadb-git-7bbcc3e4ed6eef226b6978615cd64294b6bfe95c.tar.gz
- Fix wrong error "Invalid offset for CVS table" when a special
column is defined in a CSV table (MDEV-6187) modified: storage/connect/ha_connect.cc storage/connect/reldef.h storage/connect/tabfmt.cpp
Diffstat (limited to 'storage/connect/reldef.h')
-rw-r--r--storage/connect/reldef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/reldef.h b/storage/connect/reldef.h
index 6f6853d9f17..eb559864a34 100644
--- a/storage/connect/reldef.h
+++ b/storage/connect/reldef.h
@@ -195,6 +195,7 @@ class DllExport COLDEF : public COLCRT { /* Column description block
int GetPoff(void) {return Poff;}
int Define(PGLOBAL g, void *memp, PCOLINFO cfp, int poff);
void Define(PGLOBAL g, PCOL colp);
+ bool IsSpecial(void) {return (Flags & U_SPECIAL) ? true : false;}
protected:
int Buf_Type; /* Internal data type */