Commit 7531f22a authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix a regression error from regarding Header as Boolean from some table types.

  Was added to ha_connect::GetBooleanOption (otherwise ignored)
modified:
  storage/connect/ha_connect.cc
parent 33f1ac66
...@@ -960,6 +960,8 @@ bool ha_connect::GetBooleanOption(char *opname, bool bdef) ...@@ -960,6 +960,8 @@ bool ha_connect::GetBooleanOption(char *opname, bool bdef)
opval= options->readonly; opval= options->readonly;
else if (!stricmp(opname, "SepIndex")) else if (!stricmp(opname, "SepIndex"))
opval= options->sepindex; opval= options->sepindex;
else if (!stricmp(opname, "Header"))
opval= (options->header != 0); // Is Boolean for some table types
else if (options->oplist) else if (options->oplist)
if ((pv= GetListOption(xp->g, opname, options->oplist))) if ((pv= GetListOption(xp->g, opname, options->oplist)))
opval= (!*pv || *pv == 'y' || *pv == 'Y' || atoi(pv) != 0); opval= (!*pv || *pv == 'y' || *pv == 'Y' || atoi(pv) != 0);
......
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