summaryrefslogtreecommitdiff
path: root/sql/handler.h
Commit message (Collapse)AuthorAgeFilesLines
* 10.0-base merge (roles)Sergei Golubchik2013-10-291-2/+4
|\
| * INFORMATION_SCHEMA.APPLICABLE_ROLES tableSergei Golubchik2013-10-181-0/+1
| |
| * information_schema.enabled_roles tableSergei Golubchik2013-10-181-2/+3
| |
* | merge 10.0-base -> 10.0unknown2013-09-261-1/+2
|\ \ | |/
| * merge 5.5 -> 10.0-baseunknown2013-09-251-1/+2
| |\
| | * MDEV-5037: Server crash on a JOIN on a derived table with join_cache_level > 2Sergey Petrunya2013-09-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | 10.0-base merge.Sergei Golubchik2013-09-211-3/+15
|\ \ \ | |/ / | | | | | | | | | Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
| * | 5.5 merge and fixes for compiler/test errorsSergei Golubchik2013-09-181-3/+15
| |\ \ | | |/
| | * tokudb patches for prepare range scanSergei Golubchik2013-09-091-0/+10
| | |
| | * workaround for partitioning bug MDEV-4466 (fixed in 10.0)Sergei Golubchik2013-09-091-1/+2
| | |
| | * don't decide on extended keys by DB_TYPE_INNODB, use hton->flagsSergei Golubchik2013-08-261-0/+1
| | |
| | * typo fixed (boolean index attributes didn't work)Sergei Golubchik2013-08-261-2/+2
| | |
* | | MDEV-4786 merge 10.0-monty -> 10.0Sergei Golubchik2013-08-121-8/+0
| | | | | | | | | | | | remove unused HA_READ_OUT_OF_SYNC
* | | MDEV-4786 merge 10.0-monty -> 10.0Sergei Golubchik2013-08-121-6/+0
| | | | | | | | | | | | | | | | | | | | | 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)
* | | MDEV-4786 merge 10.0-monty -> 10.0Sergei Golubchik2013-08-121-5/+0
| | | | | | | | | | | | remove unused HA_BLOCK_CONST_TABLE
* | | 10.0-monty mergeSergei Golubchik2013-07-211-98/+814
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | fix the maria suiteSergei Golubchik2013-07-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/handler.h: not "unused" sql/sql_table.cc: move this check where it is in 10.0
| * | | fix lost vcol checks in sql_table.cc,Sergei Golubchik2013-07-121-0/+3
| | | | | | | | | | | | | | | | | | | | remove unused FIELD_IS_xxx flags change vcol tests to use innodb, not xtradb.
| * | | ha_partition.cc and ha_partition.h are now completely mergedMichael Widenius2013-06-271-0/+1
| | | | | | | | | | | | | | | | Added sql_mode_t to simplify merges
| * | | Applied all changes from Igor and SanjaMichael Widenius2013-06-151-95/+392
| | | |
| * | | Temporary commit of 10.0-mergeMichael Widenius2013-03-261-10/+429
| | | |
* | | | 10.0-base mergeSergei Golubchik2013-07-181-3/+34
|\ \ \ \ | | |/ / | |/| |
| * | | 5.5 mergeSergei Golubchik2013-07-171-1/+28
| |\ \ \ | | | |/ | | |/|
| | * | MDEV-4778: Incorrect results from Aria/MyISAM SELECT using index with prefix ↵Sergey Petrunya2013-07-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | MDEV-4466 Partitioned Aria table created by a previous version is recognized ↵Sergei Golubchik2013-06-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | remove unsusd DB_TYPE valueSergei Golubchik2013-06-151-1/+0
| | | |
| * | | plugin_hton helperSergei Golubchik2013-06-151-0/+5
| | | |
| * | | MDEV-4441 DROP DATABASE with a newly created ARCHIVE table does not workSergei Golubchik2013-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #
* | | | 10.0-base mergeSergei Golubchik2013-06-061-2/+2
|\ \ \ \ | |/ / / | | | | | | | | (without InnoDB - all InnoDB changes were ignored)
| * | | 5.5 mergeSergei Golubchik2013-06-061-1/+2
| |\ \ \ | | |/ /
| | * | increase MAX_HA (number of simultaneously installed storage engines) to 64 Sergei Golubchik2013-05-201-1/+1
| | | |
| | * | MDEV-260 auditing table accessesSergei Golubchik2013-04-191-0/+1
| | | |
* | | | 10.0 mergeSergei Golubchik2013-04-191-124/+237
|\ \ \ \
| * | | | don't compare table names to detect temporary tablesSergei Golubchik2013-04-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | (also fixes a bug with unaccounted table names like #sql-123, see drop and alter_table tests)
| * | | | remove numerous #ifdef HAVE_PSI_TABLE_INTERFACESergei Golubchik2013-04-151-9/+5
| | | | | | | | | | | | | | | | | | | | simplify ha_table_share_psi()
| * | | | 10.0-base mergeSergei Golubchik2013-04-151-110/+230
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| |
| | * | MDEV-3807 show plugins soname 'xxx'Sergei Golubchik2013-04-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | and INFORMATION_SCHEMA.ALL_PLUGINS table with condition pushdown for I_S.ALL_PLUGINS and a new status variable to cound successful dlopen's
| | * | MDEV-4022 table attributes with sysvar as a default valueSergei Golubchik2013-04-091-6/+22
| | | |
| | * | Assisted discoverySergei Golubchik2013-04-091-0/+20
| | | |
| | * | dead code, remove unused argumentSergei Golubchik2013-04-091-2/+2
| | | |
| | * | remove HA_CREATE_INFO::frm_only - it's internal server flag,Sergei Golubchik2013-04-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | not part of the SE API, and, again, mutually exclusive with C_ORDINARY_CREATE and C_CREATE_SELECT.
| | * | * frm extra2 segment.Sergei Golubchik2013-04-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * | CREATE TABLE and frm-less discovering engines.Sergei Golubchik2013-04-091-1/+3
| | | | | | | | | | | | | | | | | | | | Now CREATE TABLE does not write the frm file on disk, if the engine can discover it
| | * | ha_create_table: remove unused argumentSergei Golubchik2013-04-091-2/+1
| | | |
| | * | rename a handler method to more precisely reflect what kind of a hack it doesSergei Golubchik2013-04-091-2/+2
| | | |
| | * | handlerton::discover_table_names() can not discover onlySergei Golubchik2013-04-091-4/+21
| | | | | | | | | | | | | | | | "unknown" tables. Duplicates are possible - deal with them.
| | * | fix mysql_rm_table_no_locks() not to use dd_frm_type, because the frm fileSergei Golubchik2013-04-091-1/+4
| | | | | | | | | | | | | | | | may not exist (the table exists only in the engine).
| | * | single table discovery: handlerton::discover_table() method.Sergei Golubchik2013-04-091-6/+16
| | | | | | | | | | | | | | | | fixes for need_full_discover_for_existence mode
| | * | remove ha_create_table_from_engine()Sergei Golubchik2013-04-091-1/+0
| | | | | | | | | | | | | | | | | | | | replace enum read_frm_op with a bitmap flags. remove always-unused 'error' argument of get_table_share
| | * | handlerton::discover_table_existence() methodSergei Golubchik2013-04-091-0/+23
| | | |