| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
IMPORT TABLESPACE must reset lsns if they are too high
ha_innodb.cc:
DISCARD/IMPORT TABLESPACE must have a TL_WRITE lock on the table
|
|
|
|
|
| |
ALTER TABLE ... DISCARD/IMPORT TABLESPACE
Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
|
|
|
|
|
|
|
|
| |
Multiple tablespaces for InnoDB
sql_table.cc:
Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE
sql_update.cc, sql_select.cc, my_base.h:
More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
|
|
|
|
|
|
|
| |
embedded library
hash_insert renamed to my_hash_insert to avoid name intersection
with another libraries
is there better idea?
|
|
|
|
| |
Optimize calls to current_thd
|
|
|
|
| |
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix for a bug with LEAST() in WHERE clause
ha_innodb.cc:
Fix for a configure bug
multi_update.result, multi_update.test:
Fix for the update with NULL's in the result set
sql_update.cc:
Fix for the update with NULL's in the result set
Fix for the update with NULL's in the result set
Fix for the update with NULL's in the result set
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Prevent the user from creating InnoDB tables with > 1000 columns
|
| |
| |
| |
| | |
Since the mysql interactive client or some other phase in communication cuts > 64 kB strings to very short, restrict the output of SHOW INNODB STATUS to at most 60 kB
|
| |
| |
| |
| |
| |
| | |
Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
os0sync.h, os0sync.c:
Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
|
| |
| |
| |
| | |
Cleanup
|
| |
| |
| |
| | |
Remove still some potential hangs over the btr0sea.c semaphore
|
| |
| |
| |
| | |
Fix a possible hang over the btr0sea.c latch
|
| |\
| | |
| | |
| | | |
into narttu.mysql.fi:/my/mysql-4.0
|
| | | |
|
| | |
| | |
| | |
| | | |
In ORDER BY MySQL seems to set the key read flag also in the case where the primary key contains only a prefix of a column - not the whole column; to prevent potential bugs retrieve the whole column if the index contains a prefix of it
|
| | |
| | |
| | |
| | |
| | |
| | | |
Cleanup
ha_innodb.cc, data0type.h:
Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
|
| | |
| | |
| | |
| | | |
Cleanup; remove compiler warning on Windows
|
| |/
| |
| |
| | |
Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree
|
| |
| |
| |
| | |
Fix the BDB crash in the previous push; to save CPU remove duplicate calls of commit in InnoDB
|
| |
| |
| |
| |
| |
| | |
Remove accidenatlly committed debug printfs when query cache is used
sql_update.cc, sql_load.cc, sql_insert.cc, sql_delete.cc:
For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Eliminate the LOCK_log bottleneck in group commit in binlogging: flush InnoDB log files only after it has been released
|
| |\
| | |
| | |
| | | |
into mashka.mysql.fi:/home/my/mysql-4.0
|
| | |
| | |
| | |
| | | |
Remove code never actually used in IGNORE; InnoDB just rolls back the latest row insert or update on a duplicate key error and leaves it for MySQL to decide whether to ignore the error
|
| |/
| |
| |
| |
| |
| | |
Set innobase_flush_log_at_trx_commit to 1 by default
Fix problem with timestamp on 64 bit systems
Reserve alarms for up to 10 slave threads
|
| |
| |
| |
| | |
When FLUSH LOGS is called, flush InnoDB logs to disk also in the case innodb_flush_log_at_trx_commit=0
|
| |
| |
| |
| | |
Make ANALYZE TABLE to update index cardinality and other statistics also for an InnoDB table; note that the estimates are based on 10 random dives, not on an exhaustive read of the table
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
|
| | |
| | |
| | |
| | |
| | | |
Prevent crash if MySQL calls rnd_end WITOUT calling rnd_init first: only restore active_index if it the old value was pushed in rnd_init
Initialize active_index to a sensible value: prevent crash if we restore it to the original value after an table scan
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make InnoDB to restore old active_index value after a table scan: MySQL may assume that a scan does NOT change active_index; this partially fixes bug 241 of UPDATE ... ORDER BY ... but it still remains that MySQL actually ignores the ORDER BY for both MyISAM and InnoDB tables
log0recv.c:
Use fflush to make sure report of a corrupt log record is printed to .err log before mysqld crashes
|
| | |
| | |
| | |
| | | |
Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
|
| |/
| |
| |
| | |
Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | | |
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.1
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
repository pushing)
fixed bug in quqry cache dbd transaction processing
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into narttu.mysql.fi:/my/mysql-4.1
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | /
| | |_|_|/
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fix bug: MySQL could erroneously return Empty set if InnoDB estimated index range size to 0 records though the range was not empty; MySQL also failed to do the next-key locking in the case of an empty index range
|
| | | | |
| | | | |
| | | | |
| | | | | |
Add comment that Guilhem should check master_log_name, pending etc are right if the master log gets rotated
|
| | | | |
| | | | |
| | | | |
| | | | | |
Remove (already commented out) code about storing the latest relay log pos info to InnoDB: we will probably use only the master log pos info when we restart a slave after a crash
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
|