mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/****************** jsonudf C++ Program Source Code File (.CPP) ******************/
|
||||
/* PROGRAM NAME: jsonudf Version 1.7 */
|
||||
/* (C) Copyright to the author Olivier BERTRAND 2015-2018 */
|
||||
/* PROGRAM NAME: jsonudf Version 1.8 */
|
||||
/* (C) Copyright to the author Olivier BERTRAND 2015-2019 */
|
||||
/* This program are the JSON User Defined Functions . */
|
||||
/*********************************************************************************/
|
||||
|
||||
@ -1686,7 +1686,7 @@ static PCSZ MakeKey(PGLOBAL g, UDF_ARGS *args, int i)
|
||||
} // endif *s
|
||||
|
||||
if (n < 1)
|
||||
return (char*) "Key";
|
||||
return (PCSZ) "Key";
|
||||
|
||||
if (!b) {
|
||||
if ((p = (PSZ)PlgDBSubAlloc(g, NULL, n + 1))) {
|
||||
@ -1703,7 +1703,7 @@ static PCSZ MakeKey(PGLOBAL g, UDF_ARGS *args, int i)
|
||||
return (char*) s;
|
||||
} // endif count
|
||||
|
||||
return (char*) "Key";
|
||||
return (PCSZ) "Key";
|
||||
} // end of MakeKey
|
||||
|
||||
/*********************************************************************************/
|
||||
|
Reference in New Issue
Block a user