diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-05-05 12:45:26 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-05-05 12:45:26 +0200 |
commit | 495981141118e7b88b75526c494af12888ffcf12 (patch) | |
tree | 5fec5d100dcd1fc2e9e83206f3271e8c0b4732a3 /storage/connect/taboccur.cpp | |
parent | 5fc19f8db85af67efac58c3710933aa6c8925e29 (diff) | |
download | mariadb-git-495981141118e7b88b75526c494af12888ffcf12.tar.gz |
- General code cleaning, eliminating a few potential bugs
modified:
storage/connect/catalog.h
storage/connect/mycat.cc
storage/connect/taboccur.cpp
storage/connect/taboccur.h
storage/connect/tabutil.cpp
storage/connect/tabutil.h
storage/connect/tabxcl.cpp
storage/connect/tabxcl.h
Diffstat (limited to 'storage/connect/taboccur.cpp')
-rw-r--r-- | storage/connect/taboccur.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/taboccur.cpp b/storage/connect/taboccur.cpp index 8b7e10f2e34..2f721c6a7cf 100644 --- a/storage/connect/taboccur.cpp +++ b/storage/connect/taboccur.cpp @@ -161,7 +161,7 @@ int TDBOCCUR::MakeColumnList(PGLOBAL g) // Count the number of columns and change separator into null char for (pn = Colist; ; pn += (strlen(pn) + 1)) - if ((p = strchr(pn, ';'))) { + if ((p = strchr(pn, ',')) || (p = strchr(pn, ';'))) { *p++ = '\0'; n++; } else { |