| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Use cmake variable to adjust shebang to platform.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ |
|
| | |\ |
|
| | | | |
|
| |\ \ \
| | |/ / |
|
| | |\ \
| | | |/ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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"
|
| | | |
| | | |
| | | | |
Remove Netware specific code.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |/
| | |
| | |
| | | |
Added a filter to mysqlhotcopy to filter out the same tables in the 'mysql'
database that mysqldump filters out.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Fixed a number of typos, and made punctuation and
capitalization more consistent in documentation
and help.
|
| |
| |
| |
| | |
- Make sure mysqlhotcopy doesn't create unrestorable slaves.
|
| |\
| | |
| | |
| | | |
into ramayana.hindu.god:/home/tsmith/m/bk/build/50
|
| | |
| | |
| | |
| | |
| | | |
Remove code from mysqlhotcopy which deals with the so-called "RAID"
feature of older MyISAM.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\
| | |
| | |
| | | |
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
|
| | |\
| | | |
| | | |
| | | | |
into siva.hindu.god:/usr/home/tim/m/bk/41
|
| | | | |
|
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | | |
Part of fix for Bug #8136.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| |\ \
| | |/ |
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Noteworthy:
- New HANDLER code
- New multi-update-grant-check code
- Table lock code in ha_innodb.cc was not applied
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| | |
fix MYI copying with scp
safer tempfile creation
|
| | |
|
| |
| |
| |
| | |
Useful in case mysqld was started with chroot.
|
| |
| |
| |
| | |
in MySQL server...
|
| |
| |
| |
| |
| | |
to cause program to abort. Such table name could have been
one with a semicolon (:) in the middle.
|
| |
| |
| |
| | |
directory owner ship was not honored.
|
| |
| |
| |
| | |
using regexp with tablenames together with databasenames.
|
| |
| |
| |
| |
| |
| | |
"mysqlhotcopy fails to copy tables but does not indicate a failure"
("does not indicate a failure");
this is about "mysqlhotcopy fails to copy tables".
|
| |
| |
| |
| | |
(BUG#812)
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
versions of DBD. New mysqlhotcopy version supports both old
and new DBD versions while versions elder than 1.19 support
only old DBD versions.
|
| |
| |
| |
| | |
files into an already existing directory)
|
| |
| |
| |
| | |
mysql_hot_copy when --checkpoint or --record-log-pos was used.
|
| |
| |
| |
| |
| | |
the --password parameter (better add it to my.cnf instead) (Thanks to
Christian Hammers for the suggestion)
|
| | |
|
| |
| |
| |
| |
| |
| | |
-p option for cp and the -r option for scp (thank to Paul DuBois for
the patch)
- fixed a typo
|
| | |
|