summaryrefslogtreecommitdiff
path: root/sql/field.cc
Commit message (Collapse)AuthorAgeFilesLines
* Portability fixesmonty@mysql.com2004-04-071-11/+0
| | | | | Fixed problems with group_concat() and HAVING Updated crash-me values
* Fixed charsetnr sent to the clientbar@bar.intranet.mysql.r18.ru2004-04-061-0/+12
|
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-04-051-9/+2
|\ | | | | | | into mysql.com:/home/my/mysql-4.1
| * Fixed many compiler warningsmonty@mysql.com2004-04-051-9/+2
| | | | | | | | | | | | Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319) Fixed crash when doing rollback in slave and the io thread catched up with the sql thread Set locked_in_memory properly
* | WL#1266 "Separate auto-set logic from TIMESTAMP type."dlenev@jabberwock.localdomain2004-04-021-8/+69
|/ | | | | | | | | | | Final version of patch. Adds support for specifying of DEFAULT NOW() and/or ON UPDATE NOW() clauses for TIMESTAMP field definition. Current implementation allows only one such field per table and uses several unireg types for storing info about this properties of field. It should be replaced with better implementation when new .frm format is introduced.
* Fix to get correct metadata when using temporary tables to create result. ↵monty@mysql.com2004-03-301-7/+10
| | | | (Bug #2654)
* 1. New data types, from the user point of view:bar@bar.intranet.mysql.r18.ru2004-03-261-1/+2
| | | | | | | | | | | BINARY(N) and VARBIBARY(N) 2. More 4.0 compatibility and more BINARY keyword consistency: 2a. CREATE TABLE a (a CHAR(N) BINARY) is now synonym for CREATE TABLE a (a CHAR(N) COLLATE xxxx_bin) 2b. SELECT BINARY x is still synonin for SELECT x COLLATE xxxxx_bin.
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-03-251-5/+8
|\ | | | | | | into mysql.com:/home/my/mysql-4.1
| * BTREE-indexes in HEAP tables can now be used to optimize ORDER BYmonty@mysql.com2004-03-251-5/+8
| | | | | | | | | | | | Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files Compare strings with space extend instead of space strip. Now the following comparisons holds: "a" == "a " and "a\t" < "a". (Bug #3152). Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns.
* | mergebell@sanja.is.com.ua2004-03-181-1/+1
|\ \ | |/ |/|
| * DBUG_ASSERT(fixed == 1); added to val*bell@sanja.is.com.ua2004-03-181-1/+1
| | | | | | | | small optimisation in signed_literal
* | merge fixes (use old code)monty@mysql.com2004-03-181-20/+16
|\ \
| * | after merge fixesmonty@mysql.com2004-03-181-20/+16
| |/
* | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1hf@deer.(none)2004-03-171-2/+2
|\ \ | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.233
| * | Fix for #233 (the second one)hf@deer.(none)2004-03-161-2/+2
| |/
* | warnings removedserg@serg.mylan2004-03-161-5/+5
|/
* Spatial code changed to get rid of inconsistent this->* operationhf@deer.(none)2004-03-121-7/+11
| | | | | Now we use virtual calls instead and redirect VMT pointer of the geometry object with 'new' operation
* Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1vva@eagle.mysql.r18.ru2004-03-061-36/+84
|\ | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_2082/mysql-4.1
| * - added commands --query_vertical and --query_horisontal to client/mysqltest.ccvva@eagle.mysql.r18.ru2004-03-061-2/+16
| | | | | | | | | | | | | | | | - get my_strtod to return inf - get Field_float::store(double) and Field_double::store(float) to set null for nan value (as extra serg's recomendations to fix for patch on Bug #2082 'mysqldump converts "inf" to null')
| * Fixed bug #2082 'mysqldump converts "inf" to NULL' andvva@eagle.mysql.r18.ru2004-03-041-40/+74
| | | | | | | | added commands vertical_results and horisontal_results to client/mysqltest.c
* | Optimized GIS functionsmonty@mashka.mysql.fi2004-03-041-24/+46
|/
* Changed wellformedlen to well_formed_lenmonty@mysql.com2004-02-171-9/+13
| | | | | Fixed that blobs >16M can be inserted/updated Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
* Merge with public treemonty@mysql.com2004-02-161-4/+3
|\
| * Merge with 4.0.18monty@mysql.com2004-02-111-4/+3
| |\
| | * Fix for bug #2523 '"func_time" test fails on QNX'.dlenev@mysql.com2004-01-301-9/+5
| | | | | | | | | | | | | | | | | | | | | Moved all range checks for TIMESTAMP value to my_gmt_sec(). Also fixed check of upper boundary of TIMESTAMP range (which also now will catch datetime values which are too small for TIMESTAMP in case if time_t is unsigned).
| | * Fix for bugs #1885, #2464, #2539. Proper handling of defaultdlenev@mysql.com2004-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | values for TIMESTAMP columns. The solution is not perfect since we just silently ignoring default value for first TIMESTAMP column and properly reflecting this fact in SHOW CREATE TABLE. We can't give a warning or simply support standard syntax (niladic functions as legal value for default) for first field since it is 4.0 tree.
| | * Code cleanupmonty@mysql.com2003-12-181-1/+1
| | |
| | * Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0vva@eagle.mysql.r18.ru2003-12-171-1/+1
| | |\ | | | | | | | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_2023/mysql-4.0
| | | * fixed small error in types in sql/field.cc vva@eagle.mysql.r18.ru2003-12-171-1/+1
| | | | | | | | | | | | | | | | (char * -> const char*)
* | | | http://bugs.mysql.com/bug.php?id=2368bar@bar.intranet.mysql.r18.ru2004-02-101-18/+14
|/ / / | | | | | | | | | Multibyte charsets do not check that incoming data is well-formed
* | | Ensure that result from date_format() is binarymonty@mysql.com2004-02-091-3/+2
| | | | | | | | | | | | Removed warnings from test suite
* | | mergemonty@mysql.com2004-02-091-21/+26
|\ \ \
| * | | Problem fix:bar@bar.intranet.mysql.r18.ru2004-02-061-21/+27
| | | | | | | | | | | | | | | | | | | | http://bugs.mysql.com/bug.php?id=2366 Wrong utf8 behaviour when data is trancated
* | | | Added --compact to mysqlbinlogmonty@mysql.com2004-02-091-6/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed output from mysqlbinlog when using --skip-comments Fixed warnings from valgrind Fixed ref_length when used with HEAP tables More efficent need_conversion() Fixed error handling in UPDATE with not updateable tables Fixed bug in null handling in CAST to signed/unsigned
* | | Conflicts resolvedhf@deer.(none)2004-01-231-1/+9
|\ \ \
| * | | SCRUM:hf@deer.(none)2004-01-151-1/+9
| | | | | | | | | | | | | | | | | | | | WL#1163 (Making spatial code optional) Pack of changes to do in sql/ code.
* | | | Further fixes for 2390: ucs2 alignmentbar@bar.intranet.mysql.r18.ru2004-01-211-10/+6
| | | |
* | | | field length convertion (bytes->chars) should be done with rounding UP.serg@serg.mylan2004-01-191-3/+3
| | | |
* | | | field.cc:bar@bar.intranet.mysql.r18.ru2004-01-151-2/+4
|/ / / | | | | | | | | | | | | | | | http://bugs.mysql.com/bug.php?id=2218 updating utf-8 text field generate nonsense chars Fix for the above bug.
* | | mergemonty@mysql.com2003-12-191-55/+80
|\ \ \
| * | | Fixes after merge with 4.0monty@mysql.com2003-12-191-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Cleaned up embedded library access and query cache handling Changed min stack size to 128K (to allow longer MyISAM keys) Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
| * | | Merge with 4.0.17monty@mysql.com2003-12-171-55/+81
| |\ \ \ | | |/ /
| | * | Fixes for last pullmonty@mysql.com2003-12-161-1/+1
| | | |
| | * | Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0Sinisa@sinisa.nasamreza.org2003-12-131-2/+2
| | |\ \ | | | |/ | | |/| | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0
| | | * Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0Sinisa@sinisa.nasamreza.org2003-12-111-2/+2
| | | |\ | | | | | | | | | | | | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0
| | | | * Fix for bug when zeros are to be prepended to decimal fieldSinisa@sinisa.nasamreza.org2003-11-181-2/+2
| | | | |
| | * | | refixed last vva patch with monty's instructionsvva@eagle.mysql.r18.ru2003-12-121-2/+2
| | | | |
| | * | | added checking for old cuted value in Field_enum::storevva@eagle.mysql.r18.ru2003-12-121-1/+1
| | |/ / | | | | | | | | | | | | (bug #2023)
| | * | cleanup: if there is return from if-part, we don't need else statementkonstantin@mysql.com2003-12-101-2/+2
| | | |
| | * | Fix undeterministic behaviour of year check dlenev@mysql.com2003-12-041-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | if we failed to classify integer as datetime in Field_datetime::store(). Stylistic clean-ups.