Skip to content

Commit ad53218

Browse files
committed
Merge remote-tracking branch 'connect/10.2' into 10.2
2 parents 409aba7 + 4e583a2 commit ad53218

File tree

2 files changed

+49
-52
lines changed

2 files changed

+49
-52
lines changed

storage/connect/ha_connect.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4700,9 +4700,6 @@ int ha_connect::start_stmt(THD *thd, thr_lock_type lock_type)
47004700
PGLOBAL g= GetPlug(thd, xp);
47014701
DBUG_ENTER("ha_connect::start_stmt");
47024702

4703-
if (table->triggers)
4704-
g->More= 1; // We don't know which columns are used by the trigger
4705-
47064703
if (check_privileges(thd, GetTableOptionStruct(), table->s->db.str, true))
47074704
DBUG_RETURN(HA_ERR_INTERNAL_ERROR);
47084705

storage/connect/mysql-test/connect/r/xml.result

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -158,47 +158,47 @@ TRANSLATOR NULL
158158
PUBLISHER Eyrolles Paris
159159
DATEPUB 1998
160160
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>
202202

203203
DROP TABLE t1;
204204
#
@@ -374,7 +374,7 @@ INSERT INTO t1 VALUES (_cp1251 0xC0C1C2C3);
374374
Warnings:
375375
Level Warning
376376
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.
378378

379379
INSERT INTO t1 VALUES ('&<>"\'');
380380
SELECT node, hex(node) FROM t1;
@@ -383,11 +383,11 @@ hex(node) 263C3E2227
383383
DROP TABLE t1;
384384
SET @a=LOAD_FILE('MYSQLD_DATADIR/test/t1.xml');
385385
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>&amp;&lt;&gt;"'</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>&amp;&lt;&gt;"'</node>
391+
</line>
392+
</t1>
393393

0 commit comments

Comments
 (0)