I hereby claim:
- I am tony2001 on github.
- I am tony2001 (https://keybase.io/tony2001) on keybase.
- I have a public key whose fingerprint is 05C8 32C3 ACDD 2EE3 D6DE 5882 59D7 E8CB 1E01 C501
To claim this, I am signing this object:
commit 222d3cfbaf0a5575a8796838290be2be9d2548a1 | |
Author: Antony Dovgal <tony2001@php.net> | |
Date: Mon Nov 2 21:24:21 2020 +0300 | |
force file revalidation in long running CLI scripts | |
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c | |
index ee565aa6d0..54ed2a572c 100644 | |
--- a/ext/opcache/ZendAccelerator.c | |
+++ b/ext/opcache/ZendAccelerator.c |
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c | |
index 284a1b7875..4dd5eb55dd 100644 | |
--- a/ext/opcache/ZendAccelerator.c | |
+++ b/ext/opcache/ZendAccelerator.c | |
@@ -2364,6 +2364,8 @@ int accel_activate(INIT_FUNC_ARGS) | |
ZCSG(last_restart_time)++; | |
} | |
accel_restart_leave(); | |
+ } else { | |
+ reset_pcre = 1; |
<?php | |
function handleError($errno, $errstr, $errfile, $errline) { | |
$exception = new exception("blah"); | |
throw $exception; | |
} | |
set_error_handler('handleError', E_ALL); | |
$c = $b[$a]; |
I hereby claim:
To claim this, I am signing this object:
diff --git a/src/purge_active.c b/src/purge_active.c | |
index 4cf0051..a2b1eb1 100644 | |
--- a/src/purge_active.c | |
+++ b/src/purge_active.c | |
@@ -67,7 +67,7 @@ static int purge_active(struct idle_task_s *it, void *arg __attribute__ ((unused | |
watchdog_set_subtag("%"PRIu32, user_id); | |
- struct user_s *u = user_get_by_id(user_id); | |
+ struct user_s *u = (struct user_s *) *PValue; |
diff --git a/ext/mysqlnd/mysqlnd_result.c b/ext/mysqlnd/mysqlnd_result.c | |
index 2184c00..0e9f9af 100644 | |
--- a/ext/mysqlnd/mysqlnd_result.c | |
+++ b/ext/mysqlnd/mysqlnd_result.c | |
@@ -1358,7 +1358,10 @@ MYSQLND_METHOD(mysqlnd_res, store_result_fetch_data)(MYSQLND_CONN_DATA * const c | |
conn->upsert_status->server_status = row_packet->server_status; | |
} | |
/* save some memory */ | |
- if (free_rows) { | |
+ if (set->row_count == 0) { |
diff --git a/src/mnotify2_storage.c b/src/mnotify2_storage.c | |
index 2dd2a29..5ea86b4 100644 | |
--- a/src/mnotify2_storage.c | |
+++ b/src/mnotify2_storage.c | |
@@ -48,6 +48,7 @@ struct nmpa_s mn2_updates_nmpa_previous; | |
static struct local_storage *ls; | |
static time_t current_state_ts; | |
static time_t update_state_ts; | |
+static time_t update_now; | |
static pid_t dump_child; |
diff --git a/src/mnotify2_storage.c b/src/mnotify2_storage.c | |
index 2dd2a29..6f31027 100644 | |
--- a/src/mnotify2_storage.c | |
+++ b/src/mnotify2_storage.c | |
@@ -48,6 +48,7 @@ struct nmpa_s mn2_updates_nmpa_previous; | |
static struct local_storage *ls; | |
static time_t current_state_ts; | |
static time_t update_state_ts; | |
+static time_t update_now; | |
static pid_t dump_child; |
diff --git a/src/main.cc b/src/main.cc | |
index f741cc2..71cf3c0 100644 | |
--- a/src/main.cc | |
+++ b/src/main.cc | |
@@ -21,6 +21,15 @@ | |
#include "pinba_map.h" | |
#include "pinba_lmap.h" | |
+#ifdef PINBA_ENGINE_HAVE_PTHREAD_SETAFFINITY_NP | |
+# ifdef __FreeBSD__ |
diff --git a/application/classes/Controller/Page.php b/application/classes/Controller/Page.php | |
index ca1e866..8995ef1 100644 | |
--- a/application/classes/Controller/Page.php | |
+++ b/application/classes/Controller/Page.php | |
@@ -40,20 +40,6 @@ abstract class Controller_Page extends Controller_Template { | |
parent::__construct($request, $response); | |
- $session = Session::instance(); | |
- $alert = $session->get("last_alert"); |