Fixed memory leak when replication restarts in debug mode
include/my_sys.h:
Added option to not overwrite files to my_copy()
mysql-test/mysql-test-run.sh:
Fixed --ddd option
Fixed that mysqld is restarted if there is a testname-master.sh file
mysql-test/r/backup.result:
Update for security fix in BACKUP TABLE
mysql-test/t/backup.test:
Update for security fix in BACKUP TABLE
mysys/my_copy.c:
Added option to not overwrite files to my_copy()
sql/ha_myisam.cc:
Don't allow BACKUP TABLE to overwrite files
sql/slave.cc:
Fixed problem with --debug output from 'handle_slave'
Fixed memory leak when replication restarts in debug mode
now we'll have something like this :
030308 18:46:58 Slave I/O thread: connected to master 'gb@localhost:3306', replication started in log 'FIRST' at position 4
030308 18:46:58 While trying to obtain the list of slaves from the master 'localhost:3306', user 'gb' got the following error: 'Access denied. You need the REPLICATION SLAVE privilege for this operation'
030308 18:46:58 Slave I/O thread exiting, read up to log 'FIRST', position 4
instead of "Error updating slave list: Query error".
This fixes bug #80.
sql/repl_failsafe.cc:
Clearer error message when one forgot to grant REPLICATION SLAVE
sql/repl_failsafe.h:
Clearer error message when one forgot to grant REPLICATION SLAVE
sql/slave.cc:
Updated for new syntax of update_slave_list
mysql-test/r/join.result:
Test of range optimizer bug
mysql-test/t/join.test:
Test of range optimizer bug
sql/sql_rename.cc:
Added missing DEBUG_PRINT()
Some after merge fixes
mysql-test/r/ctype_latin1_de.result:
Changed test to have more relevant results
mysql-test/r/delete.result:
Updated results after merge
mysql-test/r/select.result:
Remove explicit database usage
mysql-test/r/type_datetime.result:
Updated results after merge
mysql-test/t/ctype_latin1_de.test:
Changed test to have more relevant results
mysql-test/t/select.test:
Remove explicit database usage
sql/ha_myisam.cc:
Fixed AUTO_INCREMENT handling in MyISAM (last auto_increment patch broke things)
Print and error message also if a read from file results in the Linux error EEXIST; may happen if the disk is broken
innobase/os/os0file.c:
Print and error message also if a read from file results in the Linux error EEXIST; may happen if the disk is broken
BitKeeper/etc/ignore:
auto-union
BitKeeper/deleted/.del-delete.result:
Delete: mysql-test/r/delete.result
client/mysqlbinlog.cc:
Auto merged
libmysql/libmysql.c:
Auto merged
mysql-test/t/delete.test:
Auto merged
mysql-test/t/type_datetime.test:
Auto merged
sql/field.h:
Auto merged
sql/lock.cc:
Auto merged
sql/share/polish/errmsg.txt:
Auto merged
sql/sql_select.cc:
Auto merged
mysql-test/r/type_datetime.result:
Update results after merge
sql/log_event.h:
Use local version
sql/mysql_priv.h:
Use local version
sql/mysqld.cc:
Use local version
sql/sql_repl.h:
Use local version
Now log_pos is the real position of the event. For events that are between BEGIN and COMMIT,
log_pos is still the BEGIN's log_pos.
This fixes bug #52 (If only transactions are run on the master then t
Change mode to -rwxrwxr-x
netware/BUILD/compile-AUTOTOOLS:
Change mode to -rwxrwxr-x
netware/BUILD/compile-linux-tools:
Change mode to -rwxrwxr-x
netware/BUILD/compile-netware-END:
Change mode to -rwxrwxr-x
netware/BUILD/compile-netware-START:
Change mode to -rwxrwxr-x
netware/BUILD/compile-netware-all:
Change mode to -rwxrwxr-x
netware/BUILD/compile-netware-debug:
Change mode to -rwxrwxr-x
netware/BUILD/compile-netware-standard:
Change mode to -rwxrwxr-x
netware/BUILD/mwasmnlm:
Change mode to -rwxrwxr-x
netware/BUILD/mwccnlm:
Change mode to -rwxrwxr-x
netware/BUILD/mwenv:
Change mode to -rwxrwxr-x
netware/BUILD/mwldnlm:
Change mode to -rwxrwxr-x
netware/BUILD/nwbootstrap:
Change mode to -rwxrwxr-x
Add comment that Guilhem should check master_log_name, pending etc are right if the master log gets rotated
sql/ha_innodb.cc:
Add comment that Guilhem should check master_log_name, pending etc are right if the master log gets rotated
Remove (already commented out) code about storing the latest relay log pos info to InnoDB: we will probably use only the master log pos info when we restart a slave after a crash
sql/ha_innodb.cc:
Remove (already commented out) code about storing the latest relay log pos info to InnoDB: we will probably use only the master log pos info when we restart a slave after a crash
Do not try to resolve the table name of a corrupt page if the code is in ibbackup, i.e., the dict system is not initialized
innobase/buf/buf0buf.c:
Do not try to resolve the table name of a corrupt page if the code is in ibbackup, i.e., the dict system is not initialized
client/mysqltest.c:
Fixed bug that comments did a ping
include/thr_lock.h:
Added function to abort a lock for a specific thread
mysql-test/mysql-test-run.sh:
Fixed where mysqltest traces are put
mysql-test/r/lock_multi.result:
Test for LOCK TABLE + DROP TABLE bug
mysql-test/t/lock_multi.test:
Test for LOCK TABLE + DROP TABLE bug
mysys/thr_lock.c:
Added function to abort a lock for a specific thread
sql/handler.cc:
Indentation cleanup
sql/lock.cc:
Added function to abort a lock for a specific thread
sql/mysql_priv.h:
Added function to abort a lock for a specific thread
sql/mysqld.cc:
Use automatic recover even with --safe
sql/lock.cc:
Added functions to handle list of table name locks
sql/mysql_priv.h:
Added functions to handle list of named locks
sql/sql_rename.cc:
Use new general table name lock functions
sql/sql_table.cc:
Require table name locks when doing drop table.
This fixed a deadlock problem when using LOCK TABLE in one thread and DROP TABLE in another