- 12 Apr, 2013 1 commit
-
-
Alexey Botchkov authored
The patch contributed by Konstantin Osipov applied. Native comments: Implement multiple user-level locks per connection. GET_LOCK() function in MySQL allows a connection to hold at most one user level lock. Taking a new lock automatically releases the old lock, if any. The limit of one lock per session existed since early versions of MySQL didn't have a deadlock detector for SQL locks. MDL patches in MySQL 5.5 added a deadlock detector, so starting from 5.5 it became possible to take multiple locks in any order -- a deadlock, should it occur, would be detected and an error returned to the client which closed the wait chain. This is exactly what is done in this patch: ULLs are moved to use MDL subsystem.
-
- 10 Apr, 2013 2 commits
-
-
Sergei Golubchik authored
mysql-test/r/mysqld--help.result: that's default to number of CPUs mysql-test/suite/archive/discover.test: move_file uses rename(2), which may end up with "Invalid cross-device link" mysql-test/suite/archive/partition_archive.test: on Solaris the error message is different
-
Sergei Golubchik authored
-
- 09 Apr, 2013 37 commits
-
-
Sergei Golubchik authored
fix semisync plugins and tests to work with both with static and dynamic linking
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MySQL 5.1 and 5.2 alpha trees.
-
Sergei Golubchik authored
avoid unnecessary strlen()'s
-
Sergei Golubchik authored
(but support the scopeless mysql style too). always output status/system variables in the correct lettercase
-
Sergei Golubchik authored
and INFORMATION_SCHEMA.ALL_PLUGINS table with condition pushdown for I_S.ALL_PLUGINS and a new status variable to cound successful dlopen's
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Change Item_func_get_system_var::val_xxx functions to use that. mysql-test/t/variables.test: @@GLOBAL.INIT_CONNECT is never NULL anymore. Nor it ever was. It was a bug that empty string system variables appeared as NULL in the *integer context* (but not in a string, real, or decimal context!)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
instead of "used storage engine" and similar changes.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
implement ./mtr --dry-run
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
not part of the SE API, and, again, mutually exclusive with C_ORDINARY_CREATE and C_CREATE_SELECT.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
allocated by the same allocator as in TABLE_SHARE::read_frm_image()
-
Sergei Golubchik authored
-
Sergei Golubchik authored
eliminating reduncancy and a possibility of setting them to a pair of invalid values.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
* 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.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
use it to test main test cases with need_full_discover_for_existence > 0
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Now CREATE TABLE does not write the frm file on disk, if the engine can discover it
-
Sergei Golubchik authored
-
Sergei Golubchik authored
(in partition_archive.test frm size goes down 16 times :)
-
Sergei Golubchik authored
(allocating and freeing buffers on the way), allocate one frm buffer, prepare the frm image completely in memory, and then write it down.
-
Sergei Golubchik authored
* comments * cosmetic changes, *(ptr+5) -> ptr[5] * a couple of trivial functions -> inline * remove unused argument from pack_header() * create_frm() no longer creates frm file (the function used to prepare and fill a memory buffer and call my_create at the end. Now it only prepares a memory buffer). Renamed accordingly. * don't call pack_screen twice, go for a smaller screen area in the first attempt * remove useless calls to check_duplicate_warning() * don't write unireg screens to .frm files * remove make_new_entry(), it's basically dead code, always calculating and writing into frm the same string value. replace the function call with the constant string.
-