summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed build failures found by buildbotMichael Widenius2012-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added suppression of warnings - Fixed some test cases BUILD/FINISH.sh: Added AM_EXTRA_MAKEFLAGS BUILD/SETUP.sh: Added option --extra-makeflags client/mysqldump.c: Added suppression mysql-test/r/mysql.result: Updated results mysql-test/r/mysql_upgrade.result: Updated results mysql-test/r/partition_innodb_plugin.result: Updated results mysql-test/r/partition_open_files_limit.result: Updated results mysql-test/r/symlink.result: Updated results mysql-test/suite/innodb/r/innodb-create-options.result: Updated results mysql-test/suite/innodb/t/innodb-create-options.test: Don't print error message (as it's varies on different system) mysql-test/t/mysql.test: Don't print error message (as it's varies on different system) mysql-test/t/mysql_upgrade.test: Fixed checking of error number mysql-test/t/partition_innodb_plugin.test: Don't print error message (as it's varies on different system) plugin/semisync/semisync_master.cc: Added suppression sql/ha_partition.cc: Added suppression sql/item_subselect.cc: Added suppression sql/multi_range_read.cc: Added suppression sql/sql_parse.cc: Added suppression sql/sql_select.cc: Added suppression storage/innobase/handler/ha_innodb.cc: Removed not used variable storage/maria/ma_delete.c: Added suppression storage/maria/ma_key_recover.c: Added suppression storage/maria/ma_write.c: Added suppression strings/ctype-ucs2.c: Added suppression support-files/compiler_warnings.supp: Added suppressions unittest/mysys/my_vsnprintf-t.c: Fixed test case with %M to also work on Solaris
* Building RPMs with CPackSergei Golubchik2012-05-221-1/+1
| | | | configure with cmake -DRPM=distro
* Fixed compile warningsMichael Widenius2012-05-183-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some mtr test problems dbug/tests.c: Fixed compiler warnings mysql-test/r/handlersocket.result: Fixed that plugin_license is written mysql-test/suite/innodb/t/innodb_bug60196.test: Force sorted results as it was sometimes different on windows mysql-test/suite/rpl/t/rpl_heartbeat_basic.test: Prolong test as this failed on windows mysql-test/t/handlersocket.test: Fixed that plugin_license is written plugin/handler_socket/handlersocket/handlersocket.cpp: Use maria_declare_plugin plugin/handler_socket/handlersocket/mysql_incl.hpp: Fixed compiler warning plugin/handler_socket/libhsclient/auto_addrinfo.hpp: Fixed compiler warning sql/handler.h: Fixed typo sql/sql_plugin.cc: Fixed bug that caused plugin library name twice in error message storage/maria/ma_checkpoint.c: Fixed compiler warning storage/maria/ma_loghandler.c: Fixed compiler warning unittest/mysys/base64-t.c: Fixed compiler warning unittest/mysys/bitmap-t.c: Fixed compiler warning unittest/mysys/my_malloc-t.c: Fixed compiler warning
* allow handlersocket on FreeBSD, fix getaddrinfo problemVladislav Vaintroub2012-05-052-2/+2
|
* MDEV-255: Compile handlersocket plugin in 5.5Vladislav Vaintroub2012-05-052-0/+44
|
* mdev-224 plugin usage statistics in the feedback reportsSergei Golubchik2012-04-181-3/+13
|
* Merge of compatibility fixesMichael Widenius2012-04-022-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed failing tests in sys_vars as we have now stricter checking of setting of variables. mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_large_prefix_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_random_read_ahead_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_stats_on_metadata_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_strict_mode_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_support_xa_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/rpl_semi_sync_master_enabled_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/rpl_semi_sync_slave_enabled_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_adaptive_flushing_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_adaptive_hash_index_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_large_prefix_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_random_read_ahead_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_stats_on_metadata_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_strict_mode_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_support_xa_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test: One can now only assign 0 or 1 to boolean variables mysys/my_getsystime.c: Merge + fixed bug that __NR_clock_gettime didn't work in 5.5
| * Compatibility fixes by U OrsiniMichael Widenius2012-03-301-0/+1
| |
| * Add missing include (fixes compile failure with gcc 4.7).unknown2012-03-291-0/+1
| |
* | mysql-5.5.22 mergeSergei Golubchik2012-03-285-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/suite/innodb/t/group_commit_crash.test: remove autoincrement to avoid rbr being used for insert ... select mysql-test/suite/innodb/t/group_commit_crash_no_optimize_thread.test: remove autoincrement to avoid rbr being used for insert ... select mysys/my_addr_resolve.c: a pointer to a buffer is returned to the caller -> the buffer cannot be on the stack mysys/stacktrace.c: my_vsnprintf() is ok here, in 5.5
| * \ Updated/added copyright headersMySQL Build Team2012-02-165-5/+5
| |\ \
* | | | mdev-201 - Assertion `!thd->spcont' failed in net_send_error on server shutdownSergei Golubchik2012-03-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug in semisync plugin. It didn't check thd->killed before waiting on mysys->current_cond, and thus an attepmt to kill the thread (on shutdown) was lost plugin/semisync/semisync_master.cc: mdev:201 lp:962540
* | | | MDEV-15 Log all sql errors.Alexey Botchkov2012-03-245-3/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified for MySQL 5.5. Logger service moved to the plugin/sql_errlog directory to be properly used later. plugin/sql_errlog/sql_errlog.c: Fixes for bugs #956427 (SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value) and #956463 (Server crashes if SQL_ERROR_LOG fails to initialize) they're also MDEV-184 and MDEV-183 The sql_error_log_deinit() should be prepared for the logger_file to be NULL. The logger_file_size_limit upper limit wasn't properly set.
* | | | Reduce size of windows MSI by approx. 50%Vladislav Vaintroub2012-03-165-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Mark test components, plugins etc with COMPONENT Test, to get them excluded from the MSI - Only include debug symbols for client and embedded libs and also mysqld.exe and server plugins (so we can still can get a callstack in case of crash) The rest (all *.pdbs, test components, MTR) can be obtained from the big ZIP distribution, if required.
* | | | MDEV-15 Log SQL errors.Alexey Botchkov2012-03-141-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mysys/my_logger.c was moved to sql/sql_logger.c Logger service was rewritten with file functions instead of stream, so it can handle huge files.
* | | | MDEV-15 Log all SQL errors.Alexey Botchkov2012-03-142-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the logger service that provides us with the rotating logs. The plugin SQL_ERROR_LOG added. It logs the errors using the 'logger service' for the rotating log files. the example record from the log: 2012-03-09 15:07:29 root[root] @ localhost [] ERROR 1146: Table 'test.xyz' doesn't exist : select * from test.xyz
* | | | fixing pam plugin to compile againSergei Golubchik2012-02-292-6/+5
| | | |
* | | | HAVE_STRNDUP check for pam pluginSergei Golubchik2012-02-231-0/+2
| | | |
* | | | added plugin/auth_pam/CMakeLists.txtSergei Golubchik2012-02-061-0/+8
| | | |
* | | | 5.3 mergeSergei Golubchik2012-02-241-0/+4
|\ \ \ \ | | |_|/ | |/| |
| * | | Fixed that 'make distcheck' works with automake 1.11.11Michael Widenius2012-02-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed compiler warnings found by buildbot Makefile.am: Removed extra empty line cmd-line-utils/libedit/sys.h: Fixed that strndup() doesn't give compiler warnings mysql-test/Makefile.am: Fixes for 'make distcheck' plugin/auth_pam/auth_pam.c: Ensure that prototype for strndup() is included on linux sql/share/Makefile.am: Fixes for 'make distcheck' storage/innodb_plugin/btr/btr0sea.c: Fixed compiler warning support-files/Makefile.am: Fixes for 'make distcheck'
* | | | 5.3 mergeSergei Golubchik2012-02-211-0/+1
|\ \ \ \ | |/ / /
| * | | Merge with MariaDB 5.2Michael Widenius2012-02-211-0/+1
| |\ \ \
| | * \ \ Merge with MariaDB 5.1 and MySQL 5.1.61Michael Widenius2012-02-201-0/+1
| | |\ \ \
| | | * | | report innodb_file_per_table, innodb_flush_log_at_trx_commit, ↵Sergei Golubchik2012-01-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | innodb_flush_method
* | | | | | fix the include guards and add missing gplv2 headersSergei Golubchik2012-02-172-0/+18
| | | | | |
* | | | | | 5.3.4 mergeSergei Golubchik2012-02-153-7/+36
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 5.2->5.3 in preparation for the release of mariadb-5.3.4-rc.Igor Babaev2012-02-013-22/+35
| |\ \ \ \ \ | | |/ / / /
| | * | | | lp:901693 dialog.c:perform_dialog treats every password prompt as firstSergei Golubchik2012-01-121-0/+2
| | | | | |
| | * | | | openpam compatibilitySergei Golubchik2012-01-121-2/+2
| | | | | |
| | * | | | plugin renamed socket_peercred -> unix_socket.Sergei Golubchik2011-12-301-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | test added.
| | * | | | Fixed compiler and test failures found by buildbotMichael Widenius2012-01-081-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure.in: Added testing of STRNDUP (not found on solaris) mysql-test/include/wait_until_connected_again.inc: Also test for error 2005 (can happen on windows) mysql-test/include/wait_until_disconnected.inc: Also test for error 2005 (can happen on windows) mysql-test/suite/innodb_plugin/r/innodb_bug30423.result: Number of rows is not stable (found difference on Solaris) mysql-test/suite/innodb_plugin/t/innodb_bug30423.test: Number of rows is not stable (found difference on Solaris) plugin/auth_pam/auth_pam.c: Use internal strndup if it doesn't exist on system (solaris) Changed code so that it should also compile on solaris.
* | | | | | make pam plugin to build in 5.5.Sergei Golubchik2012-02-034-66/+0
| | | | | | | | | | | | | | | | | | | | | | | | fix pam.tets for 5.5
* | | | | | 5.3 mergeSergei Golubchik2012-01-138-13/+264
|\ \ \ \ \ \ | |/ / / / /
| * | | | | 5.2->5.3 mergeSergei Golubchik2011-12-128-47/+263
| |\ \ \ \ \ | | |/ / / /
| | * | | | PAM plugin with testSergei Golubchik2011-12-024-0/+237
| | | | | |
| | * | | | 1. add --plugin-dir and --default-auth to mysqltest.Sergei Golubchik2011-12-024-47/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. dialog plugin now always returns mysql->password if non-empty and the first question is of password type 3. split get_tty_password into get_tty_password_buff and strdup. 4. dialog plugin now uses get_tty_password by default 5. dialog.test 6. moved small tests of individual plugins into a dedicated suite
| * | | | | Merge with 5.2.Michael Widenius2011-12-116-14/+17
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | no_error handling for select (used by INSERT ... SELECT) still needs to be fixed, but I will do that in a separate commit
| | * | | | merge, fix Windows warningsVladislav Vaintroub2011-11-291-1/+2
| | | | | |
| | * | | | Automatic mergeMichael Widenius2011-11-243-3/+4
| | |\ \ \ \
| | | * \ \ \ Merge with MariaDB 5.1Michael Widenius2011-11-246-17/+25
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Automatic mergeMichael Widenius2011-11-213-3/+4
| | | | |\ \ \
| | | | | * \ \ Initail merge with MySQL 5.1 (XtraDB still needs to be merged)Michael Widenius2011-11-213-3/+4
| | | | | |\ \ \ | | | | | | | |/ | | | | | | |/| | | | | | | | | Fixed up copyright messages.
| | | | | | * | Updated/added copyright headersKent Boortz2011-07-031-2/+2
| | | | | | |\ \
| | * | | | | | | fix dialog plugin to work on windowsSergei Golubchik2011-11-222-10/+11
| | | | | | | | |
* | | | | | | | | rename debug variable to debug_dbug, to make test pass in release buildsSergei Golubchik2011-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
* | | | | | | | | Fix build and packaging on Windows:Vladislav Vaintroub2011-11-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - build executables we have in 5.3 (mysql_install_db.exe, mysq_upgrade_service.exe, upgrade wizard), and MSI - add some missing headers to windows specific source files. This needs to be done since 5.5 is using WIN32_LEAN_AND_MEAN preprocessor constant thus windows.h no more includes whiole Windows - do not deliver perl scripts (mysql_install_db.pl & friends) -they do not work, are not documented, and we have native executables for this functionality. do not pack echo.exe, replace.exe into MSI, they are not needed. Do not build resolveip on Windows, it is not used. - precache results of of system checks in cmake/os/WindowsCache.cmake (like it is alreay done for majority of tests to speed up cmake run with VS) - make feedback plugin DEFAULT on Windows (so MSI works if user enables plugin), fix null pointer access in PSI_register
* | | | | | | | | 5.3->5.5 mergeSergei Golubchik2011-11-2218-11/+1600
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | 5.2->5.3 mergeSergei Golubchik2011-11-141-2/+8
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | 5.1->5.2 mergeSergei Golubchik2011-11-131-2/+8
| | |\ \ \ \ \ \ \ | | | | |/ / / / / | | | |/| | | | |