Commit d662c48a authored by Olivier Bertrand's avatar Olivier Bertrand

- In connect_assisted_discovery the test on topt->quoted must

  be done on its signed value

modified:
  storage/connect/ha_connect.cc
parent c6c1a6e2
...@@ -3440,7 +3440,7 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd, ...@@ -3440,7 +3440,7 @@ static int connect_assisted_discovery(handlerton *hton, THD* thd,
fnc= GetFuncID(fncn); fnc= GetFuncID(fncn);
sep= topt->separator; sep= topt->separator;
spc= (!sep || !strcmp(sep, "\\t")) ? '\t' : *sep; spc= (!sep || !strcmp(sep, "\\t")) ? '\t' : *sep;
qch= topt->qchar ? *topt->qchar : topt->quoted >= 0 ? '"' : 0; qch= topt->qchar ? *topt->qchar : (signed)topt->quoted >= 0 ? '"' : 0;
hdr= (int)topt->header; hdr= (int)topt->header;
tbl= topt->tablist; tbl= topt->tablist;
col= topt->colist; col= topt->colist;
......
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