~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/backup_ms.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-29 12:04:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110329120436-vozkuer8vqgh027p
Always call assert()

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 */
34
34
 
35
35
#ifdef DRIZZLED
36
 
#include "config.h"
 
36
#include <config.h>
37
37
#include <drizzled/common.h>
38
38
#include <drizzled/session.h>
39
39
#include <drizzled/table.h>
40
40
#include <drizzled/message/table.pb.h>
41
 
#include "drizzled/charset_info.h"
 
41
#include <drizzled/charset_info.h>
42
42
#include <drizzled/table_proto.h>
43
43
#include <drizzled/field.h>
44
44
#include <drizzled/field/varstring.h>
472
472
                char                            *transferBuffer;
473
473
                CloudKeyRec                     cloud_key;
474
474
 
475
 
                transferBuffer= (char*)malloc(MS_BACKUP_BUFFER_SIZE);
476
 
 
 
475
        
477
476
                bu_BackupRunning = true;
478
477
                bu_State = BU_RUNNING; 
479
478
 
487
486
                }
488
487
        */
489
488
        
 
489
                transferBuffer = (char*) cs_malloc(MS_BACKUP_BUFFER_SIZE);
 
490
                push_ptr_(transferBuffer);
 
491
                
490
492
                new_(head, CSStringBuffer(100));
491
493
                push_(head);
492
494
 
681
683
                }
682
684
                                
683
685
                release_(head);
 
686
                release_(transferBuffer);
684
687
                if (myMustQuit)
685
688
                        bu_State = BU_TERMINATED; 
686
689
                else
687
690
                        bu_State = BU_COMPLETED; 
688
 
 
689
 
                free(transferBuffer);
 
691
                        
690
692
        }       
691
693
        
692
694
        catch_(a) {