Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge mydumper head + morgo changes #4

Merged
merged 51 commits into from
Oct 9, 2018
Merged

Commits on Jan 16, 2017

  1. fix yet another errernous if when using defaults_file (mydumper#27)

    Signed-off-by: Christian Pointner <equinox@spreadspace.org>
    equinox0815 authored and maxbube committed Jan 16, 2017
    Configuration menu
    Copy the full SHA
    f79c3e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. Configuration menu
    Copy the full SHA
    eae0eb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e643528 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2017

  1. Bump version to 0.9.3

    maxbube authored Sep 7, 2017
    Configuration menu
    Copy the full SHA
    eef4d82 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2017

  1. Configuration menu
    Copy the full SHA
    7dd1bd4 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2017

  1. Change Readme to Readme.md (leverage MarkDown) (mydumper#59)

    This change leverage the MarkDown format in the file
    shakaran authored and maxbube committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    29beab7 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2017

  1. Add insert-ignore option (mydumper#20)

    tanji authored and maxbube committed Nov 17, 2017
    Configuration menu
    Copy the full SHA
    f43cf10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37aa066 View commit details
    Browse the repository at this point in the history
  3. Improve MarkDown format in Readme (mydumper#64)

    Following the improvement in PR mydumper#59
    shakaran authored and maxbube committed Nov 17, 2017
    Configuration menu
    Copy the full SHA
    7ce0cf4 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2017

  1. Redefine MYSQL_SERVER_VERSION with the client version (mydumper#80)

    MariaDB 10.2 splitted server/client variables and now
    MYSQL_SERVER_VERSION is not available. We now take the
    version string from the client header.
    
    Patch provided by by Brian Evans (grknight@gentoo.org):
    https://bugs.gentoo.org/635176
    
    Upstream issue:
    https://jira.mariadb.org/browse/MDEV-13773
    hydrapolic authored and maxbube committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    f006faf View commit details
    Browse the repository at this point in the history
  2. fixes mydumper#42 (mydumper#93)

    maxbube authored Dec 27, 2017
    Configuration menu
    Copy the full SHA
    d5739cf View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. Configuration menu
    Copy the full SHA
    057d3c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2018

  1. Adding an option in order to not disclose the password on the command…

    … line (mydumper#15)
    
    * adding the ability to use --ask-password or -a in order to be prompted to use a password rather than passing it through the command line
    
    * Adjusting getPassword to use getpass() so the password isn't displayed to the user
    
    * forgot to include the option for password prompting in myloader.c as well
    
    * Forgot to include getPassword.c in the cmakelist in order to get it to work in myloader
    
    * removing new lines
    
    Removing new lines as requested
    josev814 authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    85c577c View commit details
    Browse the repository at this point in the history
  2. Fix version string in output (mydumper#71)

    The patch tries to not use the server version string for the version
    output.
    MySQL has added LIBMYSQL_VERSION to mysql_version.h
    MariaDB has added MARIADB_VERSION_NUMBER_STR via an include and no
    longer declares MYSQL_SERVER_VERSION for the client.
    Sp1l authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    507e492 View commit details
    Browse the repository at this point in the history
  3. fix bug while create_databse function test database schema file exist (

    …mydumper#75)
    
    just by filename which mean the **CURRENT WORK DIR**, but it should
    be the file in data directory passed by -d
    shnwang authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    373941e View commit details
    Browse the repository at this point in the history
  4. Fix compilation with older MySQL versions. (mydumper#81)

    Commit 37aa066 broke compilation under
    at least Debian 9 and CentOS 6, as MYSQL_TYPE_JSON is not defined in the
    MySQL versions they ship.
    waptaff authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    c2b2c07 View commit details
    Browse the repository at this point in the history
  5. Allow skipping a very large number of tables (mydumper#82)

    * New option to specify tables to skip via a file.
    
    The --regex option works well but cannot scale to hundreds of thousands
    of distinct table names when a large number of tables must not be backed
    up.
    
    This new --omit-from-file option allows specifying a file containing a
    list of table names (in database.table format, one per line) to skip
    during backup.
    
    * Document the new --omit-from-file option.
    waptaff authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    5a3fc19 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    643b6da View commit details
    Browse the repository at this point in the history
  7. Mysql generated field support (mydumper#108)

    * add support for mysql 5.7 generated fields
    
    * minor memory leak fixes
    stoty authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    3640a7e View commit details
    Browse the repository at this point in the history
  8. Fix memleaks in mydumper (mydumper#113)

    * Fix memleak in dump_table_data
    
    We've noticed a high memory usage when there were alot of tables/databases.
    The memory usage increased while dumping the tables.
    Valgrind gave us the answer:
    ==24877== 24,192,604 (1,757,400 direct, 22,435,204 indirect) bytes in 73,225 blocks are definitely lost in loss record 175 of 185
    ==24877==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)
    ==24877==    by 0x60267C9: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
    ==24877==    by 0x603D62F: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
    ==24877==    by 0x60416C2: g_string_sized_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
    ==24877==    by 0x41FCA0: dump_table_data (mydumper.c:2723)
    ==24877==    by 0x4207C7: dump_table_data_file (mydumper.c:2521)
    ==24877==    by 0x420D13: process_queue (mydumper.c:522)
    ==24877==    by 0x6047844: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
    ==24877==    by 0x4E3D063: start_thread (pthread_create.c:309)
    
    * Fix more memleaks
    dupondje authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    f824859 View commit details
    Browse the repository at this point in the history
  9. Support SSL MySQL connections (mydumper#36)

    * TLS support
    
    * DRY the connection code
    
    * Add and use SSL verification options
    insom authored and maxbube committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    146fc38 View commit details
    Browse the repository at this point in the history
  10. fixes mydumper#103 (mydumper#125)

    maxbube authored Apr 26, 2018
    Configuration menu
    Copy the full SHA
    435ea24 View commit details
    Browse the repository at this point in the history
  11. fixes mydumper#102 (mydumper#126)

    maxbube authored Apr 26, 2018
    Configuration menu
    Copy the full SHA
    d69877b View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2018

  1. Configuration menu
    Copy the full SHA
    03a05b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42fe74d View commit details
    Browse the repository at this point in the history
  3. add target link lib stdc++

    maxbube committed Apr 27, 2018
    Configuration menu
    Copy the full SHA
    628b73d View commit details
    Browse the repository at this point in the history

Commits on May 3, 2018

  1. Optional SSL & MYSQL VERSION NUMBER (mydumper#130)

    * added option to disable ssl build
    
    * remove ssl arguments when -DWITH_SSL=OFF
    
    * vars from connection.c
    
    * support for old MYSQL_SERVER_VERSION
    maxbube authored May 3, 2018
    Configuration menu
    Copy the full SHA
    97438e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a922f4 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2018

  1. README update

    maxbube committed May 4, 2018
    Configuration menu
    Copy the full SHA
    03c9489 View commit details
    Browse the repository at this point in the history
  2. set version 0.9.5

    maxbube committed May 4, 2018
    Configuration menu
    Copy the full SHA
    bb96344 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2018

  1. cmakedine WITH_SSL

    maxbube committed May 21, 2018
    Configuration menu
    Copy the full SHA
    839bc51 View commit details
    Browse the repository at this point in the history
  2. Fix wrong WITH_SSL naming

    maxbube committed May 21, 2018
    Configuration menu
    Copy the full SHA
    a1ddcba View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. Add TiDB Support to mydumper

    morgo committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    5f4c0d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. Added a .gitignore file

    morgo committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    420189f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c9a0c9 View commit details
    Browse the repository at this point in the history
  3. Added missing free for query.

    morgo committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    cf68857 View commit details
    Browse the repository at this point in the history
  4. Changed tidb-snapshot flag to lower case

    Makes more sense
    morgo committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    472a814 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    995b510 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ef3302 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Revert unnecessary change

    morgo committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    791874f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    578066a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adddadd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f33828 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    666d2eb View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. Moved error message

    morgo committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    6a0726d View commit details
    Browse the repository at this point in the history
  2. Reverted optimization

    morgo committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    2579425 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2018

  1. Configuration menu
    Copy the full SHA
    16edfa9 View commit details
    Browse the repository at this point in the history
  2. Improved clean merge

    Removed session options from myloader that do not exist.
    morgo committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    f250e87 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2018

  1. Configuration menu
    Copy the full SHA
    f31adbb View commit details
    Browse the repository at this point in the history
  2. Fixed indentation

    morgo committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    e95223e View commit details
    Browse the repository at this point in the history
  3. Fix bug in printf

    morgo committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    6628465 View commit details
    Browse the repository at this point in the history