monty@hundin.mysql.fi
ad04b7f677
Fixed bug in SQL_CALC_FOUND_ROWS + LIMIT
2002-06-10 13:33:25 +03:00
monty@hundin.mysql.fi
2c274c64b9
Bug fix for complicated GROUP BY ... ORDER BY query.
...
Fixed problem in access rights testing (from last patch)
2002-06-09 15:41:19 +03:00
Sinisa@sinisa.nasamreza.org
073d9e5f09
A bug fix and test case for a bug that appears in quereis where there
...
is a GROUP BY a column that is not NOT NULL and ORDER BY is done by
another column.
Even better fix would be to make a separate function for this.
2002-06-08 20:02:49 +03:00
serg@sergbook.mysql.com
c06cc02c5d
Merge work:/home/bk/mysql
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-05-26 12:59:02 +02:00
serg@sergbook.mysql.com
66b41d19c2
quick fix for some optimizer glitch (it appears as ft+const bug, but it, probably, isn't)
2002-05-25 20:59:50 +02:00
Sinisa@sinisa.nasamreza.org
2181d5972e
A fix for the very nusty bug with when there are 2 or more fields
...
in GROUP BY , which fields can be NULL ....
2002-05-22 15:11:35 +03:00
monty@hundin.mysql.fi
0c5c517db6
Fixed some compilation problems in last changeset
2002-05-16 23:35:09 +03:00
monty@hundin.mysql.fi
5080d64c6b
Fix bug in SELECT SQL_CALC_FOUND_ROWS
2002-05-16 16:06:57 +03:00
Sinisa@sinisa.nasamreza.org
961f98f1d0
resolve changes
2002-05-15 14:11:27 +03:00
Sinisa@sinisa.nasamreza.org
d65671f778
Features made for Schlund plus several bug fixes.
...
Read a manual for more detail
2002-05-15 13:50:38 +03:00
miguel@hegel.local
3facae335e
Sergei's MyODBC fix
2002-05-12 23:01:45 -03:00
serg@serg.mysql.com
900788b2a1
init_dynamic_array MyODBC compatibility fix
2002-04-28 21:22:37 +00:00
monty@tik.mysql.fi
056175a1ce
Update for BTREE keys in HEAP tables
...
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
2002-04-12 21:35:46 +03:00
monty@hundin.mysql.fi
6e247490dc
Merge
2002-04-02 19:46:26 +03:00
serg@serg.mysql.com
fa5717b950
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
2002-04-02 14:59:40 +00:00
serg@serg.mysql.com
8d8a133d51
fts+const_tables bug fixed
2002-04-02 14:56:40 +00:00
monty@hundin.mysql.fi
727e507bca
merge with 3.23.50
2002-03-27 01:56:10 +02:00
monty@hundin.mysql.fi
ed040fe21e
Fix for bug in WHERE key='j' or key='J'
2002-03-22 14:03:42 +02:00
monty@hundin.mysql.fi
f0e835ac09
Fixed problem with WHERE key=const ORDER BY key DESC
2002-03-15 21:30:50 +02:00
Sinisa@sinisa.nasamreza.org
ec80dec9b0
Making full-text queries working with UNION's
2002-03-15 14:11:11 +02:00
monty@hundin.mysql.fi
e9ba8d58fe
merge
2002-03-06 23:41:18 +02:00
Sinisa@sinisa.nasamreza.org
1086e7c52f
several bug fixes and tests
2002-03-05 14:22:32 +02:00
monty@tik.mysql.fi
cb3499b7de
merge
2002-03-02 13:59:26 +02:00
monty@tik.mysql.fi
9d9bcf25e7
Fix sorting of NULL values (Should always be first)
...
Fix problem with HAVING and MAX() IS NOT NULL
2002-03-02 09:51:24 +02:00
serg@serg.mysql.com
863b5da02d
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-03-01 16:58:06 +00:00
serg@serg.mysql.com
4e6150d4c7
fulltext+const_table bug fixed
2002-03-01 16:57:08 +00:00
Sinisa@sinisa.nasamreza.org
b42ec166c0
Surgical changes in sql_select and sql_union code in order to
...
accomodate EXPLAIN properly for all possible variant of UNION's
derived tables etc ...
This also fixes all reported (and unreported) bugs when EXPLAIN is
run on UNION's.
select_describe() now has a very dirty hack to avoid some problems
with transactional tables on table unlocking.
Code speedup is possible. For the moment all that was important was
that all tests are passed.
2002-02-28 13:50:00 +02:00
Sinisa@sinisa.nasamreza.org
7bda9e7239
some UNION bug fixes..
2002-02-21 13:40:22 +02:00
monty@hundin.mysql.fi
4abd402b87
merge with 3.23.48
2002-02-11 13:48:59 +02:00
monty@hundin.mysql.fi
368731a915
Fixed bug in full join with many NULL fields.
2002-02-10 12:47:37 +02:00
monty@hundin.mysql.fi
d36ac6b669
Fix some bugs introduced with the new my_getopt
...
Added counting of rollback's and commits
Fixed bug in 'SELECT 0 LIMIT 0'
Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
2002-02-08 03:21:34 +02:00
monty@hundin.mysql.fi
4000b036c0
Fixes for new getopt
...
Bug fix when using --no-deaults
Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
Fixed problem with multi-table-delete and InnoDB
Fixed problem with truncate table, which required a COMMIT before.
Fixed multi-table-delete bug with InnoDB.
Remove not used index from EXPLAIN
2002-01-31 04:36:58 +02:00
monty@hundin.mysql.fi
c396824b2a
Take into account that table scans may use indexes
2002-01-30 16:07:11 +02:00
monty@hundin.mysql.fi
be46289855
New error messages
...
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
monty@hundin.mysql.fi
4609e627a5
Increase max package length to 512M for mysql and mysqldump.
...
Faster 'read_first_row' (Fixes slow 'preparing' state)
Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
This also fixes a complicated bug involving const tables.
2002-01-23 02:52:26 +02:00
monty@hundin.mysql.fi
89fa5f13d9
Fixed bug when making a range join based on information from a const table.
2002-01-18 00:43:50 +02:00
monty@hundin.mysql.fi
df5f8c18eb
Move HA_EXTRA_NO_READCHECK to ha_open
...
Fixed bug in multi-table-delete
2002-01-16 23:02:26 +02:00
monty@hundin.mysql.fi
4d10a0cb7e
Add support for NULL=NULL in keys (Used in GROUP BY optimization)
...
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
2002-01-16 00:42:52 +02:00
monty@tik.mysql.fi
7dd4eb71fe
Added support of null keys in HEAP tables
...
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
monty@hundin.mysql.fi
b0ea238d2e
merge
2002-01-02 22:02:03 +02:00
monty@hundin.mysql.fi
fd0459a521
merge with 3.23
2002-01-02 21:34:12 +02:00
monty@hundin.mysql.fi
2bd8bf31bd
Bugfix for WHERE key=@a OR key=@b
2001-12-27 02:04:27 +02:00
Sinisa@sinisa.nasamreza.org
4ed4546004
Changes for the BitKeeper resolve.
...
One more notice:
limiting number of queries per hour for different users has been done
on 4.0.1 , but I can port it to 3.23.*
This will require only certain changes, like number of columns in user
table.
I will also make a test case for it, after it is approved by Monty,
as result file will depend on the error message text.
2001-12-26 17:42:06 +02:00
Sinisa@sinisa.nasamreza.org
038db406c1
This is a large push. Included are :
...
* multi-table updates
* new paid feature for limiting number of queries per hour for users
* optional syntax for multi-table deletes
* optimization for SQL_CALC_FOUND_ROWS
* a small addition for CREATE .. SELECT that will be of future use
I know that all this will require many additions to documentation,
which I have not done, but I am at Arjen's disposal to help him document
all this.
2001-12-26 16:49:10 +02:00
monty@hundin.mysql.fi
9ca9fc2283
Fix for MyISAM records > 16M
2001-12-11 20:45:48 +02:00
monty@hundin.mysql.fi
5c94a16422
merge with 3.23.47
2001-12-06 01:16:28 +02:00
monty@hundin.mysql.fi
90004e340b
Fixed bug in LEFT JOIN
2001-12-05 23:15:05 +02:00
monty@hundin.mysql.fi
1de4fff5ba
Update of query cache code.
...
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
monty@hundin.mysql.fi
1d26537da5
Query cache.
...
Remove some warnings
2001-12-02 14:34:01 +02:00
monty@hundin.mysql.fi
4b513347c4
Better optimization for InnoDB and BDB tables for ORDER BY
2001-11-29 15:34:37 +02:00
serg@serg.mysql.com
49b6f02dbe
Merge
2001-11-28 18:01:50 +01:00
serg@serg.mysql.com
4a5ca1073b
boolean fulltext search without an index
2001-11-28 17:55:45 +01:00
monty@hundin.mysql.fi
76ed6c26fc
Fix of testcases after merge.
...
Small improvement to write caching.
2001-11-28 16:11:05 +02:00
monty@hundin.mysql.fi
69f6802632
merge
2001-11-28 14:52:11 +02:00
monty@bitch.mysql.fi
d0ccff5090
New improved IO_CACHE
2001-11-28 02:55:52 +02:00
monty@hundin.mysql.fi
66a31433a4
Fixed bug when joining with caching.
...
Fixed race condition when using the binary log and INSERT DELAYED which could cause the binary log to have rows that was not yet written to MyISAM tables.
2001-11-27 02:50:20 +02:00
monty@hundin.mysql.fi
e9677eda60
Add missing exit_cond() to lock_global_read_lock().
2001-11-26 02:09:45 +02:00
monty@hundin.mysql.fi
777fdb5d5c
Fixes for embedded version.
2001-11-25 13:50:48 +02:00
monty@hundin.mysql.fi
a66ddaf8ba
Fixed fulltext after merge from 3.23.45
...
First (incomplete) version of transaction and as3ap tests.
2001-11-22 17:55:18 +02:00
serg@serg.mysql.com
f6cf7618be
removed ftfuncs argument for mysql_select
...
it uses now thd->lex.ftfunc_list
moved ft-initialization to a separate function
re-disabled implicit ft initialization
2001-11-21 18:05:11 +01:00
monty@hundin.mysql.fi
4c60b41954
Portability fix
...
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
monty@hundin.mysql.fi
fd0780493d
merge with 3.23.44
2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
ccce9d031f
Added STDCALL to mysql_sever and mysql_thread variables
...
Merged error messages with 3.23.44
Fixed bug with DATA DIRECTORY on windows
2001-11-03 21:33:11 +02:00
monty@hundin.mysql.fi
65d4c846d8
Fixed problem with t1 LEFT_JOIN t2 ... WHERE t2.date_column IS NULL when date_column is declared as NOT NULL.
2001-11-03 21:22:06 +02:00
monty@hundin.mysql.fi
44a2a213b8
Changed time -> query_time in slow query log.
...
Fixed Rows_examined in slow query log.
2001-10-31 22:24:33 +02:00
monty@hundin.mysql.fi
d89690e606
Portability fixes
...
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02:00
monty@hundin.mysql.fi
5a9ce774dc
Update for OS2 (patch from Yuri Dario).
...
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
monty@hundin.mysql.fi
915f1aeef5
Fix bugs in LEFT JOIN and field=NUL
2001-10-20 11:04:23 +03:00
monty@hundin.mysql.fi
6ee6fbf700
Don't use signal() on windows.
...
Added missing InnoDB variables to SHOW VARIABLES.
Fixed bug when doing WHERE 'column_name=NULL' on an indexed column that had NULL values.
Fixed bug when doing 'LEFT JOIN ... ON (column_name = constant) WHERE column_name = constant'
2001-10-19 22:10:54 +03:00
monty@hundin.mysql.fi
0bfec316ce
Don't do signal() on windows (Causes instability problems)
...
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
2001-10-17 19:39:39 +03:00
serg@serg.mysql.com
3911c81024
merged
2001-10-09 16:01:06 +02:00
monty@hundin.mysql.fi
88aff4bf85
Updated manual about embedded version.
...
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version. All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@hundin.mysql.fi
e801235019
New script: explain_log.sh
...
Portability fixes.
Handle cleanup when we get an error before the message file is read.
Fix bug in multi-table delete
2001-10-04 21:52:41 +03:00
monty@hundin.mysql.fi
55a6911bb1
Portability fixes.
2001-10-03 17:02:14 +03:00
monty@hundin.mysql.fi
3fc4f0731f
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-09-28 07:28:05 +03:00
monty@work.mysql.com
390e57687b
merge
2001-09-28 06:28:04 +02:00
monty@hundin.mysql.fi
a4bc23add6
Fixed bug in counting open files when using many files
...
Fixed bug in JOIN
2001-09-27 22:02:37 +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
serg@serg.mysql.com
57e4c8ef3b
Initial checkin of the new boolean fulltext search code
2001-09-21 18:38:17 +02:00
monty@hundin.mysql.fi
a439dccaec
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-09-18 22:46:39 +03:00
monty@hundin.mysql.fi
1aeb2a125c
Cleanup
2001-09-18 22:46:08 +03:00
monty@work.mysql.com
961b693327
merge
2001-09-18 21:27:28 +02:00
monty@hundin.mysql.fi
1ac9e1e678
Fix bug in SELECT EXPLAIN ... ORDER BY
2001-09-18 22:13:35 +03:00
monty@hundin.mysql.fi
0d72e5440f
Portability fixes
2001-09-15 16:22:34 +03:00
monty@work.mysql.com
18474d8419
Merge with 3.23.42
2001-09-13 09:52:35 +02:00
monty@hundin.mysql.fi
e24bdfa8bb
More debug info
...
Fix DBUG_ASSERT()
Optimization for BDB tables
Fix for BDB under Win98
2001-09-08 11:47:34 +03:00
monty@hundin.mysql.fi
381093b322
merge
2001-09-02 19:58:08 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
04ec0de7d0
Changed DB_TYPE_INNOBASE to DB_TYPE_INNODB
...
Fix that DROP DATABASE works with all table types
Use BULK_INSERT when inserting more than one row
Better TRUNCATE TABLE
2001-09-02 13:47:00 +03:00
Sinisa@sinisa.nasamreza.org
3b6546b875
EXPLAIN on UNION"s
2001-08-24 13:18:06 +03:00
monty@hundin.mysql.fi
063a1a6557
Portability fixes.
...
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +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
sasha@mysql.sashanet.com
7267133886
merged
2001-08-11 17:28:41 -06:00
monty@hundin.mysql.fi
8a9d6072fa
merge
2001-08-10 17:47:05 +03:00
monty@bitch.mysql.fi
410faef67e
Fixed bug in ALTER TABLE for MERGE tables
...
Portability fixes
Fixed problem when giving wrong arguments to myisam_recover
Fix to remove warnings when using purify
2001-08-10 17:05:54 +03:00
sasha@mysql.sashanet.com
f6836bf81a
merged
2001-08-09 19:16:15 -06:00
jani@hynda.mysql.fi
44722151fd
Added new optino --sql-mode to mysqld.
2001-08-09 18:51:38 +03:00
monty@tik.mysql.fi
2f8a49c096
Fix of big in SELECT DISTINCT ... HAVING
2001-08-08 03:50:25 +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
monty@tik.mysql.fi
1731161ff4
Fixed optimizer bug in ORDER BY where some ORDER BY parts where ignored.
...
Extended default arguments to be up to 4095 characters
2001-07-30 22:49:39 +03:00