fixed: in Model::add_field_for_select(...) there was a table name added

This commit is contained in:
Tomasz Sowa 2021-07-07 01:06:01 +02:00
parent f4d92bec5d
commit d162ca13bb
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ void BaseExpression::field_after()
void BaseExpression::put_field_name_and_table_if_needed(const wchar_t * field_name, const FT & field_type, ModelEnv * model_env)
{
if( use_prefix && model_env )
if( !field_type.is_raw_field_name() && use_prefix && model_env )
{
if( !is_empty_field(model_env->table2_name) )
{