sergefp@mysql.com
13fdbc99cf
Fix for BUG#5117:
...
* Renamed handler::estimate_number_of_rows to handler::estimate_rows_upper_bound function, which can also return "unknown"
* made filesort to use full sort buffer if number of rows to sort is not known.
2004-09-13 06:14:25 +04: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
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
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
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
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
monty@donna.mysql.com
7541f7212c
Fixed bug when opening BDB tables twice
2001-01-02 00:27:08 +02:00
tim@cane.mysql.fi
f0505c0902
Don't use subtransactions on write_row() and delete_row() in
...
ha_berkeley.
A few smaller bug fixes.
2000-12-28 19:26:32 +02:00
tim@cane.mysql.fi
a23a5d9860
Merge work.mysql.com:/home/bk/mysql
...
into cane.mysql.fi:/usr/home/tim/my/work
2000-12-28 04:34:44 +02:00
tim@cane.mysql.fi
be02015b13
Share DB *file; this fixes a deadlock problem.
...
While we're at it, share the keyfile and keytype arrays, too.
2000-12-28 04:25:31 +02:00
monty@donna.mysql.com
361067e915
Extended mysqltest with --commands and 'require'
...
Fixed test results.
Added mysqld variable 'have_isam'
2000-12-27 03:31:06 +02:00
tim@cane.mysql.fi
384b371bd2
ha_berkeley.cc - Don't use subtransactions in update_row by default
...
ha_berkeley.cc - Use the DB_RMW (read, modify, write) flag when removing a key
ha_berkeley.h - Don't use subtransactions in update_row by default
sql_table.cc - Don't use subtransactions in update_row by default
bdb.result BitKeeper file /usr/home/tim/my/work/mysql-test/r/bdb.result
bdb.test BitKeeper file /usr/home/tim/my/work/mysql-test/t/bdb.test
2000-12-26 17:16:49 +02:00
monty@donna.mysql.com
b590fa2567
New benchmark test
...
Fixed bug in REPLACE with BDB tables
Prepare for write lock on read for BDB
Inform the handler when we want to use IGNORE / REPLACE
New manual pages
2000-12-24 15:19:00 +02:00
tim@cane.mysql.fi
7bff1dd4db
Add SHOW LOGS command.
2000-12-15 13:18:52 +02:00
monty@donna.mysql.com
7617d198a4
Lots of fixes for BDB tables
...
Change DROP TABLE to first drop the data, then the .frm file
2000-12-08 17:04:57 +02:00
monty@donna.mysql.com
87d9388e52
Only write full transactions to binary log
...
A lot of new functions for BDB tables
Fix for DROP DATABASE on windows
Default server_id variables
2000-12-07 14:08:48 +02:00