summaryrefslogtreecommitdiff
path: root/storage/connect/libdoc.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
commitce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4 (patch)
treefcbb4d723d8bd3b4f343712266c278b0149f87c1 /storage/connect/libdoc.h
parent923eddcfe12d015c43ee6422f32e000aadc714b8 (diff)
downloadmariadb-git-ce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4.tar.gz
- Try to fix a uninitialised valgrind warning
modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc - Fix a regression error on XML libdoc wrong Nlist freing modified: storage/connect/domdoc.h storage/connect/libdoc.cpp storage/connect/libdoc.h storage/connect/plgxml.h storage/connect/tabxml.cpp
Diffstat (limited to 'storage/connect/libdoc.h')
-rw-r--r--storage/connect/libdoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/connect/libdoc.h b/storage/connect/libdoc.h
index 97f97f99ccc..7971f4d1395 100644
--- a/storage/connect/libdoc.h
+++ b/storage/connect/libdoc.h
@@ -37,6 +37,7 @@ class LIBXMLDOC : public XMLDOCUMENT {
// Properties
virtual short GetDocType(void) {return TYPE_FB_XML2;}
virtual void *GetDocPtr(void) {return Docp;}
+ virtual void SetNofree(bool b) {Nofreelist = b;}
// Methods
virtual bool Initialize(PGLOBAL g);
@@ -64,6 +65,7 @@ class LIBXMLDOC : public XMLDOCUMENT {
xmlXPathContextPtr Ctxp;
xmlXPathObjectPtr Xop;
char *Buf; // Temporary
+ bool Nofreelist;
}; // end of class LIBXMLDOC
/******************************************************************/