- 26 Mar, 2014 14 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-5955 Server crashes in handler::ha_external_lock or assertion `m_lock_type == 2' fails in handler::ha_close on disconnect with a locked temporary table first unlock locked tables, then close and remove temporary
-
Michael Widenius authored
The reason was that a couple of variables that hold number of rows that was used to calculate buffers was uint and caused an overflow. Fixed by changing variables that could hold number of rows from uint to ulong and also added a cast for this test. include/heap.h: Reorder to get better alignment. Changed variables that could hold number of rows from uint to ulong mysql-test/suite/heap/heap.result: Added test case mysql-test/suite/heap/heap.test: Added test case mysql-test/suite/plugins/t/server_audit.test: Added sleep as we want to have disconnect logged before we try a new connect storage/heap/ha_heap.cc: Changed variables that could hold number of rows from uint to ulong Limit number of rows to 4G (as most of the variables that holds rows are ulong anyway) reset records_changed when key_stat_version is changed to not cause increments for every row changed storage/heap/ha_heap.h: changed records_changed to ulong as this can get big storage/heap/hp_create.c: Changed variables that could hold number of rows from uint to ulong Added cast (fixed the original bug) storage/heap/hp_delete.c: Changed variables that could hold number of rows from uint to ulong storage/heap/hp_open.c: Removed not needed cast storage/heap/hp_write.c: Changed variables that could hold number of rows from uint to ulong support-files/compiler_warnings.supp: Removed extra : from supression
-
Sergei Golubchik authored
MDEV-5920 MySQL Bug#16765410 FTS: STACK AROUND THE VARIABLE 'MYSTR' WAS CORRUPTED IN INNOBASE_STRNXFRM
-
Sergei Golubchik authored
MDEV-5861 MySQL Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION escape usernames in CREATE/DROP USER error messages according to NO_BACKSLASH_ESCAPES
-
Sergei Golubchik authored
simplify the prototype and move it to sql_string.h
-
Sergei Golubchik authored
-
Sergei Golubchik authored
use LEX_STRING, keep similar functions together, remove duplicated code
-
Sergei Golubchik authored
-
Sergei Golubchik authored
field list, it doesn't work if ALTER TABLE has replaced all fields. Instead, pass the correct original table name down from the caller.
-
Sergei Golubchik authored
from the variable @@session.tokudb_row_format
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-5815 MySQL BUG#11751736: DROP DATABASE STATEMENT SHOULD REMOVE .OLD SUFFIX FROM DATABASE DIRECTORY Delete .OLD and .TMD files when a MyISAM table is dropped. Same for Aria. sql/sql_db.cc: dead code - *.TMD cannot be deleted from here.
-
Sergei Golubchik authored
-
- 25 Mar, 2014 3 commits
-
-
Sergei Golubchik authored
previous file->index_next (or other file->... index access method) succeeded
-
Sergei Golubchik authored
in the libmysqlclient_16 version node.
-
Sergei Golubchik authored
-
- 24 Mar, 2014 6 commits
-
-
Sergei Golubchik authored
add pthread_mutex_destroy(&THR_LOCK_dbug); that was apparently forgotten since the very first MySQL version
-
Sergei Golubchik authored
error message (because error messages use replacements)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
for new tables
-
Sergei Golubchik authored
checks that can skip the test
-
Sergei Golubchik authored
Allow "rpm -q --whatprovides mysql-server" to return more than one row. (all rows should be identical though) support-files/rpm/server-prein.sh: don't use "head -1" or "uniq" to avoid introducing new dependencies. "sed" is already used in this script.
-
- 23 Mar, 2014 1 commit
-
-
Alexander Barkov authored
MDEV-5783 Assertion `0' failed in make_sortkey(SORTPARAM*, uchar*, uchar*) on ORDER BY HEX( UNCOMPRESSED_LENGTH( pk ) )
-
- 21 Mar, 2014 3 commits
-
-
Sergei Golubchik authored
just as in 5.6 fix - copy the correct null-handling code from MyISAM
-
Sergei Golubchik authored
MDEV-5823 MySQL bug#11760213-52599: ALTER TABLE REMOVE PARTITIONING ON NON-PARTITIONED TABLE CORRUPTS MYISAM add the test case only
-
unknown authored
-
- 20 Mar, 2014 4 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-5849 MySQL bug#12602983 - User without privilege on routine can discover its existence by executing "select non_existing_func();" or by "call non_existing_proc()" add or move privilege checks before existence checks
-
Sergei Golubchik authored
don't use mysql-5.6 change. correct fix: zero-out rounded tail after the number was shifted because of the carry digit (otherwise the carry digit will be zeroed out too).
-
- 19 Mar, 2014 4 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
revert the fix for MDEV-5549, use a different approach.
-
Sergei Golubchik authored
MDEV-5773 symbol list_add, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference MDEV-5763 libmyodbc.so: undefined symbol: int2str MDEV-5739 Symbol missing in libmysqlclient.so.18 (make_scrambled_password) pam_mysql and especially myodbc need tons of internal symbols on Debian, argh!
-
Sergei Golubchik authored
Don't try to be smart about --socket. Assume that if user has set up a non-standard location for a socket, she did it consistently for both a server and clients (otherwise most clients won't work anyway).
-
- 23 Mar, 2014 1 commit
-
-
Alexey Botchkov authored
The RTLD_DEFAULT value on Labrador machine is not NULL, so the dlsym() commands in the server_audit just fail to bind the necessary functions. Fixed by using RTLD_DEFAULT explicitly.
-
- 19 Mar, 2014 4 commits
-
-
Sergei Golubchik authored
add mariadb_dyncol_unpack_free()
-
Sergei Golubchik authored
fixed bugs, found by cppcheck
-
Sergei Golubchik authored
XtraDB: don't accept MYSQL_TYPE_NULL as a column type
-
Sergei Golubchik authored
GRANT ROLE: don't forget to propagate privileges from granted role to a grantee
-