summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-09-25 10:24:14 +0200
committerSergei Golubchik <serg@mariadb.org>2015-09-25 10:24:14 +0200
commit9554342d16a6567329cf6269129f9db4ea0be8c7 (patch)
tree09b948047b1b95ea4d964857cc09a33ba8fa835f /storage/spider
parent5448df084b885ab744711888037bcc83bc2545f0 (diff)
parent4070ce00dc95e320c68e9d9b623893b034fb913e (diff)
downloadmariadb-git-9554342d16a6567329cf6269129f9db4ea0be8c7.tar.gz
Merge branch '10.1' into pull-request-97
Merge downstream Debian packaging (MDEV-6284)
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/spd_db_mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_db_mysql.cc b/storage/spider/spd_db_mysql.cc
index 1b40265e9b6..92f95259090 100644
--- a/storage/spider/spd_db_mysql.cc
+++ b/storage/spider/spd_db_mysql.cc
@@ -3289,7 +3289,7 @@ int spider_db_mysql_util::open_item_func(
{
if (
!strncasecmp("rand", func_name, func_name_length) &&
- !item_func->arg_count
+ !item_func->argument_count()
) {
if (str)
str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);