mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
More XML related definitions are now more friendly:
- LIBXML2_SUPPORT is defined if LibXml2 is found - DOMDOC_SUPPORT is defined if msxml is found - XML_SUPPORT is defined if either of them are found NOXML2 was removed modified: storage/connect/CMakeLists.txt storage/connect/global.h storage/connect/ha_connect.cc storage/connect/plgdbutl.cpp storage/connect/plgxml.cpp
This commit is contained in:
@@ -17,14 +17,14 @@ PXDOC GetDomDoc(PGLOBAL g, char *nsl, char *nsdf,
|
||||
} // end of GetDomDoc
|
||||
#endif // !DOMDOC_SUPPORT
|
||||
|
||||
#if defined(NOXML2)
|
||||
#ifndef LIBXML2_SUPPORT
|
||||
PXDOC GetLibxmlDoc(PGLOBAL g, char *nsl, char *nsdf,
|
||||
char *enc, PFBLOCK fp)
|
||||
{
|
||||
strcpy(g->Message, "libxml2 not supported");
|
||||
return NULL;
|
||||
} // end of GetLibxmlDoc
|
||||
#endif // NOXML2
|
||||
#endif // LIBXML2_SUPPORT
|
||||
|
||||
/******************************************************************/
|
||||
/* XMLDOCUMENT constructor. */
|
||||
|
Reference in New Issue
Block a user