fixed: in Model::add_field_for_select(...) there was a table name added
This commit is contained in:
@@ -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)
|
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) )
|
if( !is_empty_field(model_env->table2_name) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user