You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP framework tests are failing in the migration stage. This is happening because ReadySet fails when there are more than one prepared statement in a transaction.
Steps to reproduce
$pdo = new PDO("pgsql:host=127.0.0.1;dbname=framework_test;port=5433", 'sandaru1', 'readyset');
$pdo->query("DROP TABLE IF EXISTS users");
$pdo->query("create table \"users\" (\"id\" bigserial not null primary key, \"name\" varchar(255) not null, \"email\" varchar(255) not null, \"email_verified_at\" timestamp(0) without time zone null, \"password\" varchar(255) not null, \"remember_token\" varchar(100) null, \"created_at\" timestamp(0) without time zone null, \"updated_at\" timestamp(0) without time zone null)");
$pdo->exec("BEGIN");
$pdo->query("SELECT * FROM users;");
$pdo->query("SELECT id FROM users;");
$pdo->exec("COMMIT");
ReadySet version
954e715a3c9aad83c15d17cd568a88d64448d8c5
Upstream DB type and version
Postgres 16
Logs
Fatal error: Uncaught PDOException: SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block in /Users/sandaru1/readyset/orm-migration-test/laravel.php:16
Stack trace:
#0 /Users/sandaru1/readyset/orm-migration-test/laravel.php(16): PDO->query('SELECT id FROM ...')
#1 {main}
thrown in /Users/sandaru1/readyset/orm-migration-test/laravel.php on line 16
The text was updated successfully, but these errors were encountered:
Summary
PHP framework tests are failing in the migration stage. This is happening because ReadySet fails when there are more than one prepared statement in a transaction.
Steps to reproduce
ReadySet version
954e715a3c9aad83c15d17cd568a88d64448d8c5
Upstream DB type and version
Postgres 16
Logs
The text was updated successfully, but these errors were encountered: