An error occurred fetching the project authors.
- 16 Mar, 2005 2 commits
-
-
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
-
- 12 Mar, 2005 1 commit
-
-
serg@serg.mylan authored
warning on startup if prepared foreign xids error on startup if prepared our xids temporarily: always rollback prepared our xids instead of an error
-
- 09 Mar, 2005 2 commits
-
-
marty@linux.site authored
-
jimw@mysql.com authored
-
- 05 Mar, 2005 1 commit
-
-
gluh@gluh.mysql.r18.ru authored
-
- 04 Mar, 2005 2 commits
-
-
acurtis@pcgem.rdg.cyberkinetica.com authored
Crashes with stored procedure return non-string values Also fixes Bug#2773
-
dlenev@brandersnatch.localdomain authored
and some SP-related cleanups. - We don't have separate stage for calculation of list of tables to be prelocked and doing implicit LOCK/UNLOCK any more. Instead we calculate this list at open_tables() and do implicit LOCK in lock_tables() (and UNLOCK in close_thread_tables()). Also now we support cases when same table (with same alias) is used several times in the same query in SP. - Cleaned up execution of SP. Moved all common code which handles LEX and does preparations before statement execution or complex expression evaluation to auxilary sp_lex_keeper class. Now all statements in SP (and corresponding instructions) that evaluate expression which can contain subquery have their own LEX.
-
- 03 Mar, 2005 2 commits
-
-
serg@serg.mylan authored
-
konstantin@mysql.com authored
and bug#8849 "problem with insert statement with table alias's": make equality propagation work in stored procedures and prepared statements. Equality propagation can change AND/OR structure of ON expressions, so the fix is to provide each execution of PS/SP with it's own copy of AND/OR tree. We have been doing that already for WHERE clauses, now ON clauses are also copied.
-
- 02 Mar, 2005 1 commit
-
-
guilhem@mysql.com authored
in slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded, optionally retry the transaction a certain number of times (new variable --slave_transaction_retries).
-
- 24 Feb, 2005 2 commits
-
-
monty@mysql.com authored
Previously we only stored the first given error (the error sent to the client)
-
ramil@mysql.com authored
-
- 22 Feb, 2005 1 commit
-
-
lars@mysql.com authored
-
- 21 Feb, 2005 1 commit
-
-
lars@mysql.com authored
-
- 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 2 commits
-
-
serg@serg.mylan authored
-
jani@ua141d10.elisa.omakaista.fi authored
-
- 08 Feb, 2005 2 commits
-
-
jimw@mysql.com authored
within is dropped and lower_case_table_names is set. (Bug #8355)
-
hf@deer.(none) authored
-
- 05 Feb, 2005 1 commit
-
-
sergefp@mysql.com authored
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only (2nd patch after Monty's comments).
-
- 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 :)
-
- 02 Feb, 2005 1 commit
-
-
monty@mysql.com authored
-
- 01 Feb, 2005 1 commit
-
-
serg@serg.mylan authored
-
- 30 Jan, 2005 1 commit
-
-
acurtis@pcgem.rdg.cyberkinetica.com authored
Fix replication for multi-update new test - rpl_multi_update2
-
- 27 Jan, 2005 1 commit
-
-
serg@serg.mylan authored
fix for binlog+autocommit+tclog comments, style fixes
-
- 26 Jan, 2005 1 commit
-
-
ram@gw.mysql.r18.ru authored
to avoid linking problems referring to the variable from .c programs.
-
- 21 Jan, 2005 2 commits
-
-
ram@gw.mysql.r18.ru authored
-
patg@pc248.lfp.kcls.org authored
-New tests and results logging_ok: Logging to logging@openlogging.org accepted ha_federated.h: removed quote_data and type_quote (now in the Field class) ha_federated.cc: moved quote_data and type_quote to field class field.h: new methods quote_data and needs_quotes declared field.cc: new field class methods quote_data and needs_quotes (per Monty's request) federated.test: more tests, joins, index tests have_federated_db.require: new name of federated system var federated.result: new test results for federated handler have_federated_db.inc: changed name of variable in test due to change in vars sql_analyse.cc: over-ridden append_escaped to take (String *, char *, uint) per requirements of 'create_where_from_key' method in federated handler. mysql_priv.h: define over-ridden append_escaped to take arguments from 'create_where_from_key' method in federated handler ha_federated.cc: implemented "create_where_from_key" to deal properly with two-byte prefix and multi keys. Initial testing shows it works, but I still need to move quoting to field class and also look at changes per Segei's suggestions.
-
- 19 Jan, 2005 2 commits
-
-
dlenev@brandersnatch.localdomain authored
Made user_limits.test scheduling independant (this solves failure on QNX). Made sys_var_max_user_conn variable int sized. Changed max_user_connections from ulong to uint to be able to use it in sys_var_max_user_conn::value_ptr() (solves failures on 64-bit platforms).
-
timour@mysql.com authored
This patch collects all previous patches into one. The main problem was due to that there is are two variables - dflt_key_cache and sql_key_cache with have more or less duplicate function. The reson for the bug was that the default value in the key cache hash was set to dflt_key_cache, then sql_key_cache was set to a new key cache object, and then dflt_key_cache was set to sql_key_cache which was different from the dflt_key_cache_var. After sending SIGHUP, the server was using the original default value for the key cache hash, which was different from the actual key cache object used for the default key cache.
-
- 18 Jan, 2005 1 commit
-
-
jimw@mysql.com authored
response. (Bug #6511)
-
- 16 Jan, 2005 1 commit
-
-
serg@serg.mylan authored
-
- 13 Jan, 2005 1 commit
-
-
monty@mysql.com authored
The bug was that if you have two TL_WRITE_DELAYED at the same time, mi_lock_databases() could be done in the wrong order and we could write the wrong header to the MyISAM index file.
-
- 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
-
- 03 Jan, 2005 1 commit
-
-
monty@mysql.com authored
This fixed a bug in prepared statements when used with outher joins Fixed a bug in SUM(DISTINCT) when used with prepared statements. Some safety fixes in test scripts to ensure that previous test failures shouldn't affect other tests
-
- 31 Dec, 2004 1 commit
-
-
monty@mysql.com authored
This allows use to use INSERT IGNORE ... ON DUPLICATE ...
-
- 30 Dec, 2004 2 commits
-
-
monty@mysql.com authored
-
gluh@gluh.mysql.r18.ru authored
added syntax: 'show variables where', 'show status where', 'show open tables where'
-
- 29 Dec, 2004 1 commit
-
-
dlenev@brandersnatch.localdomain authored
of concurrent connections for the same account)" Added support of account specific max_user_connections limit. Made all user limits to be counted per account instead of the old behavior, which was per user/host accounting. Added option which enables the old behavior. Added testing of these to the test suite. (After review version).
-