We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b61eb7 commit 49fca21Copy full SHA for 49fca21
src/Export/TableListService.php
@@ -20,7 +20,10 @@ public function __construct(private Configuration $configuration)
20
21
public function tablesToExport(): array
22
{
23
- $result = $this->configuration->createPDOConnection()->prepare(
+ $connection = $this->configuration->createPDOConnection();
24
+ $connection->prepare('SET information_schema_stats_expiry=0')->execute();
25
+
26
+ $result = $connection->prepare(
27
'SELECT TABLE_NAME, TABLE_ROWS FROM information_schema.tables'
28
. ' WHERE TABLE_SCHEMA = SCHEMA() AND TABLE_TYPE = ?'
29
);
0 commit comments