You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Only on Windows, the libasynql::create function crashes with the following config
type: "sqlite"sqlite:
file: "a"#NOTICE: `file` is a single character
with this error
ErrorException: "Uninitialized string offset 1" (EXCEPTION) in "C:/<pocketmine-dir>/virions/libasynql_dev-174.phar/src/poggit/libasynql/libasynql" at line 162
Another Bug
Furthermore, having file: "" throws an error on all platforms, but that config is invalid anyways. It's arguable if that should be fixed too.
Expected behavior
This should not crash.
Environment
OS: "win"
PocketMine version: "4.2.0"
The text was updated successfully, but these errors were encountered:
Describe the bug
Only on Windows, the
libasynql::create
function crashes with the following configwith this error
libasynql.php The comment marks the ErrorException.
Another Bug
Furthermore, having
file: ""
throws an error on all platforms, but that config is invalid anyways. It's arguable if that should be fixed too.Expected behavior
This should not crash.
Environment
OS: "win"
PocketMine version: "4.2.0"
The text was updated successfully, but these errors were encountered: