* [oceanbase] Only trace for mysql.

This commit is contained in:
朱金勇
2025-12-03 09:14:10 +08:00
committed by wangyuting
parent e0fa6c8ac2
commit ec4ba9c9a6
+1 -1
View File
@@ -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();
}