summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
Commit message (Collapse)AuthorAgeFilesLines
* Some code optimisations related to EXPLAIN of derived tables and the Sinisa@sinisa.nasamreza.org2002-11-091-0/+1
| | | | resulting code cleanup in our main loop.
* Fixed accidentally inverted assert conditionbell@sanja.is.com.ua2002-11-051-1/+1
|
* moved similar code to functionbell@sanja.is.com.ua2002-11-041-2/+54
| | | | onversion with check
* removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM)bell@sanja.is.com.ua2002-10-301-3/+117
| | | | fixed some possible bugs
* fixed union rexecution bugbell@sanja.is.com.ua2002-10-271-1/+1
|
* code cleanupbell@sanja.is.com.ua2002-10-261-0/+1
| | | | | | | fixed subselect error handling bug fixed subselect UNION ALL bug fixed thd->lex.select restoring explain UNION subselect bug
* fixed subselect explain bugbell@sanja.is.com.ua2002-10-161-1/+1
|
* fixed bug of multi-level EXPLAINbell@sanja.is.com.ua2002-10-131-1/+1
|
* mergingbell@sanja.is.com.ua2002-10-041-3/+8
|\
| * subselect with unionbell@sanja.is.com.ua2002-09-031-2/+7
| | | | | | | | | | new error handling Item_ref bug fixed
* | Merge work:/my/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1monty@mashka.mysql.fi2002-10-031-5/+5
|\ \
| * | after merging bugfixbell@sanja.is.com.ua2002-10-031-5/+5
| | |
* | | Update after last merge. Fixes some wrong test results.monty@mashka.mysql.fi2002-10-031-1/+1
| | |
* | | Merge with 4.0.4monty@mashka.mysql.fi2002-10-021-39/+249
|\ \ \ | |/ /
| * | Fixes and code cleanups after merge with 4.0.3monty@mashka.mysql.fi2002-10-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning handling and initial prepared statement handling (last not complete yet) Changed a lot of functions that returned 0/1 to my_bool type. GRANT handling now uses read/write locks instead of mutex Change basic net functions to use THD instead of NET (needed for 4.1 protocol) Use my_sprintf instead of sprintf() + strlen() Added alloc_query() to be able to chare query initialization code with prepared statements. Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID() Note that the following test fails (will be fixed ASAP): sub_select, union, rpl_rotate_logs and rpl_mystery22
| * | Merge with 4.0.3monty@narttu.mysql.fi2002-08-301-39/+249
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | Some simple optimzations, more comments and indentation changes. Add ` around database in 'use database' in binary log. Moved max_error_count and max_warning_count to variables struct. Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls. Changed string functions to use character set of first string argument as default return characterset (Each string function can change the above assumption if needed)
| | * subselect in having clausebell@sanja.is.com.ua2002-07-011-2/+2
| | | | | | | | | | | | fixed bug in sum function in subselect
| | * New syntax for string with charset: _latin1'string'bar@gw.udmsearch.izhnet.ru2002-06-201-1/+13
| | | | | | | | | | | | Remove dupicated code
| | * Hiding internal pointers of SELECT_LEX structuresbell@sanja.is.com.ua2002-05-271-6/+7
| | |
| | * added depended subselect processingbell@sanja.is.com.ua2002-05-261-0/+1
| | |
| | * simple subselects ported to new select_lex structuresbell@sanja.is.com.ua2002-05-121-0/+1
| | |
| | * total table list managment is changedbell@sanja.is.com.ua2002-05-091-0/+76
| | |
| | * new SELECT_LEX structures used for storing global ORDER BY, global LIMIT & ↵bell@sanja.is.com.ua2002-05-081-2/+4
| | | | | | | | | | | | limit counters
| | * new SELECT_LEX structurebell@sanja.is.com.ua2002-05-071-0/+115
| | |
| | * mergemonty@hundin.mysql.fi2002-04-131-38/+40
| | |\
| | | * New ctype functions/macros to support many charsets at a timebar@gw.udmsearch.izhnet.ru2002-03-121-38/+40
| | | |
* | | | Fixed searching after ssl directories.monty@mashka.mysql.fi2002-09-051-3/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT Changed fn_ext to point at first '.' after directory. FLUSH LOGS removed numerical extension for all future update logs. Fixed the mysqld --help reports right values for --datadir and --bind-address --log-binary=a.b.c now properly strips of .b.c Fix that one can DROP UDF functions that was not loaded at startup Made AND optional in REQUIRE Added REQUIRE NONE
* | | New SET syntax & system variables.monty@mashka.mysql.fi2002-07-231-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 interface for first set of dynamic variables.jani@rhols221.adsl.netsonic.fi2002-06-281-0/+1
| | |
* | | Cleanup of checking of user resourcesmonty@mashka.mysql.fi2002-06-161-1/+0
| | | | | | | | | | | | Added missing checking of no_keyread
* | | A fix for multi-table delete with tables optimised away.Sinisa@sinisa.nasamreza.org2002-06-111-0/+1
| | | | | | | | | | | | | | | | | | Still not able to make a proper test case as this crashes on files where key and data pointers are 4 bytes each. Possibly a proper test case would require myisampack.
* | | Big code cleanup/review before 4.0.2 release.monty@mashka.mysql.fi2002-06-111-1/+1
|/ / | | | | | | | | (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.
* | replication updates and bugfixes. Still not perfect - there is some strangesasha@mysql.sashanet.com2002-03-151-0/+1
| | | | | | | | memory corruption I can only repeat on one system.
* | slave start <options> to be able to dosasha@mysql.sashanet.com2002-03-091-0/+1
|/ | | | | | slave start io_thread slave start sql_thread same for stop
* Fix after merge from 3.23monty@hundin.mysql.fi2002-02-151-2/+2
|
* merge with 3.23.49monty@hundin.mysql.fi2002-02-141-0/+2
|\
| * Don't give warnings for empty statements with commentsmonty@hundin.mysql.fi2002-02-141-0/+2
| |
* | Update copyrightmonty@hundin.mysql.fi2001-12-061-3/+3
| | | | | | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* | Portability fixmonty@hundin.mysql.fi2001-11-071-1/+1
| | | | | | | | Cleanup typos (like SKIPP -> SKIP)
* | merge with 3.23.44monty@hundin.mysql.fi2001-11-041-3/+24
|\ \ | |/
| * Fix for gcc 3.0monty@hundin.mysql.fi2001-10-301-2/+23
| | | | | | | | Fix for using quoted table names with the SJIS character set.
| * Fix for 'mysqladmin -w1 unknown-command'monty@hundin.mysql.fi2001-10-071-1/+1
| | | | | | | | Manual Changelog update
* | Don't do signal() on windows (Causes instability problems)monty@hundin.mysql.fi2001-10-171-2/+2
| | | | | | | | | | | | Safer, a bit faster filesort. Code changes to avoid calls to current_thd() (faster code). Removed all compiler warnings from readline.
* | Changed to use my_global.hmonty@hundin.mysql.fi2001-09-141-2/+9
| | | | | | | | | | Fixed problem with LIKE with latin1_de Added parsing support of UNSIGNED LONG LONG
* | Merge with 3.23.42monty@work.mysql.com2001-09-131-3/+13
|\ \ | |/
| * fixed IDENTITY crisissasha@mysql.sashanet.com2001-09-101-3/+13
| |
* | mergedsasha@mysql.sashanet.com2001-08-091-2/+2
|\ \ | |/
| * Added new optino --sql-mode to mysqld.jani@hynda.mysql.fi2001-08-091-2/+2
| |
* | Added support for ANSI SQL X'hex-string' format.monty@tik.mysql.fi2001-07-041-8/+29
| | | | | | | | | | Fixed mysqldump to use -- instead of # as comment characters. Removed support for the 3.20 protocol format
* | mergemonty@work.mysql.com2001-06-281-6/+3
|\ \ | |/