ports/databases/mariadb100-server/files/patch-storage_connect_tabmysql.cpp
Bernard Spil 65609c67cf databases/mariadb100-{client,server}: Update to 10.0.25
- Update to latest version 10.0.25
  - Fix security vulnerabilities
  - Replace USE_MYSQL/WANT_MYSQL_VER with USES= mysql:100m
  - Always build with SSL support, remove bundled CyaSSL
  - Align INNODB engine option with upstream option name
  - Mark not supported for TokuDB on i386
  - Backport improvements from 10.1 port
    - Replace bundled libs with ports' versions
    - ENGINES options group
  - TokuDB Engine
    - Add upstreamed patch fixing linuxism
    - Add/fix docs and license files
  - Make OQGraph ignore message explicit

PR:		209318
Security:	8c2b2f11-0ebe-11e6-b55e-b499baebfeaf
Reviewed by:	feld (mentor)
Approved by:	feld (mentor)
Differential Revision:	D6162
2016-05-06 20:59:50 +00:00

13 lines
593 B
C++

See https://mariadb.atlassian.net/browse/MDEV-9603
--- storage/connect/tabmysql.cpp.orig 2016-04-28 20:27:49 UTC
+++ storage/connect/tabmysql.cpp
@@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCST
Delayed = !!GetIntCatInfo("Delayed", 0);
} else {
// MYSQL access from a PROXY table
- Database = GetStringCatInfo(g, "Database", Schema ? Schema : PlugDup(g, "*"));
+ Database = GetStringCatInfo(g, "Database", Schema ? Schema : PlugDup(g, (PSZ)"*"));
Isview = GetBoolCatInfo("View", false);
// We must get other connection parms from the calling table