Skip to content

[Cache] Add PdoTagAwareAdapter #58296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: 7.4
Choose a base branch
from
Prev Previous commit
Next Next commit
CS
  • Loading branch information
Toflar committed Nov 25, 2024
commit 4904b06bc28e19f2365bba3cb077814388e05a96
6 changes: 3 additions & 3 deletions src/Symfony/Component/Cache/Adapter/PdoAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,16 +291,16 @@ protected function doSave(array $values, int $lifetime, array $addTagData = [],
$sql = $insertSql.' ON DUPLICATE KEY IGNORE';
break;
case 'oci' === $driver:
throw new LogicException('oci driver support must be added'); // TODO: I need help here
throw new LogicException('oci driver support must be added.'); // TODO: I need help here
break;
case 'sqlsrv' === $driver && version_compare($this->getServerVersion(), '10', '>='):
throw new LogicException('sqlsrv driver support must be added'); // TODO: I need help here
throw new LogicException('sqlsrv driver support must be added.'); // TODO: I need help here
break;
case 'sqlite' === $driver:
$sql = 'INSERT OR REPLACE'.substr($insertSql, 6);
break;
case 'pgsql' === $driver && version_compare($this->getServerVersion(), '9.5', '>='):
throw new LogicException('pgsql driver support must be added'); // TODO: I need help here
throw new LogicException('pgsql driver support must be added.'); // TODO: I need help here
break;
default:
$driver = null;
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy