Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update test expectation for different Firebird version
libfbclient 5.0.1 with server 4.0.1 has a different error message and
code.
> Read only sql transaction
  • Loading branch information
nielsdos committed Jan 24, 2025
commit 3478e8c64a05a2cb5f39573db0322999d9813d8c
4 changes: 2 additions & 2 deletions ext/pdo_firebird/tests/transaction_access_mode.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $dbh = getDbConnection();
@$dbh->exec('DROP TABLE transaction_access_mode');
unset($dbh);
?>
--EXPECT--
--EXPECTF--
========== Set attr in construct ==========
OK: writable
OK: readonly
Expand All @@ -157,7 +157,7 @@ array(1) {
readonly
bool(true)
OK: readonly
SQLSTATE[42000]: Syntax error or access violation: -817 attempted update during read-only transaction
SQLSTATE[%r(42000|25006)%r]: %r(Read only sql transaction|Syntax error or access violation)%r: -817 attempted update during read-only transaction
array(1) {
[0]=>
array(2) {
Expand Down
Loading