mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Fix bug returning pointer to a stack string
in JVALUE::GetString modified: storage/connect/json.cpp modified: storage/connect/json.h modified: storage/connect/jsonudf.cpp - Fix a compiler bug happening on some configuration and platforms in JSNX::CalculateArray modified: storage/connect/jsonudf.cpp - Set default Schema as current directory This fix several bugs like: Fail to make JSON catalog tables Fail to use zipped file made by a file LOAD modified: storage/connect/reldef.cpp modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h
This commit is contained in:
@@ -227,10 +227,10 @@ bool TABDEF::Define(PGLOBAL g, PCATLG cat,
|
||||
{
|
||||
int poff = 0;
|
||||
|
||||
Name = (PSZ)name;
|
||||
Schema = (PSZ)schema;
|
||||
Hc = ((MYCAT*)cat)->GetHandler();
|
||||
Name = (PSZ)name;
|
||||
Schema = (PSZ)Hc->GetDBName(schema);
|
||||
Cat = cat;
|
||||
Hc = ((MYCAT*)cat)->GetHandler();
|
||||
Catfunc = GetFuncID(GetStringCatInfo(g, "Catfunc", NULL));
|
||||
Elemt = GetIntCatInfo("Elements", 0);
|
||||
Multiple = GetIntCatInfo("Multiple", 0);
|
||||
|
Reference in New Issue
Block a user