summaryrefslogtreecommitdiff
path: root/storage/connect/array.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2015-05-10 12:14:21 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2015-05-10 12:14:21 +0200
commitc63bd866fd4ec4d129bd165d4da8d8d004ab3dbd (patch)
treeef3f0f1554483af51fc108b70f14587732bf3388 /storage/connect/array.cpp
parentf5d0c7706214922e786369265bd1545c0341924d (diff)
downloadmariadb-git-c63bd866fd4ec4d129bd165d4da8d8d004ab3dbd.tar.gz
Get rid of more GCC warnings about unused parameters
modified: storage/connect/array.cpp modified: storage/connect/ha_connect.cc modified: storage/connect/mycat.cc modified: storage/connect/tabxml.cpp modified: storage/connect/user_connect.cc modified: storage/connect/user_connect.h
Diffstat (limited to 'storage/connect/array.cpp')
-rw-r--r--storage/connect/array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/connect/array.cpp b/storage/connect/array.cpp
index 437e9af0bdd..0e8829d66a6 100644
--- a/storage/connect/array.cpp
+++ b/storage/connect/array.cpp
@@ -186,7 +186,7 @@ ARRAY::ARRAY(PGLOBAL g, int type, int size, int length, int prec)
// The error message was built by PlgDBalloc
Type = TYPE_ERROR;
else if (type != TYPE_PCHAR)
- Value = AllocateValue(g, type, Len, prec, NULL);
+ Value = AllocateValue(g, type, Len, prec);
Constant = TRUE;
} // end of ARRAY constructor
@@ -610,7 +610,7 @@ int ARRAY::Convert(PGLOBAL g, int k, PVAL vp)
// The error message was built by PlgDBalloc
return TYPE_ERROR;
else
- Value = AllocateValue(g, Type, Len, prec, NULL);
+ Value = AllocateValue(g, Type, Len, prec);
/*********************************************************************/
/* Converting STRING to DATE can be done according to date format. */