@@ -158,47 +158,47 @@ TRANSLATOR NULL
158
158
PUBLISHER Eyrolles Paris
159
159
DATEPUB 1998
160
160
SELECT LOAD_FILE('MYSQLD_DATADIR/test/xsample2.xml') AS xml;
161
- xml <?xml version="1.0" encoding="UTF-8"?>
162
- <BIBLIO SUBJECT="XML">
163
- <BOOK ISBN="9782212090819" LANG="fr" SUBJECT="applications">
164
- <AUTHOR>
165
- <FIRSTNAME>Jean-Christophe</FIRSTNAME>
166
- <LASTNAME>Bernadac</LASTNAME>
167
- </AUTHOR>
168
- <AUTHOR>
169
- <FIRSTNAME>François</FIRSTNAME>
170
- <LASTNAME>Knab</LASTNAME>
171
- </AUTHOR>
172
- <TITLE>Construire une application XML</TITLE>
173
- <PUBLISHER>
174
- <NAME>Eyrolles</NAME>
175
- <PLACE>Paris</PLACE>
176
- </PUBLISHER>
177
- <DATEPUB>1999</DATEPUB>
178
- </BOOK>
179
- <BOOK ISBN="9782840825685" LANG="fr" SUBJECT="applications">
180
- <AUTHOR>
181
- <FIRSTNAME>William J.</FIRSTNAME>
182
- <LASTNAME>Pardi</LASTNAME>
183
- </AUTHOR>
184
- <TRANSLATOR PREFIX="adapté de l'anglais par">
185
- <FIRSTNAME>James</FIRSTNAME>
186
- <LASTNAME>Guerin</LASTNAME>
187
- </TRANSLATOR>
188
- <TITLE>XML en Action</TITLE>
189
- <PUBLISHER>
190
- <NAME>Microsoft Press</NAME>
191
- <PLACE>Paris</PLACE>
192
- </PUBLISHER>
193
- <DATEPUB>1999</DATEPUB>
194
- </BOOK>
195
- <BOOK ISBN="9782212090529" LANG="fr" SUBJECT="général">
196
- <AUTHOR>Alain Michard</AUTHOR>
197
- <TITLE>XML, Langage et Applications</TITLE>
198
- <PUBLISHER>Eyrolles Paris</PUBLISHER>
199
- <DATEPUB>1998</DATEPUB>
200
- </BOOK>
201
- </BIBLIO>
161
+ xml <?xml version="1.0" encoding="UTF-8"?>
162
+ <BIBLIO SUBJECT="XML">
163
+ <BOOK ISBN="9782212090819" LANG="fr" SUBJECT="applications">
164
+ <AUTHOR>
165
+ <FIRSTNAME>Jean-Christophe</FIRSTNAME>
166
+ <LASTNAME>Bernadac</LASTNAME>
167
+ </AUTHOR>
168
+ <AUTHOR>
169
+ <FIRSTNAME>François</FIRSTNAME>
170
+ <LASTNAME>Knab</LASTNAME>
171
+ </AUTHOR>
172
+ <TITLE>Construire une application XML</TITLE>
173
+ <PUBLISHER>
174
+ <NAME>Eyrolles</NAME>
175
+ <PLACE>Paris</PLACE>
176
+ </PUBLISHER>
177
+ <DATEPUB>1999</DATEPUB>
178
+ </BOOK>
179
+ <BOOK ISBN="9782840825685" LANG="fr" SUBJECT="applications">
180
+ <AUTHOR>
181
+ <FIRSTNAME>William J.</FIRSTNAME>
182
+ <LASTNAME>Pardi</LASTNAME>
183
+ </AUTHOR>
184
+ <TRANSLATOR PREFIX="adapté de l'anglais par">
185
+ <FIRSTNAME>James</FIRSTNAME>
186
+ <LASTNAME>Guerin</LASTNAME>
187
+ </TRANSLATOR>
188
+ <TITLE>XML en Action</TITLE>
189
+ <PUBLISHER>
190
+ <NAME>Microsoft Press</NAME>
191
+ <PLACE>Paris</PLACE>
192
+ </PUBLISHER>
193
+ <DATEPUB>1999</DATEPUB>
194
+ </BOOK>
195
+ <BOOK ISBN="9782212090529" LANG="fr" SUBJECT="général">
196
+ <AUTHOR>Alain Michard</AUTHOR>
197
+ <TITLE>XML, Langage et Applications</TITLE>
198
+ <PUBLISHER>Eyrolles Paris</PUBLISHER>
199
+ <DATEPUB>1998</DATEPUB>
200
+ </BOOK>
201
+ </BIBLIO>
202
202
203
203
DROP TABLE t1;
204
204
#
@@ -323,7 +323,7 @@ HEX(c) 3F3F3F3F3F3F3F
323
323
Warnings:
324
324
Level Warning
325
325
Code 1366
326
- Message Incorrect string value: '\xC3\x81\xC3\x82\xC3\x83...' for column `test`.`t1`.`c` at row 1
326
+ Message Incorrect string value: '\xC3\x81\xC3\x82\xC3\x83...' for column 'c' at row 1
327
327
Level Warning
328
328
Code 1105
329
329
Message Out of range value ÁÂÃÄÅÆÇ for column 'c' at row 1
@@ -374,7 +374,7 @@ INSERT INTO t1 VALUES (_cp1251 0xC0C1C2C3);
374
374
Warnings:
375
375
Level Warning
376
376
Code 1105
377
- Message Com error: Unable to save character to 'iso-8859-1' encoding.
377
+ Message Com error: Unable to save character to 'iso-8859-1' encoding.
378
378
379
379
INSERT INTO t1 VALUES ('&<>"\'');
380
380
SELECT node, hex(node) FROM t1;
@@ -383,11 +383,11 @@ hex(node) 263C3E2227
383
383
DROP TABLE t1;
384
384
SET @a=LOAD_FILE('MYSQLD_DATADIR/test/t1.xml');
385
385
SELECT CAST(@a AS CHAR CHARACTER SET latin1);
386
- CAST(@a AS CHAR CHARACTER SET latin1) <?xml version="1.0" encoding="iso-8859-1"?>
387
- <!-- Created by the MariaDB CONNECT Storage Engine-->
388
- <t1>
389
- <line>
390
- <node>&<>"'</node>
391
- </line>
392
- </t1>
386
+ CAST(@a AS CHAR CHARACTER SET latin1) <?xml version="1.0" encoding="iso-8859-1"?>
387
+ <!-- Created by the MariaDB CONNECT Storage Engine-->
388
+ <t1>
389
+ <line>
390
+ <node>&<>"'</node>
391
+ </line>
392
+ </t1>
393
393
0 commit comments