Forráskód Böngészése

[php7] fixed appending "sqlite:" prefix to the names of files created by `sys.db.Sqlite.open()` (#6692)

Alexander Kuzmenko 8 éve
szülő
commit
a24d144824
2 módosított fájl, 2 hozzáadás és 1 törlés
  1. 1 0
      extra/CHANGES.txt
  2. 1 1
      std/php7/_std/sys/db/Sqlite.hx

+ 1 - 0
extra/CHANGES.txt

@@ -4,6 +4,7 @@
 
 	js : fixed saving setter to `tmp` var before invocation (#6672)
 	php7 : don't fail on generating import aliases for classes with the similar names (#6680)
+	php7 : fixed appending "sqlite:" prefix to the names of files created by `sys.db.Sqlite.open()` (#6692)
 	php/php7 : fixed `sys.net.Socket.bind()` (#6693)
 
 2017-10-08: 3.4.4

+ 1 - 1
std/php7/_std/sys/db/Sqlite.hx

@@ -35,7 +35,7 @@ private class SQLiteConnection implements Connection {
 	var db:SQLite3;
 
 	public function new( file:String ) {
-		db = new SQLite3('sqlite:$file');
+		db = new SQLite3(file);
 		db.enableExceptions(true);
 	}