Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2
mysql-workbench
mysql-workbench-ctemplate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mysql-workbench-ctemplate.patch of Package mysql-workbench
diff -rup a/backend/wbpublic/sqlide/recordset_text_storage.cpp b/backend/wbpublic/sqlide/recordset_text_storage.cpp --- a/backend/wbpublic/sqlide/recordset_text_storage.cpp 2014-06-20 21:18:09.000000000 +0200 +++ b/backend/wbpublic/sqlide/recordset_text_storage.cpp 2014-07-06 14:01:10.349533464 +0200 @@ -205,7 +205,7 @@ void Recordset_text_storage::do_serializ if (!pre_tpl) g_warning("Failed to open template file: `%s`", pre_tpl_path.c_str()); else - pre_tpl->ReloadIfChanged(); + ctemplate::Template::ReloadAllIfChanged(); } if (g_file_test((name+".post.tpl").c_str(), G_FILE_TEST_EXISTS)) { @@ -214,8 +214,8 @@ void Recordset_text_storage::do_serializ if (!post_tpl) g_warning("Failed to open template file: `%s`", post_tpl_path.c_str()); else - post_tpl->ReloadIfChanged(); - } + ctemplate::Template::ReloadAllIfChanged(); + } } { @@ -223,7 +223,7 @@ void Recordset_text_storage::do_serializ throw std::runtime_error(strfmt("Failed to open output file: `%s`", _file_path.c_str())); } - tpl->ReloadIfChanged(); + ctemplate::Template::ReloadAllIfChanged(); std::auto_ptr<TemplateDictionary> dict(new TemplateDictionary("/")); BOOST_FOREACH (const Parameters::value_type ¶m, _parameters)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor