1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Allow \r after -- comment

This commit is contained in:
Jakub Vrana
2014-01-11 12:22:54 -08:00
parent b99148daeb
commit f301fc2dcd

View File

@@ -45,7 +45,7 @@ if (!$error && $_POST) {
}
}
$space = "(?:\\s|/\\*.*\\*/|(?:#|-- )[^\n]*\n|--\n)";
$space = "(?:\\s|/\\*.*\\*/|(?:#|-- )[^\n]*\n|--\r?\n)";
$delimiter = ";";
$offset = 0;
$empty = true;