Commit graph

192 commits

Author SHA1 Message Date
bell@sanja.is.com.ua
59602212d2 merge 2002-05-26 22:57:08 +03:00
bell@sanja.is.com.ua
35faf872aa added depended subselect processing 2002-05-26 22:50:32 +03:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6 Now string values are created and filled with charset field
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
bell@sanja.is.com.ua
e077890b04 simple subselects ported to new select_lex structures 2002-05-12 23:46:42 +03:00
bell@sanja.is.com.ua
ead6f225a4 new SELECT_LEX structures used for storing global ORDER BY, global LIMIT & limit counters 2002-05-08 23:14:40 +03:00
ram@gw.udmsearch.izhnet.ru
b8a12a8cec MI_KEYSEG -> HA_KEYSEG
_mi_key_cmp -> ha_key_cmp
2002-04-25 15:10:29 +05:00
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03: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
d8b085b92b Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1
2002-03-15 14:21:43 +02:00
Sinisa@sinisa.nasamreza.org
5e092e2fc6 making full-text working with UNION's 2002-03-15 14:21:06 +02:00
Sinisa@sinisa.nasamreza.org
ec80dec9b0 Making full-text queries working with UNION's 2002-03-15 14:11:11 +02:00
bar@gw.udmsearch.izhnet.ru
c60a29f0ee Hash now supports several charsets 2002-03-14 21:44:42 +04:00
monty@hundin.mysql.fi
e9ba8d58fe merge 2002-03-06 23:41:18 +02:00
Sinisa@sinisa.nasamreza.org
0e7c34920d Fixes done in 4.0 repository. For comments see the corresponding ones
in 4.0.
2002-03-05 16:12:11 +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
baea4d9349 Porting surgical changes from 4.0 to 4.1 2002-02-28 14:05:47 +02: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