From d27b7052773b0aa2c80781a4ec726130543c5e01 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Jan 2024 08:35:15 +0100 Subject: [PATCH] Minimal fix for sqlite3 --- tests/driver/setup.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/driver/setup.inc b/tests/driver/setup.inc index efc6f77..649ce88 100644 --- a/tests/driver/setup.inc +++ b/tests/driver/setup.inc @@ -112,10 +112,10 @@ $dsns = array( // 'db2' => 'odbc(db2)://db2inst1:XXXX@/SAMPLE', // 'pgsql' => 'pgsql://postgres@localhost/test', // 'sqlite' => 'sqlite://dummy:@localhost/' . getcwd() . DIRECTORY_SEPARATOR . 'test.db?mode=0644', - // 'sqlite3' => 'sqlite://dummy:@localhost/' . getcwd() . DIRECTORY_SEPARATOR . 'test.db?mode=0644', + // 'sqlite3' => 'sqlite3://dummy:@localhost/' . getcwd() . DIRECTORY_SEPARATOR . 'test.db?mode=0644', ); -if (getenv('MYSQL_TEST_USER') !== '') { +if (getenv('MYSQL_TEST_USER')) { $dsns['mysqli'] = array( 'phptype' => 'mysqli', 'username' => getenv('MYSQL_TEST_USER'),