LCOV - code coverage report
Current view: top level - export/scratch1/home/monet/testing/b50e8e2d6f02-1-1-1/build/sql/backends/monet5 - 40_json.sql.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 2 100.0 %
Date: 2021-10-13 02:24:04 Functions: 1 1 100.0 %

          Line data    Source code
       1             : unsigned char _40_json_sql[2499] = {
       2             : "create schema json;\n"
       3             : "create type json external name json;\n"
       4             : "create function json.filter(js json, pathexpr string)\n"
       5             : "returns json external name json.filter;\n"
       6             : "GRANT EXECUTE ON FUNCTION json.filter(json, string) TO PUBLIC;\n"
       7             : "create function json.filter(js json, name tinyint)\n"
       8             : "returns json external name json.filter;\n"
       9             : "GRANT EXECUTE ON FUNCTION json.filter(json, tinyint) TO PUBLIC;\n"
      10             : "create function json.filter(js json, name integer)\n"
      11             : "returns json external name json.filter;\n"
      12             : "GRANT EXECUTE ON FUNCTION json.filter(json, integer) TO PUBLIC;\n"
      13             : "create function json.filter(js json, name bigint)\n"
      14             : "returns json external name json.filter;\n"
      15             : "GRANT EXECUTE ON FUNCTION json.filter(json, bigint) TO PUBLIC;\n"
      16             : "create function json.text(js json, e string)\n"
      17             : "returns string external name json.text;\n"
      18             : "GRANT EXECUTE ON FUNCTION json.text(json, string) TO PUBLIC;\n"
      19             : "create function json.number(js json)\n"
      20             : "returns float external name json.number;\n"
      21             : "GRANT EXECUTE ON FUNCTION json.number(json) TO PUBLIC;\n"
      22             : "create function json.\"integer\"(js json)\n"
      23             : "returns bigint external name json.\"integer\";\n"
      24             : "GRANT EXECUTE ON FUNCTION json.\"integer\"(json) TO PUBLIC;\n"
      25             : "create function json.isvalid(js string)\n"
      26             : "returns bool external name json.isvalid;\n"
      27             : "GRANT EXECUTE ON FUNCTION json.isvalid(string) TO PUBLIC;\n"
      28             : "create function json.isvalid(js json)\n"
      29             : "returns bool begin return true; end;\n"
      30             : "GRANT EXECUTE ON FUNCTION json.isvalid(json) TO PUBLIC;\n"
      31             : "create function json.isobject(js json)\n"
      32             : "returns bool external name json.isobject;\n"
      33             : "GRANT EXECUTE ON FUNCTION json.isobject(json) TO PUBLIC;\n"
      34             : "create function json.isarray(js json)\n"
      35             : "returns bool external name json.isarray;\n"
      36             : "GRANT EXECUTE ON FUNCTION json.isarray(json) TO PUBLIC;\n"
      37             : "create function json.length(js json)\n"
      38             : "returns integer external name json.length;\n"
      39             : "GRANT EXECUTE ON FUNCTION json.length(json) TO PUBLIC;\n"
      40             : "create function json.keyarray(js json)\n"
      41             : "returns json external name json.keyarray;\n"
      42             : "GRANT EXECUTE ON FUNCTION json.keyarray(json) TO PUBLIC;\n"
      43             : "create function json.valuearray(js json)\n"
      44             : "returns  json external name json.valuearray;\n"
      45             : "GRANT EXECUTE ON FUNCTION json.valuearray(json) TO PUBLIC;\n"
      46             : "create function json.text(js json)\n"
      47             : "returns string external name json.text;\n"
      48             : "GRANT EXECUTE ON FUNCTION json.text(json) TO PUBLIC;\n"
      49             : "create aggregate json.tojsonarray( x string ) returns string external name aggr.jsonaggr;\n"
      50             : "GRANT EXECUTE ON AGGREGATE json.tojsonarray( string ) TO PUBLIC;\n"
      51             : "create aggregate json.tojsonarray( x double ) returns string external name aggr.jsonaggr;\n"
      52             : "GRANT EXECUTE ON AGGREGATE json.tojsonarray( double ) TO PUBLIC;\n"
      53             : };
      54             : #include "monetdb_config.h"
      55             : #include "sql_import.h"
      56             : #ifdef _MSC_VER
      57             : #undef read
      58             : #pragma section(".CRT$XCU",read)
      59             : #endif
      60         256 : LIB_STARTUP_FUNC(init_40_json_sql)
      61         256 : { sql_register("40_json", _40_json_sql); }

Generated by: LCOV version 1.14