diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-02 17:58:18 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-02 17:58:18 +0100 |
commit | 5972b56a6d43aceb89e5242b6c323743eba9c71e (patch) | |
tree | 9cb05cd22e464d31e8d3d0d42f890b9d18f68c08 /storage/connect/libdoc.h | |
parent | 8c8fe2f3a62191d0d3e835242c08c23906478099 (diff) | |
download | mariadb-git-5972b56a6d43aceb89e5242b6c323743eba9c71e.tar.gz |
- Fix conversion bug for MS-DOM XML tables. The node content was written
and read as if the table DATA_CHARSET was ANSI instead of UTF-8. Warning
are now provided when the read content of a node is truncated.
modified:
storage/connect/domdoc.cpp
storage/connect/domdoc.h
storage/connect/libdoc.cpp
storage/connect/libdoc.h
storage/connect/plgxml.h
storage/connect/tabxml.cpp
- Conditional compilation of pre_create depending on the MARIADB setting.
modified:
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
Diffstat (limited to 'storage/connect/libdoc.h')
-rw-r--r-- | storage/connect/libdoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/libdoc.h b/storage/connect/libdoc.h index d34431e254a..97f97f99ccc 100644 --- a/storage/connect/libdoc.h +++ b/storage/connect/libdoc.h @@ -80,7 +80,7 @@ class XML2NODE : public XMLNODE { virtual PXNODE GetChild(PGLOBAL g); // Methods - virtual char *GetText(char *buf, int len); + virtual RCODE GetContent(PGLOBAL g, char *buf, int len); virtual bool SetContent(PGLOBAL g, char *txtp, int len); virtual PXNODE Clone(PGLOBAL g, PXNODE np); virtual PXLIST GetChildElements(PGLOBAL g, char *xp, PXLIST lp); |