version 1.2, 2001/12/13 14:54:45
|
version 1.3, 2002/01/11 17:41:59
|
|
|
Please note that this method is not thread safe. It must be guarded | Please note that this method is not thread safe. It must be guarded |
with mutexes by the caller. | with mutexes by the caller. |
| |
@param text null terminated array of characters containing a SELECT |
@param text null-terminated C-string which points to SQL statement. |
statement. |
|
@param statement object which holds the compiled version of the SELECT | @param statement object which holds the compiled version of the SELECT |
statement upon return. | statement upon return. |
@exception ParseError if text is not a valid SELECT statement. | @exception ParseError if text is not a valid SELECT statement. |
|
|
terminated with a null. | terminated with a null. |
*/ | */ |
static void parse( | static void parse( |
|
const char* text, |
|
WQLSelectStatement& statement); |
|
|
|
/** Version of parse() taking an array of characters. |
|
*/ |
|
static void parse( |
const Array<Sint8>& text, | const Array<Sint8>& text, |
WQLSelectStatement& statement); | WQLSelectStatement& statement); |
| |
|
/** Version of parse() taking a string. |
|
*/ |
|
static void parse( |
|
const String& text, |
|
WQLSelectStatement& statement); |
|
|
private: | private: |
| |
/** This method cleans up all the strings which were created by LEX and | /** This method cleans up all the strings which were created by LEX and |