From fa3a82bd89eee142c575e13e47eb6a7bd5e1fc89 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 4 Jun 2009 14:11:55 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20support=20for=20the=20=E2=80=9Cdeli?= =?UTF-8?q?miter=E2=80=9D=20command=20-=20added=20(NSArray=20*)=20splitSql?= =?UTF-8?q?StringByCharacter:(unichar)character;=20(NSArray=20*)=20splitSq?= =?UTF-8?q?lStringIntoRangesByCharacter:(unichar)character;=20(long)=20fir?= =?UTF-8?q?stOccurrenceInSqlOfCharacter:=20to=20the=20SQLParser=20which=20?= =?UTF-8?q?recognize=20a=20=E2=80=9Cdelimiter=E2=80=9D=20command=20?= =?UTF-8?q?=E2=80=A2=20queryAtPosition=20now=20works=20with=20ranges=20to?= =?UTF-8?q?=20speed=20it=20up=20-=20the=20current=20query=20ranges=20resp.?= =?UTF-8?q?=20the=20just=20activated=20query=20range=20are=20cached=20in?= =?UTF-8?q?=20order=20to=20avoid=20parsing=20if=20the=20user=20only=20navi?= =?UTF-8?q?gates=20through=20the=20textView=20buffer,=20or=20if=20the=20us?= =?UTF-8?q?er=20calls=20Run=20Prev/Current=20Query=20only=20=E2=80=A2=20th?= =?UTF-8?q?e=20"import=20dump"=20function=20makes=20usage=20of=20that=20ne?= =?UTF-8?q?w=20=E2=80=9Cdelimiter=E2=80=9D=20support=20-=20i.e.=20dumps=20?= =?UTF-8?q?with=20procs/funcs=20declaration=20could=20be=20imported?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IMPORTANT: Please check the new SQLParser exhaustively in order to prove that new approach --- Source/TableDump.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/TableDump.m') diff --git a/Source/TableDump.m b/Source/TableDump.m index 2d9b60ca..2fe99121 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -453,8 +453,8 @@ [singleProgressBar startAnimation:self]; //get array with an object for each mysql-query - queries = [dumpFile splitStringByCharacter:';']; - + queries = [dumpFile splitSqlStringByCharacter:';']; + [singleProgressBar stopAnimation:self]; [singleProgressBar setUsesThreadedAnimation:NO]; [singleProgressBar setIndeterminate:NO]; -- cgit v1.2.3