summaryrefslogtreecommitdiff
path: root/databases/mariadb100-server/files/patch-storage_connect_tabmysql.cpp
blob: a42aa721a02dd3cd187b0ab72d84e076cd2f4729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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