An error occurred fetching the project authors.
- 25 Mar, 2005 1 commit
-
-
gbichot@quadita2.mysql.com authored
This saves one byte per Query_log_event on disk compared to 5.0.[0..3]. Compatibility problems with 5.0.x where x<4 are explained in the comments in log_event.cc. Putting back s/my_open(O_TRUNC)/(my_delete+my_create) change which had been wiped away by somebody doing a wrong 4.1->5.0 merge (which happened just before 5.0.3 :( ). Applying it to new events for LOAD DATA INFILE. If slave fails in Execute_load_query_log_event::exec_event(), don't delete the file (so that it's re-usable at next START SLAVE). And (youpi!) fix for BUG#3247 "a partially completed LOAD DATA INFILE is not executed at all on the slave" (storing an Execute_load_query_log_event to binlog, with its error code, instead of Delete_file_log_event).
-
- 21 Mar, 2005 2 commits
-
-
gbichot@production.mysql.com authored
of SET ONE_SHOT; storing tz info directly in event (if this info is needed), it's now allowed to have different global tz on master and slave.
-
konstantin@mysql.com authored
-
- 17 Mar, 2005 1 commit
-
-
gbichot@quadxeon.mysql.com authored
When we come to create these, they may already exist and it's necessary to delete these old, useless copies.
-
- 16 Mar, 2005 4 commits
-
-
serg@serg.mylan authored
#ifdef USING_TRANSACTIONS ha_innodb.cc: comment rpl_drop_temp.test, rpl_drop_temp.result: cleanup
-
monty@mysql.com authored
Removed some optional arguments Fixed portability problem in federated tests
-
dlenev@brandersnatch.localdomain authored
The idea is to use TABLE_LIST::lock_type for passing type of lock for target table to mysql_load() instead of using LEX::lock_option (which were rewritten by first subselect in SET clause). This should also fix potential problem with LOAD DATA in SP (it is important for them to have right lock_type in the table list by the end of statement parsing).
-
dlenev@brandersnatch.localdomain authored
Now one can use user variables as target for data loaded from file (besides table's columns). Also LOAD DATA got new SET-clause in which one can specify values for table columns as expressions. For example the following is possible: LOAD DATA INFILE 'words.dat' INTO TABLE t1 (a, @b) SET c = @b + 1; This patch also implements new way of replicating LOAD DATA. Now we do it similarly to other queries. We store LOAD DATA query in new Execute_load_query event (which is last in the sequence of events representing LOAD DATA). When we are executing this event we simply rewrite part of query which holds name of file (we use name of temporary file) and then execute it as usual query. In the beggining of this sequence we use Begin_load_query event which is almost identical to Append_file event
-
- 02 Mar, 2005 2 commits
-
-
guilhem@mysql.com authored
First part of fix for BUG#7998 "Replication should be more clever about when to replicate RELEASE_LOCK()" (next part is updating test results)
-
serg@serg.mylan authored
deadlock in MYSQL_LOG::new_file() style fixes
-
- 25 Feb, 2005 1 commit
-
-
monty@mysql.com authored
(Found during build process)
-
- 23 Feb, 2005 2 commits
-
-
guilhem@mysql.com authored
cast sql_mode to ulonglong before int8store, otherwise the implementation of int8store based on >> complains that we do 32-bit var >> 32 which is undefined according to C standard. (compiler warning appeared on SGI Irix)
-
serg@serg.mylan authored
correct end_log_pos for Xid_log_event
-
- 21 Feb, 2005 4 commits
-
-
lars@mysql.com authored
-
serg@serg.mylan authored
-
lars@mysql.com authored
-
monty@mysql.com authored
Portability fixes and cleanups Fixed setting of 'res' in mysql_execute_command()
-
- 19 Feb, 2005 1 commit
-
-
monty@mysql.com authored
Lots of small fixes to multi-precision-math path Give Note for '123.4e' Added helper functions type 'val_string_from_real() Don't give warnings for end space for string2decimal() Changed storage of values for SP so that we can detect length of argument without strlen() Changed interface for str2dec() so that we must supple the pointer to the last character in the buffer
-
- 17 Feb, 2005 1 commit
-
-
serg@serg.mylan authored
-
- 16 Feb, 2005 1 commit
-
-
lars@mysql.com authored
-
- 09 Feb, 2005 1 commit
-
-
serg@serg.mylan authored
auto-commit on Xid_log_event
-
- 08 Feb, 2005 1 commit
-
-
hf@deer.(none) authored
-
- 03 Feb, 2005 1 commit
-
-
guilhem@mysql.com authored
we store 7 bytes (1 + 2*3) in every Query_log_event. In the future if users want binlog optimized for small size and less safe, we could add --binlog-no-charset (and binlog-no-sql-mode etc): charset info is something by design optional (even if for now we don't offer possibility to disable it): it's not a binlog format change. We try to reduce the number of get_charset() calls in the slave SQL thread to a minimum by caching the charset read from the previous event (which will often be equal to the one of the current event). We don't use SET ONE_SHOT for charset-aware repl (we still do for timezones, will be fixed later). No more errors if one changes the global value of charset vars on master or slave (as we log charset info in all Query_log_event). Not fixing Load_log_event as it will be rewritten soon by Dmitri. Testing how mysqlbinlog behaves in rpl_charset.test. mysqlbinlog needs to know where charset file is (to be able to convert a charset number found in binlog (e.g. in User_var_log_event) to a charset name); mysql-test-run needs to pass the correct value for this option to mysqlbinlog. Many result udpates (adding charset info into every event shifts log_pos in SHOW BINLOG EVENTS). Roughly the same job is to be done for timezones :)
-
- 27 Jan, 2005 1 commit
-
-
serg@serg.mylan authored
fix for binlog+autocommit+tclog comments, style fixes
-
- 16 Jan, 2005 1 commit
-
-
serg@serg.mylan authored
-
- 12 Jan, 2005 1 commit
-
-
guilhem@mysql.com authored
when printing SET @var in mysqlbinlog, backtick the collation (as BINARY is a reserved word)
-
- 06 Jan, 2005 1 commit
-
-
monty@mysql.com authored
Split TABLE to TABLE and TABLE_SHARE (TABLE_SHARE is still allocated as part of table, will be fixed soon) Created Field::make_field() and made Field_num::make_field() to call this Added 'TABLE_SHARE->db' that points to database name; Changed all usage of table_cache_key as database name to use this instead Changed field->table_name to point to pointer to alias. This allows us to change alias for a table by just updating one pointer. Renamed TABLE_SHARE->real_name to table_name Renamed TABLE->table_name to alias Renamed TABLE_LIST->real_name to table_name
-
- 04 Jan, 2005 1 commit
-
-
monty@mysql.com authored
Add support for warnings for prepare of prepared statements Fixed test to work with --ps-protocol Fixed some test results
-
- 31 Dec, 2004 1 commit
-
-
monty@mysql.com authored
This allows use to use INSERT IGNORE ... ON DUPLICATE ...
-
- 16 Dec, 2004 1 commit
-
-
guilhem@mysql.com authored
-
- 03 Dec, 2004 2 commits
-
-
guilhem@mysql.com authored
(exactly, for the bug in 4.1 reported in this bug report). We just make Load_log_event work like Query_log_event for temp tables.
-
mats@mysql.com authored
CREATE DATABASE statement used the current database instead of the database created when checking conditions for replication. CREATE/DROP/ALTER DATABASE statements are now replicated based on the manipulated database.
-
- 18 Nov, 2004 2 commits
-
-
guilhem@mysql.com authored
post-conflict-merge fix (duplicate comment)
-
guilhem@mysql.com authored
When mysqlbinlog prints LOAD DATA INFILE, let it print the thread id. Some customer would have benefited much from this in his recovery. All this change does is adding one commented (#) line before the LOAD DATA command, so it is quite innocuous.
-
- 15 Nov, 2004 1 commit
-
-
lars@mysql.com authored
Replication using replicate-rewrite-db did not work for LOAD DATA INFILE. Now is does. There was one place in the code that used current database instead of the rewrite database.
-
- 12 Nov, 2004 2 commits
-
-
pem@mysql.comhem.se authored
-
brian@avenger.(none) authored
-
- 07 Nov, 2004 1 commit
-
-
monty@mysql.com authored
Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root. This gives us the following benefits: - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases) - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT) - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
-
- 03 Nov, 2004 1 commit
-
-
monty@mysql.com authored
FOUND is not a reserved keyword anymore Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
-
- 21 Oct, 2004 1 commit
-
-
bell@sanja.is.com.ua authored
-