konstantin@mysql.com
124c4ca346
cleanup: if there is return from if-part, we don't need else statement
2003-12-10 22:26:31 +03:00
konstantin@mysql.com
d04b02b977
followup to fix for bug #1790 BIT_AND() result in GROUP BY different when
...
SQL_BIG_RESULT used": now BIT_AND() always returns 18446744073709551615
if no rows were found.
This patch also fixes bug #1972 : "BIT_AND() and BIT_OR() still return
a *signed* 64bit value"
2003-12-10 15:17:23 +03:00
konstantin@mysql.com
cf192063d1
Post-review fixes for bug #1790 'BIT_AND() result in GROUP BY different when
...
SQL_BIG_RESULT used':
- BIT_AND now returns BIGINT UNSIGNED
- in case there were no matching rows BIT_AND returns 18446744073709551615
(but not NULL), BIT_OR returns 0 (but not NULL). That's how Monty wants it
and how is described in our docs.
2003-12-02 19:39:51 +03:00
konstantin@mysql.com
c4a9dc4f8b
fix for bug #1790 :
...
"BIT_AND() result in GROUP BY different when SQL_BIG_RESULT used"
return value of BIT_AND changed to BIGINT SIGNED
Also the patch fixes another bug: when temporary table is in use and one of
values in group is NULL, BIT_AND always returns zero.
Fixed it to always skip null values.
2003-11-21 00:03:04 +03:00
monty@narttu.mysql.fi
fe9dc5e711
Add column names for metadata when running mysql with -T
...
Change metadata info so that that MIN() and code MAX() reports that they can return NULL. Bug #324
2003-08-27 10:26:03 +03:00
monty@narttu.mysql.fi
359846f052
Fixed some varnings from valgrind
...
Set min value of max_allowed_packet to 1024
Fixed problem with UNION's without braces and SQL_CALC_FOUND_ROWS, LIMIT #,#
and ORDER BY...LIMIT
2003-08-20 16:25:44 +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
3e6c350f64
Fixed bug in SUM() with NULL:s
...
Added logging of warnings for failed connections with ssl.
Fixed bug in symbolic link handling on Windows
2003-04-15 22:04:16 +03:00
monty@mashka.mysql.fi
78e7230e73
Better fix for count(distinct) bug
2003-02-10 17:03:27 +02:00
serg@sergbook.mysql.com
cba78f827c
count(distint) on an empty table crash fixed
2003-02-10 12:01:47 +01: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
jani@rhols221.adsl.netsonic.fi
7cad1f9313
Added interface for first set of dynamic variables.
2002-06-28 19:30:09 +03:00
monty@mashka.mysql.fi
2aecdd1a91
Big code cleanup/review before 4.0.2 release.
...
(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.
2002-06-11 11:20:31 +03:00
monty@hundin.mysql.fi
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
55a6911bb1
Portability fixes.
2001-10-03 17:02:14 +03:00
monty@tik.mysql.fi
e05bf277d6
Final fixes for INSERT into MERGE tables.
...
Move MAX_BLOB_WIDTH to be global
Added full support for unsigned BIGINT
Fixed spelling errors
2001-09-27 21:45:48 +03:00
monty@hundin.mysql.fi
0d72e5440f
Portability fixes
2001-09-15 16:22:34 +03:00
monty@hundin.mysql.fi
59e7c97dab
Remove warnings and portability fixes
...
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
monty@tik.mysql.fi
b13d453d50
Fix UNION
...
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
2001-08-02 06:29:50 +03:00
serg@serg.mysql.com
0043136882
merged
2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474
memory-limited tree
...
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
monty@work.mysql.com
7f68199648
merge
2001-06-21 11:03:54 +02:00
monty@hundin.mysql.fi
72fb81e888
Fixed bug in mysqlcheck when using --fast
...
Fixed problem when converting bigint to double.
Fixed bug in count(distinct null)
Fixed bug with empty BDB tables.
2001-06-19 14:30:12 +03:00
Sinisa@sinisa.nasamreza.org
b37a556889
bk resolve work
2001-06-07 14:25:45 +03:00
Sinisa@sinisa.nasamreza.org
338b51b5a7
These are actually two changesets. One for splitting LEX in two and
...
the other for multi-table delete
2001-06-03 17:07:26 +03:00
sasha@mysql.sashanet.com
11772a2699
fixed bug in count(distinct)
2001-06-01 11:05:00 -06:00
sasha@mysql.sashanet.com
196e995caf
cheat when all parts of count(distinct) key are binary
2001-05-29 19:19:18 -06:00
sasha@mysql.sashanet.com
6ecaac01f0
count(distinct) cleanup
2001-05-29 18:53:37 -06:00
sasha@mysql.sashanet.com
8a3f87ab07
fixed bug in count(distinct)
2001-05-24 18:00:52 -06:00
sasha@mysql.sashanet.com
072cca77b2
handle tree overflow in count(distinct)
...
test heap table/tree overflow in count(distinct)
2001-05-24 17:06:53 -06:00
monty@tik.mysql.fi
8685094e15
Don't write rows in MyISAM tables when using count(distinct)
...
Don't read MyISAM header when running without locking
2001-05-23 02:40:46 +03:00
sasha@mysql.sashanet.com
ef27ec42c2
option to free_root() to not my_free() the blocks
...
fixed bug/updated count_distinct2 test
changed reset in count distinct to avoid calls to my_free()
2001-05-12 19:50:51 -06:00
sasha@mysql.sashanet.com
b2977103af
fixes/optimizations for count(distinct)
...
more extensive testing of count(distinct)
2001-05-12 17:52:54 -06:00
sasha@mysql.sashanet.com
c706bf40f3
use tree for count(distinct) when possible
2001-05-11 15:07:34 -06:00
monty@donna.mysql.com
ce2260586d
Fixed ALTER TABLE on MERGE tables
...
Fixed bug in DISTINCT
2001-01-28 21:35:50 +02:00
monty@donna.mysql.com
aa3580924b
RENAME TABLE table_name TO new_table_name ; Faster Alloc
...
Small bug fixes
2000-08-21 03:00:52 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00