fix: correctly use a table name when a Select::no_auto_generated_columns flag is used
This commit is contained in:
parent
86177889af
commit
25a91168ac
|
@ -1215,12 +1215,12 @@ protected:
|
|||
was_query_error = false;
|
||||
last_query_error.clear();
|
||||
use_table_prefix_for_fetching = false;
|
||||
set_db_expression();
|
||||
|
||||
if( model_connector )
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
set_db_expression();
|
||||
out_stream->clear();
|
||||
}
|
||||
else
|
||||
|
@ -1372,6 +1372,12 @@ private:
|
|||
if( db_connector )
|
||||
{
|
||||
db_expression = db_connector->get_expression();
|
||||
|
||||
if( db_expression )
|
||||
{
|
||||
db_expression->clear();
|
||||
db_expression->allow_to_use_prefix(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue