Permalink
Browse files

MariaDB 10: SP used a case sensitive check for „CURRENT_TIMESTAMP“ wh…

…ich failed on recent MariaDB versions due to changes to the „SHOW CREATE TABLE“ output (#2876)
  • Loading branch information...
dmoagx committed Sep 3, 2017
1 parent 2e809e6 commit e19029b0b1f8d6cd81530993efbe78b84bad0337
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/SPConstants.m
View
@@ -436,8 +436,8 @@
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

0 comments on commit e19029b

Please sign in to comment.