| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- The crash was caused because the optimizer called handler->multi_range_read_info()
on a derived temporary table. That table has been created, but not opened yet.
Because of that, handler::table was NULL, which caused crash.
Fixed by changing DS-MRR methods to use handler::table_share instead.
handler::table_share is set in handler ctor, so this should be safe.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Partitioning/InnoDB changes are *not* merged (they'll come from 5.6)
TokuDB does not compile (not updated to 10.0 SE API)
|
| |\ \
| | |/ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
remove unused HA_READ_OUT_OF_SYNC
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
remove unused HA_CAN_EXPORT
(with the merge of "FLUSH TABLE <table_list> FOR EXPORT",
this functionality should be added back, but differently -
no table flag, handler::extra() returns an error instead)
|
| | |
| | |
| | |
| | | |
remove unused HA_BLOCK_CONST_TABLE
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
includes:
* remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING"
* introduce LOCK_share, now LOCK_ha_data is strictly for engines
* rea_create_table() always creates .par file (even in "frm-only" mode)
* fix a 5.6 bug, temp file leak on dummy ALTER TABLE
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
sql/handler.h:
not "unused"
sql/sql_table.cc:
move this check where it is in 10.0
|
| | | |
| | | |
| | | |
| | | |
| | | | |
remove unused FIELD_IS_xxx flags
change vcol tests to use innodb, not xtradb.
|
| | | |
| | | |
| | | |
| | | | |
Added sql_mode_t to simplify merges
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
length on TEXT column
Backport the fix olav.sandstaa@sun.com-20101102184747-qfuntqwj021imy9r:
"Fix for Bug#52660 Perf. regr. using ICP for MyISAM on range queries on an index containing TEXT"
(together with further fixes in that code) into MyISAM and Aria.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
as TEST_SQL_DISCOVERY
Partitioning didn't store the name of default storage engine for partitions
in the frm file - it only store the typecode. Typecodes aren't stable, and
might vary depending on the order in which storage engines are loaded (can
be changed even from my.cnf without recompilation).
As a temporary workaround for 5.5, we hard-code Aria's typecode, to make sure it
never changes.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. DROP DATABASE should use ha_discover_table_names(), not look at .frm files.
2. filename_to_tablename() also encodes temp file names #sql- -> #mysql50##sql
3. no special treatment for #sql- files, no TABLE_LIST::internal_tmp_table
4. discover also table file names, that start from #
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
(without InnoDB - all InnoDB changes were ignored)
|
| |\ \ \
| | |/ / |
|
| | | | |
|
| | | | |
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(also fixes a bug with unaccounted table names like #sql-123,
see drop and alter_table tests)
|
| | | | |
| | | | |
| | | | |
| | | | | |
simplify ha_table_share_psi()
|
| |\ \ \ \
| | |/ / /
| | | | /
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
and INFORMATION_SCHEMA.ALL_PLUGINS table
with condition pushdown for I_S.ALL_PLUGINS
and a new status variable to cound successful dlopen's
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
not part of the SE API, and, again, mutually exclusive with
C_ORDINARY_CREATE and C_CREATE_SELECT.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* persistent table versions in the extra2
* ha_archive::frm_compare using TABLE_SHARE::tabledef_version
* distinguish between "important" and "optional" extra2 frm values
* write engine-defined attributes (aka "table options") to extra2, not to extra,
but still read from the old location, if they're found there.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Now CREATE TABLE does not write the frm file on disk,
if the engine can discover it
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
"unknown" tables. Duplicates are possible - deal with them.
|
| | | |
| | | |
| | | |
| | | | |
may not exist (the table exists only in the engine).
|
| | | |
| | | |
| | | |
| | | | |
fixes for need_full_discover_for_existence mode
|
| | | |
| | | |
| | | |
| | | |
| | | | |
replace enum read_frm_op with a bitmap flags.
remove always-unused 'error' argument of get_table_share
|
| | | | |
|