summaryrefslogtreecommitdiff
path: root/scripts/mysqlhotcopy.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF AddressVicențiu Ciorbaru2019-05-111-1/+1
| | | | * Update wrong zip-code
* Merge remote-tracking branch 'mysql/5.5' into 5.5Sergei Golubchik2017-07-181-2/+2
|\
| * BUG#25719975 SHEBANG HARD CODED AS /USR/BIN/PERL IN SCRIPTS, BREAKS ON FREEBSDTerje Rosten2017-03-281-2/+2
| | | | | | | | Use cmake variable to adjust shebang to platform.
| * Bug #12992993 MYSQLHOTCOPY FAILS IF VIEW EXISTSVenkata Sidagam2012-08-141-19/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem description: mysqlhotcopy fails if a view presents in the database. Analysis: Before 5.5 'FLUSH TABLES <tbl_name> ... WITH READ LOCK' will able to get lock for all tables (i.e. base tables and view tables). In 5.5 onwards 'FLUSH TABLES <tbl_name> ... WITH READ LOCK' for 'view tables' will not work, because taking flush locks on view tables is not valid. Fix: Take flush lock for 'base tables' and read lock for 'view table' separately. Note: most of the patch has been backported from bug#13006947's patch
| * Updated/added copyright headersKent Boortz2011-06-301-3/+3
| |\
| | * Updated/added copyright headersKent Boortz2011-06-301-3/+3
| | |\
| | | * Updated/added copyright headersKent Boortz2011-06-301-3/+4
| | | |
| * | | MergeKent Boortz2010-12-291-0/+17
| |\ \ \ | | |/ /
| | * | MergeKent Boortz2010-12-291-0/+17
| | |\ \ | | | |/
| | | * - Added/updated copyright headersKent Boortz2010-12-281-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed files specific to compiling on OS/2 - Removed files specific to SCO Unix packaging - Removed "libmysqld/copyright", text is included in documentation - Removed LaTeX headers for NDB Doxygen documentation - Removed obsolete NDB files - Removed "mkisofs" binaries - Removed the "cvs2cl.pl" script - Changed a few GPL texts to use "program" instead of "library"
| * | | WL#5486: Remove code for unsupported platformsDavi Arnaut2010-07-151-17/+3
| | | | | | | | | | | | Remove Netware specific code.
| * | | Manual merge of mysql-5.1-bugteam to mysql-trunk-merge.Alexey Kopytov2010-04-301-0/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Text conflict in configure.in Text conflict in dbug/dbug.c Text conflict in mysql-test/r/ps.result Text conflict in mysql-test/t/ps.test Text conflict in sql/CMakeLists.txt Text conflict in sql/ha_ndbcluster.cc Text conflict in sql/mysqld.cc Text conflict in sql/sql_plugin.cc Text conflict in sql/sql_table.cc
| | * | Bug #43594: mysqlhotcopy does not ignore log tables and others in mysql databaseGeorgi Kodinov2010-04-121-0/+8
| | |/ | | | | | | | | | Added a filter to mysqlhotcopy to filter out the same tables in the 'mysql' database that mysqldump filters out.
| * | Bug#42465 mysqlhotcopy fails with "Table '<y>' was locked with a READ ↵Alexey Botchkov2010-02-281-8/+31
| |/ | | | | | | | | | | | | | | | | | | | | | | | | lock" error message. Since 5.5 FLUSH TABLES requires unlocked tables so the old LOCK TABLES/FLUSH TABLES model fails. Use atomic FLUSH TABLES WITH READ LOCK instead. per-file comments: scripts/mysqlhotcopy.sh Bug#42465 mysqlhotcopy fails with "Table '<y>' was locked with a READ lock" error message. Use FLUSH TABLES WITH READ LOCK instead of LOCK TABLES / FLUSH TABLES pair. Keep the old scheme for older servers.
| * Bug#35769 typo in mysqlhotcopy documentationStaale Smedseng2009-04-281-30/+30
| | | | | | | | | | Fixed a number of typos, and made punctuation and capitalization more consistent in documentation and help.
| * Bug #27101 mysqlhotcopy --record_log_pos retrieves wrong slave parametersiggy@amd64.(none)2008-03-071-4/+5
| | | | | | | | - Make sure mysqlhotcopy doesn't create unrestorable slaves.
| * Merge ramayana.hindu.god:/home/tsmith/m/bk/b28460/50tsmith@ramayana.hindu.god2008-02-221-75/+24
| |\ | | | | | | | | | into ramayana.hindu.god:/home/tsmith/m/bk/build/50
| | * Bug #28460 mysqlhotcopy silently skips a database with two alphanumerics nametsmith@ramayana.hindu.god2008-02-181-75/+24
| | | | | | | | | | | | | | | Remove code from mysqlhotcopy which deals with the so-called "RAID" feature of older MyISAM.
| * | make_win_bin_dist CMakeLists.txt resolveip.c Makefile.am:kent@mysql.com/kent-amd64.(none)2007-12-281-1/+1
| |/ | | | | | | | | | | | | | | Better Windows support in the scripts directory mysql_config.pl.in, mysql_install_db.pl.in: New Perl version of Unix shell script, mainly for Windows Many files in scripts directory: Use default Perl location "#!/usr/bin/perl" instead of the build host path
| * Bug #27694: mysqlhotcopy & p5-DBD-mysql51-4.003tsmith@ramayana.hindu.god2007-08-201-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "SHOW TABLES FROM `db`" instead of $dbh->tables() in the get_list_of_tables() routine. The symptom is that, when used with recent versions of DBD::mysql, mysqlhotcopy uses a double-qualified table name, for example: Invalid db.table name 'test.test`.`x' at /usr/bin/mysqlhotcopy line 855. This is caused by a change in DBD::mysql. See this diff: http://svn.perl.org/viewcvs/modules/DBD-mysql/trunk/lib/DBD/mysql.pm?r1=9183&r2=9188 Basically, older DBD::mysql implemented a limited ->table_info method; now the full method is implemented, and as a result DBI's ->tables() method has access to the schema value, so it uses it.
| * Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maintmsvensson@shellback.(none)2006-10-031-3/+4
| |\ | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
| | * Merge siva.hindu.god:/usr/home/tim/m/bk/40tsmith/tim@siva.hindu.god2006-10-021-3/+4
| | |\ | | | | | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/41
| | | * Bug #18777: Mysqlhotcopy does not copy all the direcories.iggy@rolltop.ignatz42.dyndns.org2006-07-261-3/+4
| | | |
| * | | Don't try to mysqlhotcopy the INFORMATION_SCHEMA database. (Bug #14610)jimw@mysql.com2005-11-101-0/+1
| |/ /
| * | BUG#7967 Fix mysqlhotcopy --record-log-positionelliot@mysql.com2005-06-061-3/+17
| | |
| * | Remove doubled quotes (used for escaping) in table names in mysqlhotcopy.jimw@mysql.com2005-02-181-1/+4
| | | | | | | | | | | | Part of fix for Bug #8136.
| * | Fix handling of table-name matching in mysqlhotcopy when newer versions ofjimw@mysql.com2005-01-271-4/+8
| | | | | | | | | | | | | | | | | | DBD::mysql that quote table names are used by removing the quoting. Also fix a bug that stripped all '~' characters out of the table regex instead of just the leading one used to negate the expression. (Bug #8136)
| * | Mergemonty@mysql.com2004-10-081-4/+4
| |\ \ | | |/
| | * Fixed Bug#5575, mysqlhotcopy is broken when using --noindicesjani@a80-186-41-201.elisa-laajakaista.fi2004-10-071-4/+4
| | |
| * | Merge with 4.0 for 4.1 releasemonty@mysql.com2004-10-061-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Noteworthy: - New HANDLER code - New multi-update-grant-check code - Table lock code in ha_innodb.cc was not applied
| | * another small change for bug 5531patg@krsna.patg.net2004-09-141-1/+1
| | |
| | * fixed bug 5531patg@krsna.patg.net2004-09-141-1/+1
| | |
| * | - Avoid the error message "Can't read index header from..."lenz@mysql.com2004-07-151-0/+1
| |/ | | | | | | | | | | | | | | when copying a small index file because the value returned for $length is < 1024. This can happen if the filehandle was open()ed as an UTF-8 encoded file with Unicode characters (In this case read() returns characters not bytes) (Thanks to Mike Bethune) for this hint)
| * mysqlhotcopy:serg@serg.mylan2004-07-091-8/+8
| | | | | | | | | | fix MYI copying with scp safer tempfile creation
| * Added patches from Novellmonty@mysql.com2004-05-251-2/+18
| |
| * Added option chroot to mysqlhotcopy.jani@ua72d24.elisa.omakaista.fi2004-03-041-1/+4
| | | | | | | | Useful in case mysqld was started with chroot.
| * Reverted a wrong patch from mysqlhotcopy. This is a real bugjani@rhols221.adsl.netsonic.fi2003-10-221-3/+3
| | | | | | | | in MySQL server...
| * Fixed a bug in mysqlhotcopy, which made special table namesjani@rhols221.adsl.netsonic.fi2003-10-221-3/+3
| | | | | | | | | | to cause program to abort. Such table name could have been one with a semicolon (:) in the middle.
| * Fixed bug #954 mysqlhotcopy permission problem. The databasejani@rhols221.adsl.netsonic.fi2003-10-221-0/+2
| | | | | | | | directory owner ship was not honored.
| * Applied a patch from Travis Wheeler to mysqlhotcopy that allowsjani@rhols221.adsl.netsonic.fi2003-10-221-2/+15
| | | | | | | | using regexp with tablenames together with databasenames.
| * Fix for BUG#812 guilhem@mysql.com2003-07-101-21/+49
| | | | | | | | | | | | "mysqlhotcopy fails to copy tables but does not indicate a failure" ("does not indicate a failure"); this is about "mysqlhotcopy fails to copy tables".
| * - Fixed mysqlhotcopy to actually abort if copying the tables failed.lenz@mysql.com2003-07-081-2/+2
| | | | | | | | (BUG#812)
| * mysqlhotcopy.sh:paul@teton.kitebird.com2003-07-081-5/+6
| | | | | | | | | | | | Undo serg's patch that used my_print_defaults, and instead simply do not define $opt{user}. This allows the script to use option files properly.
| * added missing ~/.my.cnf support to mysqlhotcopy (bug #808)serg@serg.mylan2003-07-081-0/+5
| |
| * Fixed a compatibility bug in mysqlhotcopy between differentjani@rhols221.adsl.netsonic.fi2003-07-041-1/+5
| | | | | | | | | | | | versions of DBD. New mysqlhotcopy version supports both old and new DBD versions while versions elder than 1.19 support only old DBD versions.
| * - applied patch from Tim Bunce (new --addtodest option that adds copiedlenz@mysql.com2003-05-031-9/+27
| | | | | | | | files into an already existing directory)
| * Applied a patch which fixes a quoting problem withjani@rhols221.adsl.netsonic.fi2003-02-241-3/+16
| | | | | | | | mysql_hot_copy when --checkpoint or --record-log-pos was used.
| * - added word of warning about providing the password as cleartext usinglenz@mysql.com2003-02-051-3/+8
| | | | | | | | | | the --password parameter (better add it to my.cnf instead) (Thanks to Christian Hammers for the suggestion)
| * - Fixed some minor bugs/typoslenz@mysql.com2002-11-151-0/+1
| |
| * - added "darwin" to the list of systems that are known to support thelenz@mysql.com2002-10-211-3/+3
| | | | | | | | | | | | -p option for cp and the -r option for scp (thank to Paul DuBois for the patch) - fixed a typo