summaryrefslogtreecommitdiff
path: root/sql/sql_analyse.cc
Commit message (Collapse)AuthorAgeFilesLines
* String::set(double) and set(longlong) -> set_real() and set_int()serg@serg.mylan2006-06-161-4/+4
| | | | | | fix Field::store(double) being used instead of store(longlong) NB: overloading functions is evil
* Fixed compiler and valgrind warningsmonty@mysql.com2006-03-291-18/+17
| | | | | | | | | | Added missing DBUG_xxx_RETURN statements Fixed some usage of not initialized variables (as found by valgrind) Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called. This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names() This will allow Tomas to continue with his work to use namelocks to syncronize things. Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
* Porting fix that allows others to include compiled code with different parsers. brian@zim.(none)2006-03-091-0/+2
| | | | Makes you wonder what I am up to, doesn't?
* Inefficient usage of String::append() fixed.bell@sanja.is.com.ua2005-11-201-29/+29
| | | | | | | Bad examples of usage of a string with its length fixed. The incorrect length in the trigger file configuration descriptor fixed (BUG#14090). A hook for unknown keys added to the parser to support old .TRG files.
* Additional fix for bug #14445 (analyse.test fails)hf@deer.(none)2005-11-011-3/+14
|
* Fix for bug #14445 (analyse.test fails)hf@deer.(none)2005-11-011-5/+11
|
* Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1jani@ua141d10.elisa.omakaista.fi2005-09-131-10/+8
|\ | | | | | | into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
| * Merged code. Removed unneccessary repeating.jani@ua141d10.elisa.omakaista.fi2005-09-131-10/+8
| |
* | Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1jani@a193-229-222-105.elisa-laajakaista.fi2005-09-111-5/+10
|\ \ | |/ | | | | into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
| * Fixed Bug#10716, Procedure Analyse results in wrong values for optimal field ↵jani@a193-229-222-105.elisa-laajakaista.fi2005-09-091-5/+10
| | | | | | | | | | | | type Added test case.
* | Merge with 4.1monty@mysql.com2005-06-071-2/+0
|\ \ | |/
| * a compiler must see '#pragma implementation' *before*serg@serg.mylan2005-06-051-1/+2
| | | | | | | | '#pragma interface' (that comes with the #include'd header file)
| * Move USE_PRAGMA_IMPLEMENTATION to proper placemonty@mysql.com2005-06-031-4/+1
| | | | | | | | | | | | Ensure that 'null_value' is not accessed before val() is called in FIELD() functions Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
* | Mergekent@mysql.com2005-06-021-0/+2
|\ \ | |/
| * tztime.cc:kent@mysql.com2005-06-021-0/+2
| | | | | | | | | | | | Set #pragma implementation" earlier Many files: Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
* | Merge from 4.1msvensson@neptunus.(none)2005-05-261-1/+1
|\ \ | |/
| * Add ifdefs to control when "#pragma implementation" should be usedmsvensson@neptunus.(none)2005-05-261-1/+1
| | | | | | | | Added some more ifdefs for "#pragma interface"
* | Remove compiler warnings and remove not used variablesmonty@mysql.com2005-02-251-1/+1
| | | | | | | | (Found during build process)
* | Fixed BUILD script to use --with-berkeley-db instead of --with-bdbmonty@mysql.com2005-02-191-15/+28
| | | | | | | | | | | | | | | | | | | | 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
* | Precision Math implementationhf@deer.(none)2005-02-091-3/+170
| |
* | Review fixedmonty@mysql.com2005-02-021-37/+0
| |
* | Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0patg@patrick-galbraiths-computer.local2005-01-251-2/+38
|\ \ | | | | | | | | | into patrick-galbraiths-computer.local:/Users/patg/mysql-5.0
| * | -Added quote_data and needs_quotes (moved from federated handler.patg@pc248.lfp.kcls.org2005-01-201-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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.
* | | mergedserg@serg.mylan2005-01-241-27/+32
|\ \ \ | |/ / |/| / | |/
| * fixes/cleanups according to Coverity reportserg@serg.mylan2005-01-241-27/+32
| |
* | Manual merge.konstantin@mysql.com2005-01-131-8/+7
|\ \ | |/
| * Minor clean up.jani@a193-229-222-105.elisa-laajakaista.fi2005-01-121-8/+7
| |
* | Merge mysql.com:/home/jwinstead2/mysql-4.1-cleanjimw@mysql.com2005-01-121-1/+58
|\ \ | |/ | | | | into mysql.com:/home/jwinstead2/mysql-5.0-clean
| * Fixed Bug#2813, "analyse does not quot string values in enams from string".jani@ua141d10.elisa.omakaista.fi2005-01-111-1/+58
| |
* | Rename: Item::val -> Item::val_real().konstantin@mysql.com2004-11-111-4/+4
|/
* mergedserg@serg.mylan2004-09-071-0/+7
|\
| * Fixed Bug#3645, "PROCEDURE ANALYSE() recommends illegaljani@rhols221.adsl.netsonic.fi2004-09-071-0/+7
| | | | | | | | FLOAT columns".
* | manually mergedserg@serg.mylan2004-08-181-3/+0
|\ \ | |/
| * Bug #4797 - 32 bit and 64 bit builds behave differently on int32 overflowserg@serg.mylan2004-08-111-3/+0
| |
* | Portability fixesmonty@mysql.com2004-05-121-3/+9
| |
* | my_atof is deletedserg@serg.mylan2004-02-131-1/+1
| | | | | | | | strtod from mit-threads is restored and cleaned up
* | Merge with 4.0.17monty@mysql.com2003-12-171-6/+2
|\ \ | |/
| * cleanup: if there is return from if-part, we don't need else statementkonstantin@mysql.com2003-12-101-6/+2
| |
| * Fixed problem when comparing a key for a multi-byte-character set. (bug 152)monty@mashka.mysql.fi2003-04-271-1/+0
| | | | | | | | | | | | | | | | Use 0x.... as strings if 'new' mode. (bug 152) Don't report -max on windows when InnoDB is enabled. (bug 332) Reset current_linfo; This could cause a hang when doing PURGE LOGS. Fix for row numbers in EXPLAIN (bug 322) Fix that USE_FRM works for all table types (bug 97)
* | Old style charset() and set_charset() were removed.bar@bar.mysql.r18.ru2003-08-051-6/+6
| |
* | There is no Item->binary() anymore. It was remain from 4.0.bar@bar.mysql.r18.ru2003-07-021-6/+0
| |
* | Fix broken windows distribution workspace file (libmysql.dsp), which is ↵venu@myvenu.com2003-04-161-1/+0
| | | | | | | | | | | | | | | | causing VC IDE to crash while loading Remove ctype_latin1_de.c from respective dsp files Fix to make_win_src_distribution.sh to delete all newly added IS Bitkeeper files
* | sys_var_collation is now abstract classbar@bar.mysql.r18.ru2003-04-071-4/+4
| | | | | | | | | | Two separate classes sys_var_client_collation and sys_var_literal_collation have been added for "literal_collation" and "client_collation" variables.
* | Merge with 4.0monty@narttu.mysql.fi2003-03-161-26/+37
|\ \ | |/
| * mergedserg@serg.mysql.com2003-03-131-26/+37
| |\
| | * NEWDATE -> DATE in anylyse() outputmonty@mashka.mysql.fi2003-03-121-32/+48
| | | | | | | | | | | | Changed that analyse(#) also affects strings
| * | merge with 3.23 to get corrected error message files and rename of files in ↵monty@narttu.mysql.fi2003-02-261-0/+4
| |\ \ | | |/ | | | | | | mysql-test
| | * fixed memory leak in ANALIZE initialization error reportingbell@sanja.is.com.ua2003-02-141-0/+4
| | |
| | * - Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)lenz@mysql.com2002-12-041-1/+1
| | | | | | | | | | | | - sql_analyse.cc: Fixed bug in decimal handling
* | | filesort.cc, sql_analyse.cc, item_func.cc, item_strfunc.cc, field.cc:bar@bar.mysql.r18.ru2003-03-131-4/+4
| | | | | | | | | | | | Unnesessary binary() calls have been removed