1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Fix crash on making an XML table with encoding=XXX

- Set parameters so libxml2 does not anymore add extra characters
  when retrieving several subnodes of a node.
- Make a CONNECT file header (was PlugDB)

modified:
  storage/connect/domdoc.cpp
  storage/connect/libdoc.cpp
  storage/connect/tabxml.cpp

- Change the version number

modified:
  storage/connect/ha_connect.cc

- Begin eliminate use of libmysql functions in MYSQL table type
  Not finished yet

modified:
  storage/connect/myconn.cpp
  storage/connect/myconn.h
This commit is contained in:
Olivier Bertrand
2013-02-20 01:30:37 +01:00
parent 2f48842a0f
commit c448839c4f
6 changed files with 44 additions and 16 deletions

View File

@@ -217,10 +217,17 @@ PXLIST DOMDOC::NewPlist(PGLOBAL g)
/******************************************************************/
int DOMDOC::DumpDoc(PGLOBAL g, char *ofn)
{
if (TestHr(g, Docp->save(ofn)))
return -1;
int rc = 0;
return 0;
try {
Docp->save(ofn);
} catch(_com_error e) {
sprintf(g->Message, "%s: %s", MSG(COM_ERROR),
_com_util::ConvertBSTRToString(e.Description()));
rc = -1;
} catch(...) {}
return rc;
} // end of Dump
/******************************************************************/