summaryrefslogtreecommitdiff
path: root/storage/connect/filter.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-11-08 13:35:03 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2014-11-08 13:35:03 +0100
commitbd4814328c0de8bec2d17f8f1f776e18115dd567 (patch)
treee7431c43384a7a335cec6cfa8dcc83343c081177 /storage/connect/filter.cpp
parent1f9259dfea44fb2605b919d6b3b7ea9f151ed5ed (diff)
downloadmariadb-git-bd4814328c0de8bec2d17f8f1f776e18115dd567.tar.gz
- Calculate next position in filamap without assuming ENDING option is true.
modified: storage/connect/filamap.cpp - ftell error: indicate in the error msg that is can be due to wrong ENDING value. filamtxt.cpp (MDEV-7030) modified: storage/connect/filamtxt.cpp - Change STRING according to Alexander Barkov remarks. Suppress the wrong Strz function. The unconditional function strz is no more used for s->db and s->table_name because they are zero terminated. modified: storage/connect/ha_connect.cc storage/connect/xobject.cpp - Change version number modified: storage/connect/filamap.cpp - Change PATH_MAX to FN_REFLEN (MDEV-7036) modified: storage/connect/os.h storage/connect/tabmul.cpp - Fix bug by adding a void argument for OP_NOT in Makefilter. modified: storage/connect/filter.cpp - Begin implementing XMSG style Two new system variables are defined: msg_lang ENUM session errmsg_dir_path STR global readonly This is a work in progress. modified: storage/connect/ha_connect.cc storage/connect/plgdbutl.cpp storage/connect/plugutil.c storage/connect/rcmsg.c storage/connect/resource.h
Diffstat (limited to 'storage/connect/filter.cpp')
-rw-r--r--storage/connect/filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/filter.cpp b/storage/connect/filter.cpp
index 6bdd175a662..949d49c2943 100644
--- a/storage/connect/filter.cpp
+++ b/storage/connect/filter.cpp
@@ -101,7 +101,7 @@ PFIL MakeFilter(PGLOBAL g, PFIL fp1, OPVAL vop, PFIL fp2)
PFIL filp = new(g) FILTER(g, vop);
filp->Arg(0) = fp1;
- filp->Arg(1) = fp2;
+ filp->Arg(1) = (fp2) ? fp2 : pXVOID;
if (filp->Convert(g, false))
return NULL;