mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
- 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
This commit is contained in:
parent
5b460c6403
commit
e7802bff0e
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue