1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-10 23:02:54 +03:00
Files
mariadb/mysql-test/t
unknown 3010775ed1 Bug#18201: XML: ExtractValue works even if the xml
fragment is not well-formed xml

Problem:
- ExtractValue silently returned NULL if a wrong XML value is passed.
- In some cases "unexpected END-OF-INPUT" error was not detected, and
  a non-NULL result could be returned for a bad XML value.

Fix:
- Adding warning messages, to make user aware why NULL was returned.
- Missing "unexpected END-OF-INPUT" error is reported now.


mysql-test/r/xml.result:
  - Fixing XML systax error in old test
  - Adding test cases.
mysql-test/t/xml.test:
  - Fixing XML systax error in old test
  - Adding test cases.
sql/item_xmlfunc.cc:
  Produce warning in case of XML systax error,
  instead of silentrly returning NULL.
strings/xml.c:
  - Making error messages better looking and clearer:
  It is important because now they're seen in SHOW WARNINGS
  (previously they were used only for debugging purposes).
  - Adding "unexpected END-OF-INPUT" error if after scanning
    closing tag for the root element some input is left
    (previously this error was ignored in a mistake).
2006-04-17 14:40:25 +05:00
..
2006-03-01 15:50:15 +04:00
2006-03-30 17:14:55 +04:00
2006-04-13 23:26:02 +03:00
2006-03-02 23:40:51 +01:00
2006-04-07 11:29:15 +02:00
2006-04-07 11:29:15 +02:00
2006-03-06 23:20:19 +01:00
2006-02-26 15:11:56 +02:00
2006-03-06 14:38:31 +04:00
2006-03-24 12:44:54 -08:00
2006-03-06 23:43:47 +01:00
2006-03-14 09:37:29 -08:00
2006-01-06 00:47:49 +02:00
2006-01-12 19:51:02 +01:00
2006-03-11 15:52:38 +01:00
2006-02-20 15:03:16 +01:00
2006-02-16 16:33:46 +01:00
2006-03-10 14:36:48 +01:00
2006-01-12 23:57:01 +01:00
2006-03-10 14:36:48 +01:00
2006-03-14 09:37:29 -08:00
2006-03-10 21:43:50 +01:00
2006-02-26 15:11:56 +02:00
2006-02-13 11:49:28 +04:00
2006-02-15 14:02:47 +01:00
2006-02-15 14:02:47 +01:00
2006-02-09 15:29:57 +01:00
2006-02-09 15:29:57 +01:00
2006-02-13 16:36:11 +01:00
2006-02-13 16:36:11 +01:00
2006-01-12 19:51:02 +01:00
2006-02-10 12:52:35 +01:00
2006-02-10 12:52:35 +01:00
2006-02-15 14:02:47 +01:00
2006-02-13 16:36:11 +01:00
2006-01-12 19:51:02 +01:00
2006-02-10 12:52:35 +01:00
2006-02-15 14:02:47 +01:00
2006-02-08 22:17:46 +01:00
2005-12-23 14:45:02 +01:00
2006-03-31 21:26:17 -08:00
2006-03-09 21:00:45 +03:00
2006-03-10 12:12:08 +01:00