sergefp@mysql.com
70e677bd0f
Make the tests deterministic: change DELETE ... LIMIT to DELETE ... ORDER BY ... LIMIT
2005-03-31 20:23:10 +04:00
sergefp@mysql.com
86e3a378ea
Fix for BUG#9213: GROUP BY returns wrong query results:
...
Make test_if_skip_sort_order() rebuild tab->ref if it decides to use an index
different from the index join optimizer has choosen.
2005-03-30 15:57:42 +04:00
monty@mysql.com
79ec81071a
Better bugfix for "HAVING when refering to RAND()" (Bug #8216 )
...
Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
This will ensure that any reference to these has a valid value.
Generalized the code for split_sum_func()
2005-02-08 14:41:09 +02:00
monty@mysql.com
32f91f48e8
Fixed bug in HAVING when refering to RAND() through alias
...
(BUG 8216)
2005-02-07 18:13:57 +02:00
sergefp@mysql.com
2d9fae642c
Merge fix for BUG#6976 from 4.0
2004-12-11 20:13:43 +03:00
sergefp@mysql.com
f78a60593a
Fix for BUG#6976:
...
In Item_ref::Item_ref set maybe_null (and other fields fix_fields sets) to be the
same as in (*ref), because Item_ref::fix_fields() will not be called. Previously
maybe_null was 0 always and this produced a bogus state where
maybe_null==0 && is_null() == true
which broke evaluation for some upper-level Items, like AND and OR.
2004-12-11 19:59:09 +03:00
sergefp@mysql.com
c8422dfcc7
Fix for bug#5400 "GROUP_CONCAT returns everything twice":
...
Don't evaluate the value of GROUP_CONCAT several times for the same 'group', reuse the value instead.
2004-09-08 22:43:37 +04:00
bell@sanja.is.com.ua
4c774e0c18
fixed flags of printed query
2004-05-13 23:47:20 +03:00
monty@mysql.com
031390a9a4
Fixes after merge with 4.0
...
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)
2003-12-19 16:25:50 +02:00
monty@mysql.com
e0cc6799ec
Merge with 4.0.17
2003-12-17 17:35:34 +02:00
antony@ltantony.rdg.cyberkinetica.homeunix.net
fcf96dbb18
WorkLog#1323
...
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
2003-12-10 04:31:42 +00:00
konstantin@mysql.com
25a0bfb268
bug #1335 tests followup:
...
--disable_query_log was not a good idea, Serg says
2003-12-10 01:08:10 +03:00
konstantin@mysql.com
5fa5a8df4e
Fix for bug #1335 : filesort is missing in EXPLAIN if ORDER BY NULL is used
2003-12-09 23:52:58 +03:00
bell@sanja.is.com.ua
33346e26af
added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
...
added string length for more speed
made code covarage for print() method of Item
fixed printability of some items (SCRUM) (WL#1274)
2003-10-30 12:57:26 +02:00
monty@narttu.mysql.fi
77a70a0a24
merge with 4.0.15
2003-08-29 13:44:35 +03:00
monty@mashka.mysql.fi
4f7512160b
After merge fixes
...
Use server character set if --default-character-set is not used
Added convert_string() for more efficient alloc+character-set convert of strings
2003-08-19 00:08:08 +03:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
Sinisa@sinisa.nasamreza.org
8d4e8b567a
Test case for bug #807
2003-07-09 22:33:26 +03:00
monty@mashka.mysql.fi
34919a03c4
Added thread variable max_seeks_for_key
...
Change optimizer to prefer key lookups before table scan
Change table scans to be done after tables with constrains on scanned table
2003-06-27 03:04:54 +03:00
monty@narttu.mysql.fi
23145cfed7
Added SQLSTATE to client/server protocol
...
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00
monty@mashka.mysql.fi
cb7061ebe4
merge
2003-05-22 02:57:27 +03:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
venu@myvenu.com
72196c9b16
Updated warning test
...
Updated all tests to catchup warnings for all field conversions
2003-04-30 00:07:37 -07:00
monty@narttu.mysql.fi
279a60d689
Changed test slightly to make it repeatable
...
(There was a problem on some AMD system when the floating point precision wasn't accurate enough)
2003-04-24 02:23:25 +03:00
monty@narttu.mysql.fi
f6a43bd567
Fixes for valgrind
...
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
2003-04-23 21:52:16 +03:00
monty@mashka.mysql.fi
3bed7a6131
Merge with 4.0.13
2003-03-26 18:37:38 +02:00
monty@narttu.mysql.fi
a71abe822d
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into narttu.mysql.fi:/my/mysql-4.0
2003-03-25 13:07:02 +02:00
monty@narttu.mysql.fi
9a7b0ef83d
Fixed bug with GROUP BY and alias
2003-03-25 13:06:20 +02:00
jani@hynda.(none)
a7f632d7a8
Changed some tests to pass with new auto_increment handling,
...
e.g. default value is not accepted with auto_increment anymore.
2003-03-22 20:34:20 +02:00
monty@narttu.mysql.fi
a434bca704
Merge with 4.0
2003-03-16 19:17:54 +02:00
serg@serg.mysql.com
a069d93f30
test result updated after merge
2003-03-13 14:34:07 +01:00
monty@mashka.mysql.fi
25de9c19b2
After merge fixes & remove compiler warnings
...
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
monty@mashka.mysql.fi
8611ac7a9c
After merge fix
2003-01-29 19:33:48 +02:00
monty@mashka.mysql.fi
9e3fd09305
merge with 3.23.56 to get patches for --lower-case-table-names and
...
proper handling of SUM() in some functions.
2003-01-29 19:22:22 +02:00
bell@sanja.is.com.ua
c6beb583f6
fixed functions to be able work with group function as argument
...
made bisone 1.75 compatible code
2003-01-29 10:38:56 +02:00
monty@mashka.mysql.fi
689578a099
Fixes for Netware
...
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
monty@mashka.mysql.fi
76f146a175
Merge with 4.0.9
2003-01-18 03:13:37 +02:00
monty@mashka.mysql.fi
5c7d102043
After merge fix
2003-01-17 13:57:15 +02:00
monty@mashka.mysql.fi
1f6ecc0cd3
Changed mysql-test to print warnings for not existing table to DROP TABLE
...
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
2003-01-06 01:48:59 +02:00
monty@mashka.mysql.fi
f22fde21c0
Fixed max_key_length when using UNIQUE keys.
...
This fixed a bug in GROUP BY on a BLOB column with NULL values.
2002-12-27 21:39:35 +02:00
monty@mashka.mysql.fi
859b688476
Merge with 4.0.6
2002-12-05 19:38:42 +02:00
serg@serg.mysql.com
edb671e270
post-merge fix
2002-12-04 10:47:51 +01:00
monty@hundin.mysql.fi
b9d1e3fc4f
Merge work:/my/mysql-3.23 into hundin.mysql.fi:/my/mysql-3.23
2002-12-02 14:17:04 +02:00
Sinisa@sinisa.nasamreza.org
757a5faec2
Fix for sum_func IN (..)
2002-12-02 14:16:02 +02:00
monty@hundin.mysql.fi
fab1fcea8b
Fixed bug in MAX() optimization when used with JOIN and ON expressions
...
(Patch from 4.0.5)
2002-12-02 13:41:08 +02:00
Sinisa@sinisa.nasamreza.org
8c22407372
a fix for a bug with HAVING sum_func IN (...)
2002-11-30 18:38:44 +02:00
Sinisa@sinisa.nasamreza.org
8a53d1ca6a
adding mandatory aliases for derived tables as per SQL-99
...
doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
2002-11-28 19:19:21 +02:00
bell@sanja.is.com.ua
aa5983b4a7
fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds
...
renamed tables to prevent droping real tables
2002-11-24 17:41:34 +02:00