summaryrefslogtreecommitdiff
path: root/sql
Commit message (Collapse)AuthorAgeFilesLines
* Porting of "buffered read" patch to 5.0 and post-review fixes.konstantin@mysql.com2005-03-061-1/+1
| | | | | | | | The patch implements the idea suggested by Olaf van der Spek in thread "Client: many small reads?" (internals@lists.mysql.com). Now small reads performed by the client library are buffered. The buffering gives up to 2 times speedup when retrieving one-column tables.
* sql_udf.cc:paul@frost.snake.net2005-03-051-9/+9
| | | | Comment changes: use standard style; fix grammar.
* Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0bar@mysql.com2005-03-058-24/+38
|\ | | | | | | into mysql.com:/home/bar/mysql-5.0
| * Mergebar@mysql.com2005-03-058-24/+38
| |\
| | * logging_ok:igor@linux.local2005-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logging to logging@openlogging.org accepted func_group.result, func_group.test: Added a test case for bug #8893. opt_sum.cc: A misplaced initialization for the returned parameter prefix_len in the function find_key_for_maxmin caused usage of a wrong key prefix by the min/max optimization in cases when the matching index was not the first index that contained the min/max field.
| | * ha_innodb.cc:marko@hundin.mysql.fi2005-03-041-0/+1
| | | | | | | | | | | | | | | write_row(): Detect SQLCOM_OPTIMIZE, so that also OPTIMIZE TABLE will commit at every 10,000 copied rows.
| | * type_blob.result, func_system.result, func_str.result, ctype_collate.result:bar@mysql.com2005-03-046-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixing test results accordingly. func_system.test: New test that illegal mix of collations does not happen anymore. item_strfunc.h: safe_charset_converter() was added for system constants. item_strfunc.cc: safe_charset_converter() was added for system constants. item_func.cc, item.h, item.cc: Bug#8291: Illegal collation mix with USER() function. After discussion with PeterG and Serge, a new coercibility level for "system constants" was introduced, between COERRIBLE and IMPLICIT. Thus: SELECT col1 = USER() FROM t1; - is done according to col1 collation. SELECT 'string' = USER(); - is done according to USER() collation. At the same time, "nagg" and "strong" members were removed as unused. item_create.cc: Version is a system constant too.
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0dlenev@mysql.com2005-03-055-12/+14
|\ \ \ | |/ / |/| | | | | into mysql.com:/home/dlenev/src/mysql-5.0-sp
| * | Fix for yet another memleak caused by SP-locking patch.dlenev@brandersnatch.localdomain2005-03-055-12/+14
| | | | | | | | | | | | | | | | | | Improved handling of situations when we encounter error during CREATE PROCEDURE (FUNCTION/TRIGGER/...) and bail out of yyparse() without restoring proper THD::lex.
* | | WL2131: Access control for SHOW ... PROCEDURE|FUNCTION ...gluh@gluh.mysql.r18.ru2005-03-056-21/+134
| | |
* | | Chmod -x for ha_federated.hkonstantin@mysql.com2005-03-051-0/+0
| | |
* | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0hf@deer.(none)2005-03-051-14/+38
|\ \ \ | |/ / |/| | | | | into deer.(none):/home/hf/work/mysql-5.0.8915
| * | Fix for bug #8431 (FLOOR returns incorrect result)hf@deer.(none)2005-03-041-9/+21
| | |
| * | Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0hf@deer.(none)2005-03-041-7/+19
| |\ \ | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-5.0.8915
| | * | Fix for bug #8430 (CEILING returns incorrect result)hf@deer.(none)2005-03-041-7/+19
| | | |
* | | | Fix for memory leak which was introduced by patch improving locking in SP.dlenev@brandersnatch.localdomain2005-03-042-2/+3
|/ / / | | | | | | | | | | | | Made mysql_make_view() to call destructor for st_lex_local objects before throwing them away (this happens in case of error).
* | | Manual merge SP-locking improvements patch with current tree.dlenev@mysql.com2005-03-0423-793/+1340
|\ \ \
| * | | Better approach for prelocking of tables for stored routines executiondlenev@brandersnatch.localdomain2005-03-0423-749/+1325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Mergeingo@mysql.com2005-03-041-413/+636
| | | |
* | | | Merge with after merge fixingo@mysql.com2005-03-045-683/+508
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge mysql.com:/home/mydev/mysql-4.0ingo@mysql.com2005-03-041-2/+2
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/mydev/mysql-4.1-4100
| | * | | typos fixedserg@serg.mylan2005-03-031-2/+2
| | | | |
| * | | | Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/serg@serg.mylan2005-03-046-48/+96
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.1
| | * | | | after merge fixesserg@serg.mylan2005-03-031-7/+7
| | | | | |
| | * | | | mergeserg@serg.mylan2005-03-036-48/+96
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge bk-internal:/home/bk/mysql-4.0/serg@serg.mylan2005-03-036-43/+94
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.0
| | | | * | | uninit variable fixedserg@serg.mylan2005-03-031-1/+1
| | | | | | |
| | | | * | | Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it)serg@serg.mylan2005-03-036-43/+94
| | | | | | |
| | | * | | | Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0sergefp@mysql.com2005-02-281-1/+2
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/psergey/mysql-4.0-look
| | | | * | | | Fix for BUG#7519: Index statistics is not displayed after ANALYZE for ↵sergefp@mysql.com2005-02-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | temporary tables: Call file->extra() with HA_STATUS_CONST in mysqld_show_keys. The fix will not be merged into 4.1/5.0 because they don't have this problem already.
* | | | | | | | Clean up merge of fix for Bug #3309.jimw@mysql.com2005-03-031-13/+17
| | | | | | | |
* | | | | | | | Merged from 4.1jimw@mysql.com2005-03-032-27/+20
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Merge mysql.com:/home/jimw/my/mysql-4.1-3309jimw@mysql.com2005-03-031-28/+14
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| | * | | | | Fix bug in checking of table-specific grats that caused IP/NETMASKjimw@mysql.com2005-03-021-28/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hostnames to not be matched correctly. (Bug #3309)
| * | | | | | Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1sergefp@mysql.com2005-03-031-0/+7
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | into mysql.com:/home/psergey/mysql-4.1-bugs
| | * | | | | Comments added sergefp@mysql.com2005-03-031-0/+2
| | | | | | |
| | * | | | | Fix for BUG#8562: In Item_int_with_ref::new_item() create Item_int or Item_uintsergefp@mysql.com2005-02-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | depending on ref->unsigned_flag. Item_int_with_ref can refer to both signed and unsigned integers.
* | | | | | | Merge bk-internal:/home/bk/mysql-5.0jimw@mysql.com2005-03-031-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * \ \ \ \ \ \ Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0gluh@gluh.mysql.r18.ru2005-03-031-0/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
| | * | | | | | | Fix for bug #8164: subquery with INFORMATION_SCHEMA.COLUMNS, 100 % CPUgluh@gluh.mysql.r18.ru2005-03-031-0/+4
| | | | | | | | |
* | | | | | | | | Merge bk-internal:/home/bk/mysql-5.0jimw@mysql.com2005-03-033-29/+32
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * | | | | | | | Merge bk-internal:/home/bk/mysql-5.0jimw@mysql.com2005-03-023-29/+32
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| | * \ \ \ \ \ \ \ Merge mysql.com:/home/jimw/my/mysql-5.0-8678jimw@mysql.com2005-03-011-20/+25
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| | | * | | | | | | | Move some code around to appease the IBM AIX compiler. (Bug #8678)jimw@mysql.com2005-02-241-20/+25
| | | | | | | | | | |
| | * | | | | | | | | Merge mysql.com:/home/jimw/my/mysql-5.0-8444jimw@mysql.com2005-03-012-9/+7
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| | | * | | | | | | | | Include a timestamp on the 'ready for connections' message by printing itjimw@mysql.com2005-02-222-9/+7
| | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using sql_print_information() instead of directly to stdout. (Bug #8444)
* | | | | | | | | | | Fixes for bug#8115 "Server Crash with prepared statement"konstantin@mysql.com2005-03-037-27/+87
| |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Fix for bug#8740: Server crash at start on Solaris 9 (64 bit)gluh@gluh.mysql.r18.ru2005-03-033-3/+3
| | | | | | | | | |
* | | | | | | | | | Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0ramil@mysql.com2005-03-032-23/+12
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/usr/home/ram/work/5.0
| * | | | | | | | | | After merge fix.ramil@mysql.com2005-03-031-2/+0
| | | | | | | | | | |