~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Monty Taylor
  • Date: 2008-12-08 20:28:18 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081208202818-lridvunkav8c2hii
Fixed a my_strndup -> strdup oops.

Show diffs side-by-side

added added

removed removed

Lines of Context:
758
758
                (hash_get_key) get_table_key,
759
759
                (hash_free_key) free_table_ent, 0))
760
760
    return(EX_EOM);
761
 
  /* Don't copy internal log tables */
762
 
  if (my_hash_insert(&ignore_table,
763
 
                     (unsigned char*) strdup("mysql.apply_status")) ||
764
 
      my_hash_insert(&ignore_table,
765
 
                     (unsigned char*) strdup("mysql.schema")) ||
766
 
      my_hash_insert(&ignore_table,
767
 
                     (unsigned char*) strdup("mysql.general_log")) ||
768
 
      my_hash_insert(&ignore_table,
769
 
                     (unsigned char*) strdup("mysql.slow_log")) ||
770
 
      my_hash_insert(&ignore_table,
771
 
                     (unsigned char*) strdup("mysql.online_backup")) ||
772
 
      my_hash_insert(&ignore_table,
773
 
                     (unsigned char*) strdup("mysql.online_backup_progress")))
774
 
    return(EX_EOM);
775
761
 
776
762
  if ((ho_error= handle_options(argc, argv, my_long_options, get_one_option)))
777
763
    return(ho_error);