From f301fc2dcde3a95b5e9166bcf644e7f9c631eba4 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 11 Jan 2014 12:22:54 -0800 Subject: [PATCH] Allow \r after -- comment --- adminer/sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 1c47e4c0..27b0cc37 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -45,7 +45,7 @@ if (!$error && $_POST) { } } - $space = "(?:\\s|/\\*.*\\*/|(?:#|-- )[^\n]*\n|--\n)"; + $space = "(?:\\s|/\\*.*\\*/|(?:#|-- )[^\n]*\n|--\r?\n)"; $delimiter = ";"; $offset = 0; $empty = true;