monty@mysql.com
31fe2837f9
Merge with 4.1
2004-07-12 08:20:24 +03:00
monty@mysql.com
db7efa2780
New handler::index_flags() definition to make it easy to check the full used key and a specific key part.
...
Added key part to optimize_range() to fix problems when using fields in key parts.
2004-07-08 15:45:25 +03:00
monty@mysql.com
1e31199995
Merge with 4.1.3-beta
2004-07-07 11:29:39 +03:00
serg@serg.mylan
08738d2847
fowwlowup fixes for index_flags()
2004-06-30 10:40:15 +02:00
serg@serg.mylan
2be661a204
portability fix
2004-06-27 20:30:48 +02:00
monty@mysql.com
f6765146c1
Added missing root user to mysql.user on windows. (Bug #4242 )
...
Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938 )
Don't use default arguments for ha_rnd_init()
Simple code cleanups since last pull
2004-06-25 18:49:36 +03:00
serg@serg.mylan
9f45c9e399
followup to handler cleanup
2004-06-23 21:26:34 +02:00
serg@serg.mylan
3f1c4ba745
handler interface cleanups:
...
more logical table/index_flags
return HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate
max_keys and other limits renamed to max_supported_keys/etc
max_keys/etc are now wrappers to max_supported_keys/etc
ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
2004-06-23 12:29:05 +02:00
sergefp@mysql.com
ee0a516ccd
Manual merge
2004-06-14 11:18:56 +04:00
sergefp@mysql.com
5843eec521
Manual merge
2004-05-29 20:55:46 +04:00
pem@mysql.com
71eddc362e
Merging 4.1 to 5.0.
2004-05-26 17:04:45 +02:00
monty@mishka.local
314a8bf114
key_cmp -> key_cmp_if_same
...
New records_in_range() interface (similar to read_range())
Macros for faster bitmap handling
Simplify read_range() code (#WL1786)
New general key_cmp() function to compare keys
2004-05-16 14:48:32 +03:00
sergefp@mysql.com
3b29cad05c
Manual merge
2004-05-13 01:49:47 +04:00
sergefp@mysql.com
a46d7542c9
This is first cset for WL#1394 "Optimize index merge when all involved index ranges include only values with equal keys"
...
The main idea is to exploit the fact that key scans for "key=const" return ordered sequences of rowids.
2004-05-13 01:38:40 +04:00
pem@mysql.com
bf45960eef
Merge 4.1 -> 5.0
2004-05-07 18:52:06 +02:00
pem@mysql.com
dfd59e296e
Merge 4.1 -> 5.0.
2004-04-07 19:07:44 +02:00
serg@serg.mylan
e8eda8129f
::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
...
Field::val_str simplification, comment
2004-04-06 21:35:26 +02:00
acurtis@pcgem.rdg.cyberkinetica.com
0a27eef814
Cleanup ha_checktype() and redundant variables.
2004-03-02 10:08:50 +00:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
monty@mysql.com
151b558e21
Mark that strings may change on index only reads (for BDB tables).
...
This fixed problem with index reads on character fields with BDB tables. (Bug #2509 )
2004-01-29 15:16:48 +01:00
monty@mysql.com
c1dd070ba7
Some small portability fixes.
...
Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
2003-12-30 13:14:21 +02:00
sergefp@mysql.com
67c6d5113c
Precise read time estimates for index_merge/Unique
2003-12-18 06:08:00 +03:00
sergefp@mysql.com
24c180941f
Two-sweeps read index_merge plus several small index_merge fixes and improvements
2003-12-09 23:40:02 +03:00
serg@serg.mylan
9c4049ad12
Bitmap post-review fixes
2003-10-30 19:17:57 +01:00
serg@serg.mylan
6e17f4f20d
fixes to Bitmap class
2003-10-24 22:44:48 +02:00
serg@serg.mylan
4aa99ff7b1
fixes for new key_map code
2003-10-16 21:21:48 +02:00
serg@serg.mylan
8cc3951c8f
key_map with more that 64 bits width
2003-10-11 13:06:55 +02:00
bell@sanja.is.com.ua
1de8a5996f
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.1
2003-02-18 16:28:31 +02:00
monty@mashka.mysql.fi
9ecf9645eb
A lot of portability fixes.
...
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +02:00
ram@mysql.r18.ru
ca0defad77
patches from sleepycat.com have been applied (SCRUM)
...
ha_berkeley::rename_table() has been added (SCRUM)
2002-12-19 12:38:32 +04:00
bell@sanja.is.com.ua
3103bca9b2
merging
2002-12-11 19:53:57 +02:00
monty@mashka.mysql.fi
d3eb993a27
rename of net_pkg.cc to protocol.cc
...
Class for sending data from server to client (Protocol)
This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
2002-12-11 09:17:51 +02:00
monty@mashka.mysql.fi
7a70332836
Portability fix when using -DBIG_TABLES
2002-11-14 12:21:36 +02:00
bell@sanja.is.com.ua
4307363079
new innodb query cache behaviour (recommit because of problem with 4.1 repository pushing)
...
fixed bug in quqry cache dbd transaction processing
2002-11-03 10:15:14 +02:00
jcole@mugatu.spaceapes.com
9af0840879
Moved have_* to mysql_priv.h.
...
mysql_priv.h:
Added have_berkeley_db and have_innodb.
ha_innodb.h:
Removed have_innodb.
ha_berkeley.h:
Removed have_berkeley_db.
2002-07-25 00:12:42 -05:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +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
c396824b2a
Take into account that table scans may use indexes
2002-01-30 16:07:11 +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
4b877e0088
Added macros for nice TIMESPEC usage.
...
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
serg@serg.mysql.com
b83bf332d0
HANDLER works only with MyISAM tables
...
HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT
2001-12-21 13:28:51 +00: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
6f669e6bf8
HA_NO_FULLTEXT_KEY and an appropriate error message
2001-10-23 10:52:51 +02:00
monty@hundin.mysql.fi
56cc14ab4c
Added unique error for DEADLOCK
...
Include missing man pages into binary distribution
2001-09-17 23:43:53 +03:00
monty@hundin.mysql.fi
442c03f071
Fix bugs when using LOCK TABLES with BDB tables
...
Optimized remove of key when using internal cursor in BDB tables.
2001-09-08 20:45:53 +03:00
tim@white.box
2b6776d337
Add test case for update/replace bug in bdb.
...
Remove unused argument to ha_berkeley::remove_key().
2001-07-24 12:23:17 -04:00
monty@donna.mysql.fi
a94ba10f8d
Fix for BDB and LOCK TABLES
2001-04-19 20:41:19 +03:00
monty@donna.mysql.fi
dab74107ab
Fix a crash in Innobase with tables with many columns and a range query
...
Removed all Attic directories.
2001-03-26 16:49:11 +03:00
monty@donna.mysql.com
a7c5b9c211
Portability fixes for OPENBSD, OS2 and Windows
2001-01-27 01:20:56 +02:00
monty@donna.mysql.com
9c80d5cb70
Patches for NetBSD/macppc
...
Fixed bug in LEFT JOIN
Added bdb_log_buffer_size
2001-01-12 13:52:32 +02:00