From ec4ba9c9a63c85953ed0ff01dd044f2567e119a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Tue, 2 Dec 2025 13:30:02 +0800 Subject: [PATCH] * [oceanbase] Only trace for mysql. --- framework/base/control.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/control.class.php b/framework/base/control.class.php index bef087fafd..0cca2ce9a5 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -1026,7 +1026,7 @@ class baseControl $context->data = (array)$this->view; $context->data['zinDebug'] = array(); - if($this->config->debug && $this->config->debug >= 2 && $this->config->installed) + if($this->config->debug && $this->config->debug >= 2 && $this->config->installed && $this->config->db->driver == 'mysql') { $context->data['zinDebug']['trace'] = $this->app->loadClass('trace')->getTrace(); }