1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Fix a bug causing the tabname option to be ignored when the connection

string was not an URL but a server name. Also make the dbname option
  to be recignized in create (was only seached in option_list)
modified:
  storage/connect/ha_connect.cc
  storage/connect/tabmysql.cpp
This commit is contained in:
Olivier Bertrand
2014-05-27 12:50:52 +02:00
parent 8b7c7b9280
commit cd185c1468
2 changed files with 2 additions and 7 deletions

View File

@@ -191,8 +191,7 @@ bool MYSQLDEF::ParseURL(PGLOBAL g, char *url, bool b)
} else
// Otherwise, straight server name,
// use tablename of federatedx table as remote table name
Tabname= Name;
Tabname = (b) ? GetStringCatInfo(g, "Tabname", Name) : NULL;
if (trace)
htrc("server: %s Tabname: %s", url, Tabname);