| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This allows one to setup a master <-> master replication with non conflicting auto-increment series.
Cleaned up binary log code to make it easyer to add new state variables.
Added simpler 'upper level' logic for artificial events (events that should not cause cleanups on slave).
Simplified binary log handling.
Changed how auto_increment works together with to SET INSERT_ID=# to make it more predictable: Now the inserted rows in a multi-row statement are set independent of the existing rows in the table. (Before only InnoDB did this correctly)
|
|\
| |
| |
| |
| | |
(Includes merge of arena code in 4.1 and 5.0)
|
| |\
| | |
| | |
| | | |
into avenger.(none):/export/brian/tina-4.1
|
| | |
| | |
| | |
| | | |
that works as a plain text file.
|
| |/
| |
| |
| |
| | |
Added NDBCLUSTER to table types which does not support generate.
Added test case for truncate.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: The following tests fails
- fulltext (Sergei has promised to fix)
- rpl_charset (Guilhem should fix)
- rpl_timezone (Dimitray has promised to fix)
Sanja needs to check out the calling of close_thread_tables() in sp_head.cc
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
key and a specific key part.
Added key part to optimize_range() to fix problems when using fields in key parts.
|
| |\
| | |
| | |
| | | |
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| |/|
| | | |
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4089
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a limitation of yesterday's implementation:
if there was an unfinished transaction (COMMIT not typed), and some MyISAM tables were
then updated, and then mysqld crashes, then at restart the server would use the too old
binlog offset known by InnoDB to cut the binlog, thus cutting the successful MyISAM
updates. We fix this by reporting the binlog offset into InnoDB even if InnoDB was not
affected at all by the update.
But the feature is still disabled until we decide if it can go into 4.1.3.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
exactly it's mapped to "ALTER TABLE t; ANALYZE TABLE t;"
|
| |\ \
| | |/
| |/|
| | | |
into brian-akers-computer.local:/Users/brian/mysql/mysql-4.1
|
| | |
| | |
| | |
| | | |
information on how well archive compresses.
|
| | | |
|
| | |
| | |
| | |
| | | |
handles inserts and selects.
|
| | | |
|
| | |
| | |
| | |
| | | |
WL#1747 and #1746 allow user to decide if ordered index should be created or not
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- New solution after discussions with Sergei, no handler specific code or error messages should be in sql layer.
next_result, only check for error if check is -1
Improved index_read
|
|\ \ \ \ |
|
| |\ \ \ \ |
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | / /
| | |_|_|/ /
| |/| | | | |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into mysql.com:/home/mydev/mysql-4.1-wl1687
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
HEAP: Copies the key count to a backup variable and sets the key count to zero.
That way, no HEAP function will ever try to touch any index.
Re-enabling is done by copying back the backup variable.
To avoid memory leak at table close, disable deletes all index trees.
Re-enabling must be done with empty indexes and data anyway. Otherwise,
the indexes would need to be repaired, wich HEAP is not capable of.
MyISAM: Only the key_map is cleared and set.
Re-enabling must be done with empty indexes and data. Otherwise, repair needs
to be done which will enable all keys persistently.
The former implementation disabled only non-unique keys and maked this persistent.
The new implementation additionally can disable all keys, but only without
making this persistent. Re-enabling all keys can be done without repair,
if data file and indexes are empty.
|
|\ \ \ \ \ \
| |/ / / / /
| | | / / /
| |_|/ / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
some platforms.
|
| |/ / / |
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
into brian-akers-computer.local:/Users/brian/mysql/mysql-4.1-examples
|
| | | |
| | | |
| | | |
| | | | |
use it.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Revert main parts of patch for online index builds. Should be done differently
Added support for %lx in my_snprintf()
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
into mysql.com:/home/my/mysql-4.1
|
| | |/ /
| | | |
| | | |
| | | |
| | | | |
This gives the handler more optimization possiblities and is needed for NDB cluster
Fixed not-initialized memory error detected by valgrind
|
| |\ \ \ |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
start_bulk_insert(), end_bulk_insert()
Field::val_str simplification, comment
|
| |\ \ \
| | |/ /
| |/| | |
|