Commit e7802bff authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix a bug causing the connection string of a partition table not being

  edited with the partition name when it was specified in the OPTION_LIST.
modified:
  storage/connect/ha_connect.cc
parent 5b460c64
......@@ -1064,9 +1064,16 @@ char *ha_connect::GetStringOption(char *opname, char *sdef)
} // endif Table_charset
if (!opval && options && options->oplist)
if (!opval && options && options->oplist) {
opval= GetListOption(xp->g, opname, options->oplist);
if (opval && (!stricmp(opname, "connect")
|| !stricmp(opname, "tabname")
|| !stricmp(opname, "filename")))
opval = GetRealString(opval);
} // endif opval
if (!opval) {
if (sdef && !strcmp(sdef, "*")) {
// Return the handler default value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment