From d1af3d55bace5a74766d29da0c72665989038067 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 21 Jan 2010 13:16:56 +0000 Subject: =?UTF-8?q?=E2=80=A2=20avoid=20updating=20TablesList=20for=20queri?= =?UTF-8?q?es=20in=20Custom=20Query=20Editor=20=C3=A0=20la=20"SHOW=20CREAT?= =?UTF-8?q?E=20=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/CustomQuery.m') diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m index 790db8f5..62deb15d 100644 --- a/Source/CustomQuery.m +++ b/Source/CustomQuery.m @@ -626,7 +626,7 @@ } else { // Check if table/db list needs an update // The regex is a compromise between speed and usefullness. TODO: further improvements are needed - if(!tableListNeedsReload && [query isMatchedByRegex:@"(?i)\\b(create|alter|drop|rename)\\b\\s+."]) + if(!tableListNeedsReload && [query isMatchedByRegex:@"(?i)(?