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:
2018-05-02 12:55:00 +00:00
parent e25b6d9a29
commit 6fc4e23e44
3 changed files with 8 additions and 8 deletions

View File

@@ -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) << '.';