changed the way how the table name is set in a Model - added prepare_table() method
removed from Model: virtual void table_name(PT::TextStream & stream); added to Model: virtual void prepare_table(); virtual void table(const wchar_t * table_name); virtual void table(const wchar_t * schema_name, const wchar_t * table_name);
This commit is contained in:
@@ -193,7 +193,7 @@ public:
|
||||
|
||||
if( !cursor_helper.has_autogenerated_select && cursor_helper.use_table_prefix_for_fetching_values )
|
||||
{
|
||||
result.prepare_table_names();
|
||||
result.model_env->add_table_name_to_finder_helper();
|
||||
}
|
||||
|
||||
result.before_select();
|
||||
@@ -369,7 +369,7 @@ protected:
|
||||
|
||||
if( !cursor_helper.has_autogenerated_select && cursor_helper.use_table_prefix_for_fetching_values )
|
||||
{
|
||||
added_model.prepare_table_names();
|
||||
added_model.model_env->add_table_name_to_finder_helper();
|
||||
}
|
||||
|
||||
added_model.before_select();
|
||||
|
Reference in New Issue
Block a user