Hello visitor of ##sqlite on Freenode!
Many regulars of ##sqlite have moved to ##sqlite on https://libera.chat/ .
If you join the channel on both networks, please ask your question only in one place, to not waste community time doubly.
| #!/bin/sh | |
| if [ x$1 = x'serve' ] | |
| then | |
| docker run --user $(id -u) --rm --init -p 4100:4100 -v $(pwd):/src taobeier/backslide "$@" | |
| else | |
| docker run --user $(id -u) --rm --init -v $(pwd):/src taobeier/backslide "$@" | |
| fi |
| diff --git a/pdns/recursordist/docs/metrics.rst b/pdns/recursordist/docs/metrics.rst | |
| index 3dd833da8..ba40f59a9 100644 | |
| --- a/pdns/recursordist/docs/metrics.rst | |
| +++ b/pdns/recursordist/docs/metrics.rst | |
| @@ -293,7 +293,7 @@ Cumulative counts of answer times of authoritative servers in buckets less than | |
| These metrics are useful for Prometheus and not listed in other outputs by default. | |
| cumul-clientanswers-x | |
| -^^^^^^^^^^^^^^^^^^ | |
| +^^^^^^^^^^^^^^^^^^^^^ |
| local to_string2 | |
| local function table_print (tt, indent, done) | |
| done = done or {} | |
| indent = indent or 0 | |
| if type(tt) == "table" then | |
| local sb = {} | |
| for key, value in pairs (tt) do | |
| table.insert(sb, string.rep (" ", indent)) -- indent it | |
| if type (value) == "table" and not done [value] then |
| diff --git a/esphome/components/pm1006/pm1006.cpp b/esphome/components/pm1006/pm1006.cpp | |
| index 9bedb3cf..215ddc93 100644 | |
| --- a/esphome/components/pm1006/pm1006.cpp | |
| +++ b/esphome/components/pm1006/pm1006.cpp | |
| @@ -7,6 +7,7 @@ namespace pm1006 { | |
| static const char *const TAG = "pm1006"; | |
| static const uint8_t PM1006_RESPONSE_HEADER[] = {0x16, 0x11, 0x0B}; | |
| +static const uint8_t PM1006_REQUEST[] = {0x11, 0x02, 0x0B, 0x01, 0xE1}; | |
| diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp | |
| index 17a2725d..f9f29e81 100644 | |
| --- a/esphome/core/application.cpp | |
| +++ b/esphome/core/application.cpp | |
| @@ -11,7 +11,7 @@ namespace esphome { | |
| static const char *const TAG = "app"; | |
| -void Application::register_component_(Component *comp) { | |
| +void Application::register_component_(Component *comp, std::string id) { |
Hello visitor of ##sqlite on Freenode!
Many regulars of ##sqlite have moved to ##sqlite on https://libera.chat/ .
If you join the channel on both networks, please ask your question only in one place, to not waste community time doubly.
| diff --git a/modules/gpgsqlbackend/gpgsqlbackend.cc b/modules/gpgsqlbackend/gpgsqlbackend.cc | |
| index de4de76ff..4b3275e3e 100644 | |
| --- a/modules/gpgsqlbackend/gpgsqlbackend.cc | |
| +++ b/modules/gpgsqlbackend/gpgsqlbackend.cc | |
| @@ -141,7 +141,7 @@ public: | |
| declare(suffix, "delete-rrset-query", "", "delete from records where domain_id=$1 and name=$2 and type=$3"); | |
| declare(suffix, "delete-names-query", "", "delete from records where domain_id=$1 and name=$2"); | |
| - declare(suffix, "add-domain-key-query", "", "insert into cryptokeys (domain_id, flags, active, published, content) select id, $1, $2, $3, $4 from domains where name=$5"); | |
| + declare(suffix, "add-domain-key-query", "", "insert into cryptokeys (domain_id, flags, active, published, content) select id, $1, $2, $3, $4 from domains where name=$5 returning id"); |
| diff --git a/pdns/dnspcap.cc b/pdns/dnspcap.cc | |
| index c7d634504..409dff0c5 100644 | |
| --- a/pdns/dnspcap.cc | |
| +++ b/pdns/dnspcap.cc | |
| @@ -59,6 +59,10 @@ PcapPacketReader::PcapPacketReader(const string& fname) : d_fname(fname) | |
| else throw runtime_error((boost::format("Unsupported link type %d") % d_pfh.linktype).str()); | |
| d_runts = d_oversized = d_correctpackets = d_nonetheripudp = 0; | |
| + | |
| + if (d_skipMediaHeader > mediaHeaderRoom) throw runtime_error("media header is too big"); |
| diff --git a/modules/gpgsqlbackend/spgsql.cc b/modules/gpgsqlbackend/spgsql.cc | |
| index 5ebc6ff65..6b05a6779 100644 | |
| --- a/modules/gpgsqlbackend/spgsql.cc | |
| +++ b/modules/gpgsqlbackend/spgsql.cc | |
| @@ -126,6 +126,7 @@ public: | |
| // by stored procedures. you can return more than one | |
| // if you return SETOF refcursor. | |
| if (PQftype(d_res_set, 0) == 1790) { // REFCURSOR | |
| + cerr<<"got REFCURSOR"<<endl; | |
| #if PG_VERSION_NUM > 90000 |
| diff --git a/pdns/dnsparser.hh b/pdns/dnsparser.hh | |
| index c6954e495..d728172c1 100644 | |
| --- a/pdns/dnsparser.hh | |
| +++ b/pdns/dnsparser.hh | |
| @@ -513,7 +513,9 @@ public: | |
| uint32_t tmp; | |
| memcpy(&tmp, (void*) p, sizeof(tmp)); | |
| tmp = ntohl(tmp); | |
| + cerr<<"decreaseAndSkip32BitInt tmp="<<tmp<<" decrease="<<decrease; | |
| tmp-=decrease; |