LCOV - code coverage report
Current view: top level - export/scratch1/home/monet/testing/b50e8e2d6f02-1-1-1/build/sql/backends/monet5 - 15_querylog.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 _15_querylog_sql[1106] = {
       2             : "create function sys.querylog_catalog()\n"
       3             : "returns table(\n"
       4             : "  id oid,\n"
       5             : "  owner string,\n"
       6             : "  defined timestamp,\n"
       7             : "  query string,\n"
       8             : "  pipe string,\n"
       9             : "  \"plan\" string,\n"
      10             : "  mal int,\n"
      11             : "  optimize bigint\n"
      12             : ")\n"
      13             : "external name sql.querylog_catalog;\n"
      14             : "create function sys.querylog_calls()\n"
      15             : "returns table(\n"
      16             : "  id oid,\n"
      17             : "  \"start\" timestamp,\n"
      18             : "  \"stop\" timestamp,\n"
      19             : "  arguments string,\n"
      20             : "  tuples bigint,\n"
      21             : "  run bigint,\n"
      22             : "  ship bigint,\n"
      23             : "  cpu int,\n"
      24             : "  io int\n"
      25             : ")\n"
      26             : "external name sql.querylog_calls;\n"
      27             : "create view sys.querylog_catalog as select * from sys.querylog_catalog();\n"
      28             : "create view sys.querylog_calls as select * from sys.querylog_calls();\n"
      29             : "create view sys.querylog_history as\n"
      30             : "select qd.*, ql.\"start\",ql.\"stop\", ql.arguments, ql.tuples, ql.run, ql.ship, ql.cpu, ql.io\n"
      31             : "from sys.querylog_catalog() qd, sys.querylog_calls() ql\n"
      32             : "where qd.id = ql.id and qd.owner = user;\n"
      33             : "create procedure sys.querylog_empty()\n"
      34             : "external name sql.querylog_empty;\n"
      35             : "create procedure sys.querylog_enable()\n"
      36             : "external name sql.querylog_enable;\n"
      37             : "create procedure sys.querylog_enable(threshold integer)\n"
      38             : "external name sql.querylog_enable;\n"
      39             : "create procedure sys.querylog_disable()\n"
      40             : "external name sql.querylog_disable;\n"
      41             : };
      42             : #include "monetdb_config.h"
      43             : #include "sql_import.h"
      44             : #ifdef _MSC_VER
      45             : #undef read
      46             : #pragma section(".CRT$XCU",read)
      47             : #endif
      48         256 : LIB_STARTUP_FUNC(init_15_querylog_sql)
      49         256 : { sql_register("15_querylog", _15_querylog_sql); }

Generated by: LCOV version 1.14