diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-10-24 19:22:05 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-10-24 19:22:05 +0200 |
commit | 652b96482789ddee1b01c69559fc0d3840976f88 (patch) | |
tree | 55a3f28a5b88b0ad35c0c647f6f6ad550be1b566 /storage/connect/tabxcl.cpp | |
parent | c4cf40c21bb51a5c9c33bed64bb70e167945aa70 (diff) | |
download | mariadb-git-652b96482789ddee1b01c69559fc0d3840976f88.tar.gz |
- Fix a bug in XCOL tables. When a row was filtered internally the XColumn
was not reset causing rows to be lost.
modified:
storage/connect/connect.cc
storage/connect/ha_connect.cc
storage/connect/tabxcl.cpp
- Typo
modified:
storage/connect/connect.cc
storage/connect/ha_connect.cc
Diffstat (limited to 'storage/connect/tabxcl.cpp')
-rw-r--r-- | storage/connect/tabxcl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/tabxcl.cpp b/storage/connect/tabxcl.cpp index ab758e856d5..8148723c6be 100644 --- a/storage/connect/tabxcl.cpp +++ b/storage/connect/tabxcl.cpp @@ -266,6 +266,7 @@ bool XCLCOL::Init(PGLOBAL g, PTDBASE tp) void XCLCOL::ReadColumn(PGLOBAL g) { if (((PTDBXCL)To_Tdb)->New) { + Colp->Reset(); // In case of failed filtering Colp->Eval(g); strncpy(Cbuf, To_Val->GetCharValue(), Colp->GetLength()); Cbuf[Colp->GetLength()] = 0; |