~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

  • Committer: Brian Aker
  • Date: 2010-03-19 01:45:58 UTC
  • mfrom: (1358.1.8 build)
  • Revision ID: brian@gaz-20100319014558-wq2snrpbdz3e8lwo
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
}
183
183
 
184
184
int ArchiveEngine::doGetTableDefinition(Session&,
185
 
                                        const char* path,
186
 
                                        const char *,
187
 
                                        const char *,
188
 
                                        const bool,
189
 
                                        TableIdentifier &,
 
185
                                        TableIdentifier &identifier,
190
186
                                        drizzled::message::Table &table_proto)
191
187
{
192
188
  struct stat stat_info;
194
190
  string proto_path;
195
191
 
196
192
  proto_path.reserve(FN_REFLEN);
197
 
  proto_path.assign(path);
 
193
  proto_path.assign(identifier.getPath());
198
194
 
199
195
  proto_path.append(ARZ);
200
196
 
531
527
*/
532
528
 
533
529
int ArchiveEngine::doCreateTable(Session *,
534
 
                                 const char *table_name,
535
530
                                 Table& table_arg,
536
 
                                 drizzled::TableIdentifier &,
 
531
                                 drizzled::TableIdentifier &identifier,
537
532
                                 drizzled::message::Table& proto)
538
533
{
539
534
  char name_buff[FN_REFLEN];
565
560
  /*
566
561
    We reuse name_buff since it is available.
567
562
  */
568
 
  internal::fn_format(name_buff, table_name, "", ARZ,
569
 
            MY_REPLACE_EXT | MY_UNPACK_FILENAME);
 
563
  internal::fn_format(name_buff, identifier.getPath(), "", ARZ,
 
564
                      MY_REPLACE_EXT | MY_UNPACK_FILENAME);
570
565
 
571
566
  errno= 0;
572
567
  if (azopen(&create_stream, name_buff, O_CREAT|O_RDWR,