mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
-- Fix warnings from the new GCC 7
modified: storage/connect/ha_connect.cc -- Set NULL false in SetJsonValue modified: storage/connect/jsonudf.cpp modified: storage/connect/tabjson.cpp
This commit is contained in:
@@ -1406,6 +1406,8 @@ PVAL JSONCOL::MakeJson(PGLOBAL g, PJSON jsp)
|
||||
void JSONCOL::SetJsonValue(PGLOBAL g, PVAL vp, PJVAL val, int n)
|
||||
{
|
||||
if (val) {
|
||||
vp->SetNull(false);
|
||||
|
||||
switch (val->GetValType()) {
|
||||
case TYPE_STRG:
|
||||
case TYPE_INTG:
|
||||
|
Reference in New Issue
Block a user