We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d03c80 commit e887276Copy full SHA for e887276
1 file changed
src/Db/Drivers/TPdoDriver.php
@@ -82,7 +82,9 @@ public function ping(): bool
82
}
83
try
84
{
85
- if ($instance->query('select 1'))
+ $driverName = $this->instance->getAttribute(\PDO::ATTR_DRIVER_NAME);
86
+ $is_oci = 'oci' === $driverName;
87
+ if ($instance->query($is_oci ? 'select 1 from dual' : 'select 1'))
88
89
return true;
90
0 commit comments