From: <ibr...@us...> - 2011-08-09 12:39:49
|
Revision: 4032 http://tora.svn.sourceforge.net/tora/?rev=4032&view=rev Author: ibre5041 Date: 2011-08-09 12:39:43 +0000 (Tue, 09 Aug 2011) Log Message: ----------- segfault fix Modified Paths: -------------- branches/tora-trotl/src/toresultfield.cpp Modified: branches/tora-trotl/src/toresultfield.cpp =================================================================== --- branches/tora-trotl/src/toresultfield.cpp 2011-08-09 01:50:11 UTC (rev 4031) +++ branches/tora-trotl/src/toresultfield.cpp 2011-08-09 12:39:43 UTC (rev 4032) @@ -171,9 +171,9 @@ do { std::auto_ptr <SQLParser::Statement> stat; std::auto_ptr <SQLParser::Lexer> lexer = LexerFactTwoParmSing::Instance().create("OracleSQL", txt, ""); - firstWord = lexer->firstWord(); if(firstWord.isEmpty()) break; + firstWord = lexer->firstWord(); currentWord = lexer->currentWord(line, col); if( QString::compare("CALL", firstWord, Qt::CaseInsensitive) == 0 || This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |