Browse Source

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

master
Tomasz Sowa 3 months ago
parent
commit
d162ca13bb
  1. 2
      src/baseexpression.cpp

2
src/baseexpression.cpp

@ -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) )
{

Loading…
Cancel
Save