~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/table_identifier.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 11:47:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707114749-2r2bgjhk36o06p1n
Refactor build_table_filename

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
BOOST_AUTO_TEST_CASE(StaticTmpTable)
53
53
{
54
 
  std::vector<char> pathname;
55
 
 
56
 
  identifier::Table::build_tmptable_filename(pathname);
 
54
  std::string pathname(identifier::Table::build_tmptable_filename());
57
55
 
58
56
  BOOST_REQUIRE_GT(pathname.size(), 0);
59
57
  BOOST_REQUIRE_GT(strlen(&pathname[0]), 0);