summaryrefslogtreecommitdiff
path: root/sql/log_event.h
Commit message (Collapse)AuthorAgeFilesLines
* New SET syntax & system variables.monty@mashka.mysql.fi2002-07-231-2/+0
| | | | | | | | | | | | | Made a some new buffers thread specific and changeable. Resize of key_buffer. AUTO_COMMIT -> AUTOCOMMIT Fixed mutex bug in DROP DATABASE Fixed bug when using auto_increment as second part of a key where first part could include NULL. Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers. Don't write message to error log when slave reconnects becasue of timeout. Fixed possible update problem when using DELETE/UPDATE on small tables (In some cases we used index even if table scanning would be better) A lot of minior code cleanups
* Added support for rw_tryrdlock() and rw_trywrlock()monty@hundin.mysql.fi2002-06-291-6/+5
|
* Big code cleanup/review before 4.0.2 release.monty@mashka.mysql.fi2002-06-111-247/+230
| | | | | (All commit emails since 4.0.1 checked) This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
* fixes for slave backward compatsasha@mysql.sashanet.com2002-02-071-4/+7
| | | | | | | fixed bug in LOAD DATA FROM MASTER fixed rpl000001.result Slave now replicates 3.23 master, with the exception of LOAD DATA INFILE, which is still buggy. Will push this one after the pull/merge
* New error messagesmonty@hundin.mysql.fi2002-01-291-4/+4
| | | | | | | | Test of unsigned BIGINT values Fixes for queries-per-hour Cleanup of replication code (comments and portability fixes) Make most of the binary log code 4G clean Changed syntax for GRANT ... QUERIES PER HOUR
* Here comes a nasty patch, although I am not ready to push it yet. I willsasha@mysql.sashanet.com2002-01-191-20/+20
| | | | | | | | | | first pull, merge,test, and get it to work. The main change is the new replication code - now we have two slave threads SQL thread and I/O thread. I have also re-written a lot of the code to prepare for multi-master implementation. I also documented IO_CACHE quite extensively and to some extend, THD class.
* use env vars for socket/port in connect in mysqltestsasha@mysql.sashanet.com2001-11-171-1/+2
| | | | | | --local-master option in mysql-test-run do not log CREATE TABLE when doing table dump fix replication to slave off 3.23 master
* work to enable reading 3.23 logs - not yet finishedsasha@mysql.sashanet.com2001-11-101-11/+13
| | | | | moved fail-safe replication routines from sql_repl.cc to repl_failsafe.cc write start event only in the first log
* Integrated table->ref_primary_key into table->part_of_keymonty@hundin.mysql.fi2001-09-211-4/+6
| | | | Fixed bug in UNION
* Portability fixesmonty@hundin.mysql.fi2001-09-151-2/+2
|
* make LOAD DATA INFILE replication work with multi-character sasha@mysql.sashanet.com2001-08-181-11/+44
| | | | | | delimiters/starters/terminators started work on server management daemon
* temp commit working on a mergesasha@mysql.sashanet.com2001-08-111-1/+2
|
* mergedsasha@mysql.sashanet.com2001-08-091-1/+4
|\
| * mysqlbinlog->clientsasha@mysql.sashanet.com2001-08-091-0/+4
| |
| * do not log stray error codes in Query_log_eventsasha@mysql.sashanet.com2001-07-281-0/+3
| |
* | misc bug fixessasha@mysql.sashanet.com2001-08-061-0/+2
| |
* | LOAD DATA INFILE is now replicated properly, except for cleanup on sasha@mysql.sashanet.com2001-08-031-166/+238
| | | | | | | | | | | | | | | | | | Stop event and bugs the test suite could not catch Did some big restructuring of binlog event classes - most important change is that now each event class has exec_event method and one does not need to modify slave core code to add a new event. Slave code is now much smaller and easier to read
* | clean-up, more work on LOAD DATA INFILEsasha@mysql.sashanet.com2001-07-231-0/+4
| |
* | added pre/post read callbacks to IO_CACHEsasha@mysql.sashanet.com2001-07-201-6/+56
| | | | | | | | | | #ifdefed out code not used in the server from log events started on new LOAD DATA INFILE events
* | Redefinition of myisam_bulk_insert_tree_sizemonty@tik.mysql.fi2001-07-101-3/+3
| | | | | | | | | | | | | | | | Removed new error message Fixed test case for varbinary Threads are again killable in "merge_buffers" Cleanup of sql_repl.cc SHOW OPEN TABLES now works when no tables are opened
* | --do-test option in mysql-test-run - will do only tests that match the patternsasha@mysql.sashanet.com2001-06-261-5/+13
| | | | | | | | updated rotate event to set new position along with the new log
* | show master forced rotate info in SHOW BINLOG EVENTSsasha@mysql.sashanet.com2001-06-231-0/+1
| | | | | | | | mark a master-forced rotate with a special flag
* | added SHOW BINLOG EVENTSsasha@mysql.sashanet.com2001-06-211-3/+24
| | | | | | | | | | | | | | | | | | | | fixed log sequence bugs fixed bugs in handling Slave event added test case with SHOW BINLOG EVENTS have not fixed all the bugs - found some that are also in 3.23, will fix them there first, then do pull and cleanup will not push this changeset
* | Added event sequence number and flags to binlogsasha@mysql.sashanet.com2001-06-191-40/+85
| | | | | | | | | | Documented/cleaned up log event code Updated tests
* | Added slave log event to record the master position in of slave threadsasha@mysql.sashanet.com2001-06-141-1/+30
|/ | | | in slave binlog - needed for synchronization slave during recovery
* fixed redundant repetition of use db in mysqlbinlogsasha@mysql.sashanet.com2001-04-241-7/+7
| | | | | added support for virtual master ( replicating from a directory with binlogs) test case for backup/restore with virtual master
* do not log the drop internal temporary tables into the binary logsasha@mysql.sashanet.com2001-04-101-1/+1
| | | | | | mark killed partially completed updates with an error code in binlog stop replication if the master reports a possible partial/killed update test partially killed update
* replication fixessasha@mysql.sashanet.com2001-02-191-1/+1
|
* Portability fixes for OPENBSD, OS2 and Windowsmonty@donna.mysql.com2001-01-271-0/+4
|
* Merge work:/home/bk/mysqlsasha@mysql.sashanet.com2001-01-221-1/+1
|\ | | | | | | into mysql.sashanet.com:/home/sasha/src/bk/mysql
| * portability fixsasha@mysql.sashanet.com2001-01-221-1/+1
| |
* | Changes for --with-server-suffixmonty@donna.mysql.com2001-01-211-1/+2
|/ | | | | Fixed mutex bug in logging (crash on windows when doing SET PASSWORD=) Changed MERGE tables to not use FILE
* Lots of new benchmark runsmonty@donna.mysql.com2000-12-181-18/+18
| | | | | | Remember filename for temporary files created with mkstemp Fixed wrongly allocated BDB share structure Cleanups for SunPRO
* Fixed delete in tables with hidden primary keymonty@donna.mysql.com2000-12-121-1/+1
| | | | | | Remove not used BDB logs on shutdown Don't give warnings for repair on slaves Fixed transaction log files
* log_event.h fixed load data infile replication for alphasasha@mysql.sashanet.com2000-12-111-4/+4
|
* I hope I've fixed all the bugs by now, let's test itsasha@mysql.sashanet.com2000-12-111-0/+10
|
* Only write full transactions to binary logmonty@donna.mysql.com2000-12-071-4/+6
| | | | | | A lot of new functions for BDB tables Fix for DROP DATABASE on windows Default server_id variables
* yes, and a small change to log_event.hsasha@mysql.sashanet.com2000-11-251-2/+2
|
* Portability fixesmonty@donna.mysql.com2000-11-181-1/+1
|
* Fixes for bugs in the usage of IO_CACHEmonty@narttu.mysql.fi2000-11-171-14/+6
|
* mergedsasha@mysql.sashanet.com2000-11-151-32/+31
|\
| * mergemonty@narttu.mysql.fi2000-11-161-32/+31
| |\
| | * changed to use IO_CACHE instead of FILEmonty@narttu.mysql.fi2000-11-151-32/+31
| | |
* | | repl-tests/test-repl-ts/repl-timestamp.master.rejectsasha@mysql.sashanet.com2000-11-131-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this file needs to be deleted sql/log_event.cc fixed warnings sql/log_event.h fixed () #define bug sql/mysqlbinlog.cc fixed length argument - was supposed to be one less sql/mysqld.cc replicate-do/ignore-table now works, wild does not yet sql/mysql_priv.h updating argument to add_table_to_list() -- needed for replicate-do/ignore table sql/slave.cc changes fore replicate-do/ignore-table close the socket before going to sleep sleeping after error bad event was being freed too early sql/slave.h changes for replicate-do/ignore-table sql/sql_class.cc slave_thread variable to THD sql/sql_class.h added slave_thread to THD, fixed bug in end_time() sql/sql_parse.cc updating argument to add_tables_to_list() sql/sql_table.cc fixed bug in mysql_rm_table() sql/sql_yacc.yy fixed up add_table_to_list() calls to accept updating argument sql/table.h added updating to TABLE_LIST
* | laptop commit, syncing with the repostitory. Fixed some bad bugs in replicationsasha@laptop.slkc.uswest.net2000-11-111-4/+4
|/
* Automatic repair of MyISAM tables + small bug fixesmonty@donna.mysql.com2000-10-171-1/+1
|
* sql/log.ccsasha@mysql.sashanet.com2000-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added magic number to binlog sql/log_event.cc distinquish bogus data from truncated logs sql/log_event.h added magic number added LOG_READ_TRUNC error sql/mysqlbinlog.cc fixed to handle magic number added O_BINARY to my_fopen sql/mysqld.cc added code for replicate-rewrite-db sql/slave.cc replicate-rewrite-db O_BINARY handle magic sql/sql_class.h added i_string_pair class sql/sql_repl.cc added magic better error messages support-files/magic added magic for binlog Added test case for replication of queries with error
* fixed mutex bug ( or lack of it) when reading log entries on COM_BINLOG_DUMPsasha@mysql.sashanet.com2000-10-031-3/+9
| | | | | | added error_code to query event, and checking to see if we get the expected error on the slave removed obsolete code from slave.cc
* bug fixes in server-id, moved replication functionality tosasha@mysql.sashanet.com2000-09-291-1/+13
| | | | sql_repl.* will push this one, since the replication code now works
* This one will not be pushed, I am committing to be able to pull in Monty's ↵sasha@mysql.sashanet.com2000-09-281-18/+58
| | | | | | | | changes added server id, mostly working added --skip-slave-start, working added --replicate-rewrite-db - just in the cmd line parses, currently noop