monty@mashka.mysql.fi
4c836e8d65
Fixed problem with ISNULL on fields that could not be null
2003-02-17 01:05:04 +02:00
bell@sanja.is.com.ua
05bbea4b25
fixed invalidation of query cache on LOAD DATA
2003-02-14 22:20:38 +02:00
bell@sanja.is.com.ua
203728ae68
fixed memory leak in ANALIZE initialization error reporting
2003-02-14 17:09:09 +02:00
serg@serg.mysql.com
5137c07ace
another fix for RAND() initialization
2003-02-12 21:32:35 +01:00
serg@serg.mysql.com
9dd13a9a4a
backported MERGE+MAX bugfix from 4.0
2003-02-12 11:03:41 +01:00
serg@serg.mysql.com
92d6bdc1b6
backporting Peter's fix for better RAND() initialization from 4.0
2003-02-11 23:19:47 +01:00
monty@mashka.mysql.fi
fbc9cd7ee8
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-02-10 17:07:48 +02:00
monty@mashka.mysql.fi
78e7230e73
Better fix for count(distinct) bug
2003-02-10 17:03:27 +02:00
serg@sergbook.mysql.com
14b4b58de7
Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-02-10 14:56:30 +01:00
serg@sergbook.mysql.com
3cc3ec177f
error message fixed (new error code will be introduced in 4.1)
2003-02-10 14:47:39 +01: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
c0b655aa38
Fixed memory reference error when doing key_column <=> NULL on column that is defined as NOT NULL
2003-02-10 01:21:09 +02:00
monty@mashka.mysql.fi
025dde7867
Check how much stack we got; Needed to be able to run crash-me
2003-02-08 01:55:16 +02:00
monty@mashka.mysql.fi
7391bc564f
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-02-07 18:01:08 +02:00
monty@mashka.mysql.fi
1b9b042654
Fix problem in MIN/MAX optimisation (from last patch)
...
Don't make OLD_PASSWORD() a reserved word
2003-02-07 17:57:07 +02:00
heikki@hundin.mysql.fi
7abed55936
ha_innodb.cc:
...
Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.
2003-02-07 17:33:15 +02:00
monty@mashka.mysql.fi
f68914addb
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-02-07 15:06:23 +02:00
heikki@hundin.mysql.fi
bd8c8522dc
ha_innodb.cc:
...
Since MySQL uses HA_READ_PREFIX_LAST in a wrong place, we make InnoDB to convert it to a right search condition
2003-02-07 13:28:18 +02:00
monty@mashka.mysql.fi
564c447b27
Allow 4.0 to read new 4.1 .frm files
2003-02-07 10:35:08 +02:00
monty@mashka.mysql.fi
cf9668fd37
Added START TRANSACTION syntax
...
Added ALL as parameter option for all group functions.
Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
Sort NULL last if DESC is used (ANSI SQL 99 requirement)
2003-02-06 16:55:59 +02:00
heikki@hundin.mysql.fi
a30d3cd847
ha_innobase.cc:
...
Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query
2003-02-05 01:42:07 +02:00
heikki@hundin.mysql.fi
a2de9c66f5
ha_innodb.cc:
...
Fix potential bug: if MySQL calls store_lock with the TL_IGNORE argument in the middle of query processing, then InnoDB select_lock_type could be reset to LOCK_NONE in a wrong place
2003-02-05 01:24:59 +02:00
monty@mashka.mysql.fi
59400e211f
Fixed bug in ulonglong parsing for constructs that only takes unsigned longlong as parameter.
2003-02-04 01:05:39 +02:00
monty@mashka.mysql.fi
e3cd63521c
Fix for MIN/MAX with empty tables
...
MIN(key_column) could in some cases return NULL on a column with NULL and other values.
MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
2003-02-03 20:20:32 +02:00
monty@mashka.mysql.fi
c42e94a6e6
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-02-02 05:13:51 +02:00
monty@mashka.mysql.fi
a9ee051a4d
Fixed core dump bug in 'mysql' when using \p in prompt on Windows.
...
Fixed error when mysql_unix_port pointed to const string (not uncommon on windows)
2003-02-02 05:13:09 +02:00
serg@serg.mysql.com
45ed0a0841
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-30 16:02:11 +01: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
monty@mashka.mysql.fi
b025fa8b32
Fixed compilation error on windows
2003-01-29 19:10:33 +02:00
monty@mashka.mysql.fi
f2299ee72f
Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23
2003-01-29 18:56:59 +02:00
monty@mashka.mysql.fi
d88eb71f34
Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
...
This fixes some Errcode 13 errors on Windows when deleting tables.
2003-01-29 18:56:34 +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
heikki@hundin.mysql.fi
d2328365e0
ha_innodb.cc:
...
Cleanup of the previous bug fix: replace code is either SQLCOM_REPLACE or SQLCOM_REPLACE_SELECT
2003-01-29 02:19:00 +02:00
heikki@hundin.mysql.fi
2db574ea19
ha_innodb.cc:
...
Fix a bug REPLACE INTO t SELECT ... did not work if t has an auto-inc column
2003-01-29 00:31:56 +02:00
peter@mysql.com
91747f0e2c
Merge pzaitsev@work.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/pz/mysql/mysql-4.0-root
2003-01-28 22:08:53 +03:00
monty@mashka.mysql.fi
7811a61b5d
merge
2003-01-28 20:59:41 +02:00
monty@mashka.mysql.fi
3d28913740
Only write to the error log if --log-error is specified and --console is not specified
...
(On Windows --log-error is enabled by default)
2003-01-28 20:56:35 +02:00
peter@mysql.com
682cca2e75
Fix predicted first rand() call
2003-01-28 20:33:47 +03:00
serg@serg.mysql.com
1ced5948f0
low-level error messages cleanup
2003-01-28 17:42:08 +01:00
miguel@hegel.local
ce37b7aac4
Use on Unix hostname.err only when --log-error=path.
...
Asked by Heikki and Peter.
2003-01-28 13:50:36 -02:00
serg@serg.mysql.com
9199252c22
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-28 14:37:12 +01:00
serg@serg.mysql.com
4fb3244014
fixed "DROP table_open_in_handler" hang
2003-01-28 14:36:22 +01:00
monty@mashka.mysql.fi
6b71279382
merge
2003-01-28 09:02:51 +02:00
monty@mashka.mysql.fi
152f0603e7
Merge with 3.23.56 (Replace manual with 'empty' document)
...
Fix for bug when using auto_increment column and LAST_INSERT_ID()
2003-01-28 08:51:03 +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
710ffb2d89
Fix when using auto_increment and last_insert_id() in the same insert statement.
2003-01-28 06:48:26 +02:00
serg@serg.mysql.com
52e440b9a7
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-28 00:57:13 +01:00
serg@serg.mysql.com
78f492b112
do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(),
...
and VERSION() to be uppercase in e.g. "select pi()"
2003-01-28 00:55:41 +01:00
Administrador@light.
826993bba2
Added option hostname.err
2003-01-27 15:37:25 -02:00
lenz@mysql.com
82aca82da0
- added a dummy file "reservedwords.texi" to the BK tree and the Makefiles,
...
so it's part of the distribution (manual.texi includes this file)
It will be replaced with the correct one from the mysqldoc tree before
building the distribution
- removed generation and inclusion of MIRRORS file, since the mirror list
is no longer part of manual.texi anyway
- replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
- Redirect standard error when checking for dpkg-architecture in ltconfig
to avoid error message showing during configuration
2003-01-27 13:44:16 +01:00
serg@serg.mysql.com
5f6b6fa3b3
fixes for SHOW VARIABLES and --ft-stopword-list
2003-01-27 12:12:12 +01:00
serg@serg.mysql.com
4b61ba5a89
ft_stopword_file added to 'SHOW VARIABLES' output
2003-01-27 11:15:54 +01:00
serg@serg.mysql.com
b031f5f43c
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-26 12:33:42 +01:00
monty@mashka.mysql.fi
1bdd1d0626
Merge with 3.23.55
2003-01-25 15:31:07 +02:00
monty@mashka.mysql.fi
fa7a94ed14
Added timeout for wait_for_master_pos
...
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
2003-01-25 15:07:51 +02:00
bell@sanja.is.com.ua
9ec97f2c08
fixed table invalidation in simple renaming
2003-01-24 01:54:39 +02:00
Sinisa@sinisa.nasamreza.org
a90a0cc966
small fix for SHOW STATUS
2003-01-23 15:49:56 +02:00
serg@serg.mysql.com
274df58118
--ft_stopword_file command-line option
2003-01-23 13:20:37 +01:00
serg@serg.mysql.com
0a4ca15dc6
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
2003-01-21 16:11:07 +01:00
serg@serg.mysql.com
f028989bad
fixed double-free bug in COM_CHANGE_USER
2003-01-21 16:07:31 +01:00
Sinisa@sinisa.nasamreza.org
8b82ebc450
Merge sinisa@work.mysql.com:/home/bk/mysql
...
into sinisa.nasamreza.org:/mnt/work/mysql
2003-01-21 16:11:01 +02:00
Sinisa@sinisa.nasamreza.org
74f478f9a5
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-01-21 15:54:36 +02:00
heikki@hundin.mysql.fi
d3145a9135
ha_innobase.cc:
...
Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
2003-01-21 00:44:49 +02:00
heikki@hundin.mysql.fi
ff4ef4c4e7
ha_innodb.cc:
...
Convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
2003-01-21 00:38:55 +02:00
monty@mashka.mysql.fi
fab7f39e42
Fixed bug with EXPLAIN on empty table
2003-01-20 18:17:14 +02:00
monty@mashka.mysql.fi
a5e30be0d0
Fixed bug in LEFT JOIN with impossible ON/WHERE expression
2003-01-19 17:15:14 +02:00
monty@mashka.mysql.fi
183df2da7f
Fixes cases where thd->query was not protected.
...
This fixes a problem with SHOW PROCESSLIST
2003-01-19 02:00:26 +02:00
monty@mashka.mysql.fi
fb4572a498
Merge with 3.23 to get bug fix for SHOW PROCESSLIST + running thread
2003-01-19 01:31:43 +02:00
monty@mashka.mysql.fi
dd4d4cc8b5
Only set thd->query to 0 if LOCK_thread_count is hold
...
This fixes a possible core dump problem in SHOW PROCESSLIST
2003-01-18 23:38:55 +02:00
monty@mashka.mysql.fi
9fb477569b
Fixed bug with the --slow-log when logging an administrator command
...
(like FLUSH TABLES).
(Code is already in 4.0)
2003-01-17 15:56:16 +02:00
Sinisa@sinisa.nasamreza.org
90adbe6f45
Merge sinisa@work.mysql.com:/home/bk/mysql
...
into sinisa.nasamreza.org:/mnt/work/mysql
2003-01-17 15:15:27 +02:00
Sinisa@sinisa.nasamreza.org
fe5e05cd90
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-01-17 14:52:50 +02:00
monty@mashka.mysql.fi
9fb3f5aa1a
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-01-17 14:23:48 +02:00
serg@serg.mysql.com
19e81a98e2
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-01-17 12:48:47 +01:00
serg@serg.mysql.com
390982aaa3
bugfix for MERGE tables and MAX(key)
2003-01-17 12:48:23 +01:00
miguel@hegel.local
08aaa21b6e
Merge miguel@work.mysql.com:/home/bk/mysql-4.0
...
into hegel.local:/home/miguel/dev/mysql-4.0
2003-01-16 22:31:54 -04:00
miguel@hegel.local
e2548b3fa5
Fix VC++ error compiler
2003-01-16 22:29:24 -04:00
heikki@hundin.mysql.fi
9a2afb60c7
ha_innodb.cc:
...
Had forgotten to change ha_innodb.cc to reflect that InnoDB now supports HA_READ_PREFIX_LAST
2003-01-17 00:50:27 +02:00
monty@mashka.mysql.fi
f4b950df96
Merge with 3.23
2003-01-16 20:47:46 +02:00
monty@mashka.mysql.fi
6250c1d974
Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23
2003-01-16 20:12:00 +02:00
serg@serg.mysql.com
c16e908a2b
bugfix for 'ANALYZE for MERGE' and table-less MERGE table
2003-01-16 13:23:33 +01:00
heikki@hundin.mysql.fi
01573f0d95
ha_innodb.cc:
...
Backport from 4.1: make sure change_active_index is only called with a properly initialized InnoDB table handle
2003-01-16 08:06:43 +02:00
heikki@hundin.mysql.fi
0efc57eed6
ha_innodb.cc:
...
Make SHOW INNODB STATUS aware when we are estimating index range size etc.
2003-01-16 07:15:55 +02:00
heikki@hundin.mysql.fi
7433ffe880
ha_innobase.cc:
...
Backport from 4.0: fix possible adaprive hash index latch hang
2003-01-16 01:13:50 +02:00
heikki@hundin.mysql.fi
c228dfacdf
ha_innodb.cc:
...
Fix a typo
2003-01-16 01:07:08 +02:00
heikki@hundin.mysql.fi
d7cc9da9b6
ha_innodb.cc:
...
Fix a possible hang at the adaptive hash index latch if MySQL does query estimations also in the middle of a SELECT statement processing
2003-01-16 00:44:27 +02:00
Sinisa@sinisa.nasamreza.org
2325a5f600
reverting a fix
2003-01-14 16:15:09 +02:00
monty@mashka.mysql.fi
002f92dc21
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-01-14 11:28:08 +02:00
monty@mashka.mysql.fi
8dd439e751
Guard against compiling without -fno-exceptions
...
Allocate bigger default thread stack because of problems with glibc
Fixed bug in UPDATE ... not_null_field=expression_that_returns_null
Fixed bug in replication when using auto_increment and LOAD DATA INFILE
2003-01-14 11:27:26 +02:00
heikki@hundin.mysql.fi
1b656d45fb
sql_handler.cc:
...
Backport the InnoDB HANDLER bug fix from 4.1
2003-01-13 23:00:11 +02:00
Sinisa@sinisa.nasamreza.org
6f753e37d1
Fix for a crashing bug in send_data..
2003-01-13 22:36:50 +02:00
Sinisa@sinisa.nasamreza.org
9796fe70b5
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-01-13 15:01:27 +02:00
heikki@hundin.mysql.fi
c314981049
trx0trx.c:
...
Add diagnostic prints to determine why the 'queries inside InnoDB' might drift upwards
ha_innodb.cc:
Add more print space to SHOW INNODB STATUS; remove possible memory leak in case there is an error
2003-01-12 22:31:16 +02:00
Sinisa@sinisa.nasamreza.org
6b386c08a5
Fix for a bug in SHOW GRANTS when :
...
grant on database.* to xx@yy with grant option;
is done.
2003-01-11 18:02:10 +02:00
Sinisa@sinisa.nasamreza.org
b6b2fbe9c7
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-01-10 22:11:11 +02:00
monty@mashka.mysql.fi
1bc3105da3
Fixed core dump bug in str LIKE "%other_str%" where strings contained characters >= 128.
...
Fixed problem with replication LOAD DATA INFILE when using --old-rpl-compat.
When executing on master LOAD DATA and InnoDB failed with 'table full' error the binary log was corrupted.
2003-01-10 01:55:05 +02:00
monty@mashka.mysql.fi
74eea66b5a
Fixed wrong packed length for packet > 16M.
2003-01-09 23:28:30 +02:00
Sinisa@sinisa.nasamreza.org
6b9f24be88
changing a bit SHOW GRANTS to display empty row in global table.
2003-01-09 23:21:20 +02:00
monty@mashka.mysql.fi
3c08da957e
Don't count NULL values in cardinalty for MyISAM tables.
...
Free row buffer cache after each query for MyISAM tables.
Added table join option FORCE INDEX
Fixed core dump bug when connecting with hostname that could not be resolved.
2003-01-09 02:19:14 +02:00
monty@mashka.mysql.fi
23c13c4539
merge
2003-01-08 11:27:07 +02:00