summaryrefslogtreecommitdiff
path: root/storage/connect/tabmysql.cpp
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-18 09:22:41 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-18 09:22:41 +0100
commit5f2f3c4fa81851b45dcee33601f14e05f6407333 (patch)
tree9254a1ccc67f38cfa8cc4fab1a857230602e13f6 /storage/connect/tabmysql.cpp
parenta4b271496888e1f8628d0af36309e35293093577 (diff)
downloadmariadb-git-5f2f3c4fa81851b45dcee33601f14e05f6407333.tar.gz
connect engine compiler warnings
Diffstat (limited to 'storage/connect/tabmysql.cpp')
-rw-r--r--storage/connect/tabmysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabmysql.cpp b/storage/connect/tabmysql.cpp
index b9cede52a21..5a8bb17bd50 100644
--- a/storage/connect/tabmysql.cpp
+++ b/storage/connect/tabmysql.cpp
@@ -334,7 +334,7 @@ bool MYSQLDEF::DefineAM(PGLOBAL g, LPCSTR am, int)
Delayed = !!GetIntCatInfo("Delayed", 0);
} else {
// MYSQL access from a PROXY table
- Database = GetStringCatInfo(g, "Database", Schema ? Schema : "*");
+ Database = GetStringCatInfo(g, "Database", Schema ? Schema : (char*)"*");
Isview = GetBoolCatInfo("View", false);
// We must get other connection parms from the calling table