Skip to content

Commit 3aea2e7

Browse files
committed
Diagnostic: test UPPERCASE UDF call to verify case-insensitive patch
1 parent cb3240d commit 3aea2e7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/phpunit-tests-turso.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,13 @@ jobs:
768768
$r = $pdo->query("SELECT fn_{$i}() AS v")->fetch(PDO::FETCH_ASSOC);
769769
$log("[e.call {$i}] " . json_encode($r));
770770
}
771+
// Test case-insensitive lookup: uppercase call on lowercase registration.
772+
try {
773+
$r = $pdo->query("SELECT FN_32() AS v")->fetch(PDO::FETCH_ASSOC);
774+
$log('[e.upper 32] ' . json_encode($r));
775+
} catch (\Throwable $ex) {
776+
$log('[e.upper 32] EXC: ' . $ex->getMessage());
777+
}
771778
} catch (\Throwable $e) {
772779
$log('[e] EXC: ' . $e->getMessage());
773780
}

0 commit comments

Comments
 (0)