summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* merge 5.1 => 5.5Tor Didriksen2011-08-291-0/+9
|\
| * BUG#12911710 - VALGRIND FAILURE IN ↵Tor Didriksen2011-08-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ROW-DEBUG:PERFSCHEMA.SOCKET_SUMMARY_BY_INSTANCE_FUNC Converting the number zero to binary and back yielded the number zero, but with no digits, i.e. zero precision. This made the multiply algorithm go haywire in various ways. include/decimal.h: Document struct st_decimal_t mysql-test/r/type_newdecimal.result: New test case (valgrind warnings) mysql-test/t/type_newdecimal.test: New test case (valgrind warnings) sql/my_decimal.h: Remove the HAVE_purify enabled/disabled code. strings/decimal.c: Make a proper zero, with non-zero precision.
| * BUG#12695969Luis Soares2011-07-121-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Manually merged from mysql-5.0 into mysql-5.1. conflicts ========= include/Makefile.am
| | * BUG#12695969Luis Soares2011-07-121-1/+1
| | | | | | | | | | | | | | | Follow-up patch that adds the newly added header file to Makefile.am noinst_HEADERS.
* | | Fix bug #11830883, SUPPORT "CORRUPTED" BIT FOR INNODB TABLES AND INDEXES.Jimmy Yang2011-08-161-2/+3
| | | | | | | | | | | | | | | | | | | | | Also addressed issues in bug #11745133, where we could mark a table corrupted instead of crashing the server when found a corrupted buffer/page if the table created with innodb_file_per_table on.
* | | WL#5710 : mysql_plugin - enable or disable pluginsChuck Bell2011-07-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new client utility that enables or disables plugin features. The utility disables or enables a plugin using values (name, soname, and symbols) provided via a configuration file by the same name. For example, to ENABLE the daemon_example plugin, the utility will read the daemon_example.ini configuration file and use the values contained to enable or disable the plugin.
* | | BUG#12695969Luis Soares2011-07-111-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manually merged from mysql-5.1: - fixed mysqlbinlog copyright year: 2001 --> 2000 - fixed address in license header conflicts ========= - client/mysqlbinlog.cc - include/welcome_copyright_notice.h
| * | BUG#12695969Luis Soares2011-07-111-0/+31
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Manually merged mysql-5.0 into mysql-5.1. conflicts ========= client/mysqlibinlog.cc
| | * BUG#12695969: FIX OUTDATED COPYRIGHT NOTICES IN REPLACTIONLuis Soares2011-07-111-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLIENT TOOLS The fix is to backport part of revision: - alexander.nozdrin@oracle.com-20101006150613-ls60rb2tq5dpyb5c from mysql-5.5. In detail, we add the oracle welcome notice header file proposed in the original patch and include/use it in client/mysqlbinlog.cc, replacing the existing and obsolete notice.
| | * Updated/added copyright headersKent Boortz2011-06-305-25/+20
| | |\
| | | * Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0Magne Mahre2011-03-225-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The LGPL license is used in some legacy code, and to adhere to current licensing polity, we remove those files that are no longer used, and reorganize the remaining LGPL code so it will be GPL licensed from now on. Note: This patch only removed LGPL licensed files in MySQL 5.0, and is the first of a set of patches to remove LGPL from all trees. (See Bug# 11840513 for details) include/my_compare.h: Mostly code moved in from my_handler include/my_global.h: AIX-only code. Function used to be in my_port.c Inlining instead. libmysql/Makefile.shared: my_gethostbyname and my_port is removed myisam/mi_check.c: ha_find_null is moved from my_handler and made static.
* | | | merge mysql-5.1->mysql-5.5Georgi Kodinov2011-07-071-16/+0
|\ \ \ \ | |/ / /
| * | | Updated/added copyright headersKent Boortz2011-07-0310-149/+138
| |\ \ \
| | * | | BUG 11763056 - 55721: AIX 5.1.50 build failing, cannot locate bzeroDavi Arnaut2011-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that although AIX implements bzero, its prototype is not declared by default. Since AC_CHECK_FUNC(bzero) succeeds even though a prototype is not declared, this breaks compilation in C++ files where a prototype is required. The solution is to only use bzero if a prototype is also declared. configure.in: Check if bzero is declared. No need to specify the includes, unisted.h and strings.h are already part of AC_INCLUDES_DEFAULT.
* | | | | Merge from mysql-5.5.14-releaseunknown2011-07-061-4/+5
|\ \ \ \ \
| * | | | | Bug #12633140 : AUDIT PLUGIN SOURCE FILES HAVE OUT OF DATE Georgi Kodinov2011-06-131-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COPYRIGHT NOTICE Fixed copyright headers of updated files.
* | | | | | Updated/added copyright headersKent Boortz2011-07-047-10/+16
|\ \ \ \ \ \ | |/ / / / /
* | | | | | Updated/added copyright headersKent Boortz2011-06-3068-126/+171
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | Updated/added copyright headersKent Boortz2011-06-3026-51/+121
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Updated/added copyright headersKent Boortz2011-06-3014-26/+38
| | | |/ | | |/|
* | | | BUG#12611785 - AUDIT INTERFACE STRICT-ALIASING WARNINGSSergey Vojtovich2011-06-032-24/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The types mysql_event_general/mysql_event_connection are being cast to the incompatible type mysql_event. The way mysql_event and the other types are designed are prone to strict aliasing violations and can break things depending on how compilers optimizes this code. This patch fixes audit interface, so it confirms to strict- aliasing rules. It introduces incompatible changes to audit interface: - mysql_event type has been removed; - event_class has been removed from mysql_event_generic and mysql_event_connection types; - st_mysql_audit::event_notify() second argument is event_class; - st_mysql_audit::event_notify() third argument is event of type (const void *). "Writing Audit Plugins" section of manual should be updated: http://dev.mysql.com/doc/refman/5.5/en/writing-audit-plugins.html include/mysql/plugin_audit.h: event_class has been moved out of mysql_event types. include/mysql/plugin_audit.h.pp: event_class has been moved out of mysql_event types. plugin/audit_null/audit_null.c: event_class has been moved out of mysql_event types. sql/sql_audit.cc: event_class has been moved out of mysql_event types.
* | | | Implement worklog #5743 InnoDB: Lift the limit of index key prefixes. Jimmy Yang2011-05-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, the index prefix column length lifted from 767 bytes to 3072 bytes if "innodb_large_prefix" is set to "true". rb://603 approved by Marko
* | | | auto-merge Bug#11745920Tatjana Azundris Nuernberg2011-05-261-3/+3
|\ \ \ \
| * | | | Bug#11745920/Bug#21287: "SSL connection error" is not helpful! ↵Tatjana Azundris Nuernberg2011-05-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ssl-verify-server-cert=true vs localhos) SSL errors on client and now more specific to aid end-user with debugging. Also restructures error handling for compliance with SSL docs. include/violite.h: new_VioSSLConnectorFd/sslaccept/sslconnect return more elaborate status libmysql/errmsg.c: SSL errors now extended, more specific mysql-test/r/openssl_1.result: SSL errors now extended, more specific sql-common/client.c: Do more detailed error reporting for setup, connect, and server cert verifying phases. sql/sql_acl.cc: sslaccept() signature has changed vio/viossl.c: Save the error code and return it to callers of sslaccept and sslconnect. vio/viosslfactories.c: new_VioSSLConnectorFd(): return error code to caller
* | | | | BUG#12578441, reintroduced thd->cleanup() in unlink_thd, removed by mistake, ↵Mikael Ronström2011-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | added private interface to this function
* | | | | merge from latest 5.5Guilhem Bichot2011-05-217-20/+190
|\ \ \ \ \
| * | | | | Split up unlink_thd in several functionsMikael Ronström2011-05-181-1/+3
| | | | | |
| * | | | | mergeMikael Ronström2011-05-122-2/+5
| |\ \ \ \ \ | | |/ / / /
| * | | | | mergeMikael Ronstrom2011-05-043-7/+5
| |\ \ \ \ \
| * | | | | | Make MY_ALIGNED usable to define alignment of data structuresMikael Ronstrom2011-05-041-1/+1
| | | | | | |
| * | | | | | Make MY_ALIGNED usable to define alignment of data structuresMikael Ronstrom2011-05-041-0/+8
| | | | | | |
| * | | | | | Merge 5.5Mikael Ronström2011-04-1510-73/+50
| |\ \ \ \ \ \
| * | | | | | | Changed name to better reflect function logic in accordance with WL#5788Mikael Ronström2011-04-151-2/+2
| | | | | | | |
| * | | | | | | More review fixesMikael Ronstrom2011-03-045-10/+10
| | | | | | | |
| * | | | | | | mergeMikael Ronstrom2011-03-046-11/+26
| |\ \ \ \ \ \ \
| * | | | | | | | more docs of the thread pool interfaceMikael Ronström2011-02-171-0/+2
| | | | | | | | |
| * | | | | | | | added interface to scheduler.hMikael Ronström2011-02-171-0/+1
| | | | | | | | |
| * | | | | | | | Further work on thread pool interfaceMikael Ronström2011-02-171-15/+28
| | | | | | | | |
| * | | | | | | | More work on interfacesMikael Ronström2011-02-161-8/+11
| | | | | | | | |
| * | | | | | | | Defined private interface to THD variables, first step to plugin APIMikael Ronström2011-02-161-1/+19
| | | | | | | | |
| * | | | | | | | Removed scheduler struct for nowMikael Ronström2011-02-101-13/+0
| | | | | | | | |
| * | | | | | | | Simplifications of server interface to schedulerMikael Ronström2011-02-101-1/+17
| | | | | | | | |
| * | | | | | | | Simplify interface to connect methods in serverMikael Ronström2011-02-101-3/+3
| | | | | | | | |
| * | | | | | | | mergeMikael Ronström2011-02-103-3/+16
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated thread_pool_priv.h with additional includes for thread pool pluginsMikael Ronström2011-02-101-0/+22
| | | | | | | | | |
| * | | | | | | | | Temporary fixMikael Ronstrom2011-01-241-1/+1
| | | | | | | | | |
| * | | | | | | | | BUG#59549, Fix compiler errors on Windows, step 5Mikael Ronstrom2011-01-241-1/+6
| | | | | | | | | |
| * | | | | | | | | mergeMikael Ronstrom2011-01-201-1/+2
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Added thread pool interface to serverMikael Ronstrom2011-01-141-0/+50
| | | | | | | | | | |
| * | | | | | | | | | mergeMikael Ronstrom2011-01-1211-141/+14
| |\ \ \ \ \ \ \ \ \ \