Commit e05920f7 authored by Olivier Bertrand's avatar Olivier Bertrand

-- Check whether USERBLK still exists in PlugExit

  modified:   storage/connect/connect.cc
  modified:   storage/connect/plugutil.cpp
  modified:   storage/connect/jsonudf.cpp

-- Update result from json_udf test
  modified:   storage/connect/mysql-test/connect/r/json_udf.result
parent 38c9c0d2
...@@ -66,8 +66,10 @@ PGLOBAL CntExit(PGLOBAL g) ...@@ -66,8 +66,10 @@ PGLOBAL CntExit(PGLOBAL g)
if (g) { if (g) {
CntEndDB(g); CntEndDB(g);
if (g->Activityp) if (g->Activityp) {
delete g->Activityp; delete g->Activityp;
g->Activityp = NULL;
} // endif Activityp
PlugExit(g); PlugExit(g);
g= NULL; g= NULL;
......
...@@ -608,7 +608,7 @@ JsonGet_String(Json_File('test/fx.json'), '1.*') ...@@ -608,7 +608,7 @@ JsonGet_String(Json_File('test/fx.json'), '1.*')
{"_id":6,"type":"car","item":"roadster","mileage":56000,"ratings":[6,9]} {"_id":6,"type":"car","item":"roadster","mileage":56000,"ratings":[6,9]}
SELECT JsonGet_String(Json_File('test/fx.json'), '1'); SELECT JsonGet_String(Json_File('test/fx.json'), '1');
JsonGet_String(Json_File('test/fx.json'), '1') JsonGet_String(Json_File('test/fx.json'), '1')
6 car roadster 56000 <null> 6 car roadster 56000 6 9
SELECT JsonGet_Int(Json_File('test/fx.json'), '1.mileage') AS Mileage; SELECT JsonGet_Int(Json_File('test/fx.json'), '1.mileage') AS Mileage;
Mileage Mileage
56000 56000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment