summaryrefslogtreecommitdiff
path: root/storage/spider/spd_db_mysql.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-01-03 07:23:49 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-01-03 07:23:49 +0200
commitc9db50b585566b39d04218f4e0b746e0d1394dfb (patch)
treee6158d201d97d906ce20fb1af0504a50068ff8e7 /storage/spider/spd_db_mysql.cc
parent1df05a0854bcde53fb8f73f9348ab54330e812e4 (diff)
parenta48d2ec866751e9da76066bf3a30f99da9031ab0 (diff)
downloadmariadb-git-bb-10.5-marko.tar.gz
Merge 10.4 into 10.5bb-10.5-marko
Diffstat (limited to 'storage/spider/spd_db_mysql.cc')
-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 4c908ab3157..5c41947cdeb 100644
--- a/storage/spider/spd_db_mysql.cc
+++ b/storage/spider/spd_db_mysql.cc
@@ -4384,7 +4384,7 @@ int spider_db_mariadb_util::append_column_value(
} else if (float_value)
{
if (str->reserve(SPIDER_SQL_CAST_LEN + ptr->length() +
- SPIDER_SQL_AS_FLOAT_LEN, SPIDER_SQL_CLOSE_PAREN_LEN))
+ SPIDER_SQL_AS_FLOAT_LEN + SPIDER_SQL_CLOSE_PAREN_LEN))
{
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
}