changed: don't use column prefix in add_field_for_select()
git-svn-id: svn://ttmath.org/publicrep/morm/trunk@1107 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -123,11 +123,11 @@ void BaseExpression::field_after()
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_field_name(const wchar_t * field_name)
|
||||
void BaseExpression::put_field_name(const wchar_t * field_name, bool add_column_prefix)
|
||||
{
|
||||
before_field_name();
|
||||
|
||||
if( !column_prefix.empty() )
|
||||
if( add_column_prefix && !column_prefix.empty() )
|
||||
{
|
||||
esc(column_prefix, *out_stream);
|
||||
(*out_stream) << '.';
|
||||
|
Reference in New Issue
Block a user