Changeset 19185
- Timestamp:
- 08/19/18 17:52:00 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/FACT++/src/fits2sql.cc ¶
r19181 r19185 1 #include <boost/regex.hpp> 2 #include <boost/filesystem.hpp> 1 3 #include <boost/algorithm/string/join.hpp> 2 #include <boost/regex.hpp>3 4 4 5 #include "Database.h" … … 11 12 12 13 using namespace std; 14 namespace fs = boost::filesystem; 13 15 14 16 // ------------------------------------------------------------------------ … … 600 602 if (!row_format.empty()) 601 603 query += "ROW_FORMAT="+row_format+"\n"; 602 query += "COMMENT='created by "+ conf.GetName()+"'\n";604 query += "COMMENT='created by "+fs::path(conf.GetName()).filename().string()+"'\n"; 603 605 604 606 -
TabularUnified trunk/FACT++/src/root2sql.cc ¶
r19181 r19185 1 #include <boost/regex.hpp> 2 #include <boost/filesystem.hpp> 1 3 #include <boost/algorithm/string/join.hpp> 2 #include <boost/regex.hpp>3 4 4 5 #include "Database.h" … … 15 16 16 17 using namespace std; 18 namespace fs = boost::filesystem; 17 19 18 20 // ------------------------------------------------------------------------ … … 637 639 if (!row_format.empty()) 638 640 query += "ROW_FORMAT="+row_format+"\n"; 639 query += "COMMENT='created by "+ conf.GetName()+"'\n";641 query += "COMMENT='created by "+fs::path(conf.GetName()).filename().string()+"'\n"; 640 642 641 643 // FIXME: Can we omit the catching to be able to print the
Note:
See TracChangeset
for help on using the changeset viewer.