Skip to content

Commit dfd424b

Browse files
committed
Added sql to create user
1 parent a1f34c0 commit dfd424b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@ set PDO_FIREBIRD_TEST_DATABASE=C:\test.fdb
6161
set PDO_FIREBIRD_TEST_DSN=firebird:dbname=127.0.0.1:%PDO_FIREBIRD_TEST_DATABASE%
6262
set PDO_FIREBIRD_TEST_USER=SYSDBA
6363
set PDO_FIREBIRD_TEST_PASS=phpfi
64-
echo create database '%PDO_FIREBIRD_TEST_DATABASE%' user '%PDO_FIREBIRD_TEST_USER%' password '%PDO_FIREBIRD_TEST_PASS%';> C:\Firebird\setup.sql
64+
echo create user %PDO_FIREBIRD_TEST_USER% password '%PDO_FIREBIRD_TEST_PASS%';> C:\Firebird\setup.sql
65+
echo commit;>> C:\Firebird\setup.sql
66+
echo create database '%PDO_FIREBIRD_TEST_DATABASE%' user '%PDO_FIREBIRD_TEST_USER%' password '%PDO_FIREBIRD_TEST_PASS%';>> C:\Firebird\setup.sql
6567
C:\Firebird\instsvc.exe install -n TestInstance
66-
C:\Firebird\isql -q -i C:\Firebird\setup.sql
6768
C:\Firebird\instsvc.exe start -n TestInstance
69+
C:\Firebird\isql -q -i C:\Firebird\setup.sql
6870
if %errorlevel% neq 0 exit /b 3
6971
path C:\Firebird;%PATH%
7072

0 commit comments

Comments
 (0)