FT field_type changed to const FT & field_type in functions arguments
This commit is contained in:
@@ -1006,7 +1006,7 @@ void Model::put_fields_to_log(PT::Log & log, const wchar_t * db_field_name, cons
|
||||
* this is only in a case when has_foreign_key is false, may it can be ignored? we can use unique index in such a case
|
||||
*
|
||||
*/
|
||||
void Model::field_model_left_join(const wchar_t * db_field_name, Model & field_model, FT field_type, DbExpression * db_expression)
|
||||
void Model::field_model_left_join(const wchar_t * db_field_name, Model & field_model, const FT & field_type, DbExpression * db_expression)
|
||||
{
|
||||
if( model_env && field_model.model_env && model_env->finder_helper )
|
||||
{
|
||||
@@ -1208,7 +1208,7 @@ void Model::field_model_iterate_through_childs(const wchar_t * db_field_name, Mo
|
||||
|
||||
|
||||
|
||||
void Model::field_model_generate_flat_string(const wchar_t * flat_field_name, Model & field_model, FT field_type)
|
||||
void Model::field_model_generate_flat_string(const wchar_t * flat_field_name, Model & field_model, const FT & field_type)
|
||||
{
|
||||
FlatConnector * flat_connector = model_connector->get_flat_connector();
|
||||
|
||||
@@ -1228,7 +1228,7 @@ void Model::field_model_generate_flat_string(const wchar_t * flat_field_name, Mo
|
||||
}
|
||||
|
||||
|
||||
void Model::field_model_generate_db_sql(const wchar_t * db_field_name, Model & field_model, FT field_type)
|
||||
void Model::field_model_generate_db_sql(const wchar_t * db_field_name, Model & field_model, const FT & field_type)
|
||||
{
|
||||
DbConnector * db_connector = model_connector->get_db_connector();
|
||||
|
||||
@@ -1314,7 +1314,7 @@ void Model::field_model_clear_values(Model & field_model)
|
||||
}
|
||||
|
||||
|
||||
void Model::field_model_read_values_from_queryresult(const wchar_t * db_field_name, Model & field_model, FT field_type)
|
||||
void Model::field_model_read_values_from_queryresult(const wchar_t * db_field_name, Model & field_model, const FT & field_type)
|
||||
{
|
||||
DbConnector * db_connector = model_connector->get_db_connector();
|
||||
|
||||
@@ -1343,7 +1343,7 @@ void Model::field_model_read_values_from_queryresult(const wchar_t * db_field_na
|
||||
}
|
||||
|
||||
|
||||
void Model::field_model(const wchar_t * db_field_name, const wchar_t * flat_field_name, Model & field_model, FT field_type)
|
||||
void Model::field_model(const wchar_t * db_field_name, const wchar_t * flat_field_name, Model & field_model, const FT & field_type)
|
||||
{
|
||||
if( model_connector && model_env )
|
||||
{
|
||||
@@ -1393,7 +1393,7 @@ void Model::field_model(const wchar_t * db_field_name, const wchar_t * flat_fiel
|
||||
}
|
||||
|
||||
|
||||
void Model::field_model_for_db(const wchar_t * db_field_name, Model & field_model, FT field_type)
|
||||
void Model::field_model_for_db(const wchar_t * db_field_name, Model & field_model, const FT & field_type)
|
||||
{
|
||||
if( model_env->model_work_mode == MORM_MODEL_WORK_MODE_SET_PARENT_ID )
|
||||
{
|
||||
|
Reference in New Issue
Block a user