LCOV - code coverage report
Current view: top level - export/scratch1/home/monet/testing/b50e8e2d6f02-1-1-1/build/sql/backends/monet5 - 26_sysmon.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 _26_sysmon_sql[1290] = {
       2             : "create function sys.queue()\n"
       3             : "returns table(\n"
       4             : "  \"tag\" bigint,\n"
       5             : "  \"sessionid\" int,\n"
       6             : "  \"username\" string,\n"
       7             : "  \"started\" timestamp,\n"
       8             : "  \"status\" string,\n"
       9             : "  \"query\" string,\n"
      10             : "  \"finished\" timestamp,\n"
      11             : "  \"maxworkers\" int,\n"
      12             : "  \"footprint\" int\n"
      13             : ")\n"
      14             : "external name sysmon.queue;\n"
      15             : "grant execute on function sys.queue to public;\n"
      16             : "create view sys.queue as select * from sys.queue();\n"
      17             : "grant select on sys.queue to public;\n"
      18             : "create procedure sys.pause(tag bigint)\n"
      19             : "external name sysmon.pause;\n"
      20             : "grant execute on procedure sys.pause(bigint) to public;\n"
      21             : "create procedure sys.resume(tag bigint)\n"
      22             : "external name sysmon.resume;\n"
      23             : "grant execute on procedure sys.resume(bigint) to public;\n"
      24             : "create procedure sys.stop(tag bigint)\n"
      25             : "external name sysmon.stop;\n"
      26             : "grant execute on procedure sys.stop(bigint) to public;\n"
      27             : "create function sys.user_statistics()\n"
      28             : "returns table(\n"
      29             : "  username string,\n"
      30             : "  querycount bigint,\n"
      31             : "  totalticks bigint,\n"
      32             : "  started timestamp,\n"
      33             : "  finished timestamp,\n"
      34             : "  maxticks bigint,\n"
      35             : "  maxquery string\n"
      36             : ")\n"
      37             : "external name sysmon.user_statistics;\n"
      38             : "create procedure sys.vacuum(sname string, tname string, cname string)\n"
      39             : "  external name sql.vacuum;\n"
      40             : "create procedure sys.vacuum(sname string, tname string, cname string, interval int)\n"
      41             : "  external name sql.vacuum;\n"
      42             : "create procedure sys.stop_vacuum(sname string, tname string, cname string)\n"
      43             : "  external name sql.stop_vacuum;\n"
      44             : };
      45             : #include "monetdb_config.h"
      46             : #include "sql_import.h"
      47             : #ifdef _MSC_VER
      48             : #undef read
      49             : #pragma section(".CRT$XCU",read)
      50             : #endif
      51         256 : LIB_STARTUP_FUNC(init_26_sysmon_sql)
      52         256 : { sql_register("26_sysmon", _26_sysmon_sql); }

Generated by: LCOV version 1.14