opnsense-ports/databases/mariadb100-server/files/patch-storage_connect_tabmysql.cpp
Franco Fichtner 3aa4cadac9 */*: sync with upstream
Taken from: FreeBSD
2016-05-07 11:43:17 +02: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