diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-09-25 18:41:20 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-09-25 18:41:20 +0200 |
commit | 069edfe125f6734fe17baa0c6af49107affb8343 (patch) | |
tree | c660a6db4bfa9c9e26cd6978f4c0af6b4f0c7b22 /storage/connect/libdoc.cpp | |
parent | ce397d8cd23a486be7994f0cc4a5198efcd0c000 (diff) | |
download | mariadb-git-069edfe125f6734fe17baa0c6af49107affb8343.tar.gz |
- Reset some variables when closing just in case the XML tre is re-used.
modified:
storage/connect/libdoc.cpp
Diffstat (limited to 'storage/connect/libdoc.cpp')
-rw-r--r-- | storage/connect/libdoc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/connect/libdoc.cpp b/storage/connect/libdoc.cpp index 01a9f858fb0..31aa90da076 100644 --- a/storage/connect/libdoc.cpp +++ b/storage/connect/libdoc.cpp @@ -540,6 +540,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) if ((Xerr = xmlGetLastError())) xmlResetError(Xerr); + Nlist = NULL; } // endif Nlist if (Xop) { @@ -548,6 +549,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) if ((Xerr = xmlGetLastError())) xmlResetError(Xerr); + Xop = NULL; } // endif Xop if (NlXop) { @@ -556,6 +558,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) if ((Xerr = xmlGetLastError())) xmlResetError(Xerr); + NlXop = NULL; } // endif NlXop if (Ctxp) { @@ -564,6 +567,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp) if ((Xerr = xmlGetLastError())) xmlResetError(Xerr); + Ctxp = NULL; } // endif Ctxp // } // endif Count |