diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-10-10 13:27:52 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-10-10 13:27:52 +0200 |
commit | 7531f22a68ba8e0e25ae95366fdfe094daa68565 (patch) | |
tree | 6c9033c568ecb6fb2c039cc219ed331ec47ef6c7 /storage/connect | |
parent | 33f1ac66ad0c995396026881260c27a937da19ec (diff) | |
download | mariadb-git-7531f22a68ba8e0e25ae95366fdfe094daa68565.tar.gz |
- 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
Diffstat (limited to 'storage/connect')
-rw-r--r-- | storage/connect/ha_connect.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index c6ca6c11df6..d3140787454 100644 --- a/storage/connect/ha_connect.cc +++ b/storage/connect/ha_connect.cc @@ -960,6 +960,8 @@ bool ha_connect::GetBooleanOption(char *opname, bool bdef) opval= options->readonly; else if (!stricmp(opname, "SepIndex")) opval= options->sepindex; + else if (!stricmp(opname, "Header")) + opval= (options->header != 0); // Is Boolean for some table types else if (options->oplist) if ((pv= GetListOption(xp->g, opname, options->oplist))) opval= (!*pv || *pv == 'y' || *pv == 'Y' || atoi(pv) != 0); |