From e19029b0b1f8d6cd81530993efbe78b84bad0337 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 3 Sep 2017 19:24:16 +0200 Subject: =?UTF-8?q?MariaDB=2010:=20SP=20used=20a=20case=20sensitive=20chec?= =?UTF-8?q?k=20for=20=E2=80=9ECURRENT=5FTIMESTAMP=E2=80=9C=20which=20faile?= =?UTF-8?q?d=20on=20recent=20MariaDB=20versions=20due=20to=20changes=20to?= =?UTF-8?q?=20the=20=E2=80=9ESHOW=20CREATE=20TABLE=E2=80=9C=20output=20(#2?= =?UTF-8?q?876)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPConstants.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/SPConstants.m b/Source/SPConstants.m index aba9b83e..1f27e5f1 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -436,8 +436,8 @@ NSString *SPBundleShellVariableSelectedTextRange = @"SP_SELECTED_TEXT NSString *SPBundleShellVariableUsedQueryForTable = @"SP_USED_QUERY_FOR_TABLE"; #define OWS @"\\s*" /* optional whitespace */ -// CURRENT_TIMESTAMP [ ( [n] ) ] -NSString *SPCurrentTimestampPattern = (@"^" OWS @"CURRENT_TIMESTAMP" @"(?:" OWS @"\\(" OWS @"(\\d*)" OWS @"\\)" @")?" OWS @"$"); +// CURRENT_TIMESTAMP [ ( [n] ) ] +NSString *SPCurrentTimestampPattern = (@"(?i)^" OWS @"CURRENT_TIMESTAMP" @"(?:" OWS @"\\(" OWS @"(\\d*)" OWS @"\\)" @")?" OWS @"$"); #undef OWS // URL scheme -- cgit v1.2.3