summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_plugin.test
Commit message (Collapse)AuthorAgeFilesLines
* Bug#16103072 TEST MYSQL_PLUGIN USES UNSAFE WRITE_FILE TO WRITE Akhila Maddukuri2013-02-251-50/+16
| | | | | TO EXPECT FILE
* Fix mysql_plugin test to handle version XXaBjorn Munch2012-06-291-2/+2
|
* BUG#12969301 : mysql_plugin: enable is ignored if plugin existsunknown2012-01-241-2/+75
| | | | | | | | | | | | | | This patch changes the mechanism by which the client enables a plugin. Instead of using INSERT IGNORE to reload a plugin library, it now uses REPLACE INTO. This allows users to load a library multiple times replacing the existing values in the mysql.plugin table. This allows users to replace the symbol reference to a different dl name in the table. Thus permitting enabling of multiple versions of the same library without first disabling the old version. A regression test was added to ensure this feature works.
* WL#5710 : mysql_plugin client - Windows PB fixunknown2011-11-041-0/+3
| | | | | | This patch corrects the test mysql_plugin so that it correctly masks the library extension of the plugin daemon_example.
* BUG#12968815: mysql_plugin : disable requires plugin name but doesn't use itunknown2011-10-171-3/+11
| | | | | | | | | | This patch corrects a defect in the building of the DELETE commands for disabling a plugin whereby only the original plugin data was deleted. If there were other plugins, the delete did not remove the rows. The code has been changed to remove all rows from the mysql.plugin table that were inserted when the plugin was loaded. The test has also been changed to correctly identify if all rows have been deleted.
* merge from 5.5 mainBjorn Munch2011-09-261-0/+1
|\
| * BUG#12929631 : Execute crashes with --verbose output (Windows) Chuck Bell2011-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | This patch corrects an error encountered in PB where Windows machines are built in release mode have an extraneous parameter added in place of the --console option. This is caused by the insert of '(null' instead of an empty string. In non-debug mode, the string is explicitly set to an empty string. Patch also fixes a result mismatch on Windows machines.
| * Cherry-picking follow-up patch for WL 5710Alexander Nozdrin2011-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | from mysql-5.5 to mysql-5.5.16-release. Original revision: # revision-id: bjorn.munch@oracle.com-20110812104938-peswzao46f4lvm9p # parent: dmitry.lenev@oracle.com-20110811155849-feyt3h7tj48padiu # committer: Bjorn Munch <bjorn.munch@oracle.com> # branch nick: main-55 # timestamp: Fri 2011-08-12 12:49:38 +0200 # message: # Small followup fix to WL 5710: # Test mysql_plugin failed if version string ended in -mN
| * Cherry-picking WL#5710 from mysql-5.5 to mysql-5.5.16-release.Alexander Nozdrin2011-08-151-0/+318
| | | | | | | | | | | | | | | | Original revision id: # revno: 3489 [merge] # revision-id: tatjana.nuernberg@oracle.com-20110811120945-c6x9a5d2du8s9oj2 # parent: tatjana.nuernberg@oracle.com-20110811112736-so8r813hs8dmf7nr # parent: chuck.bell@oracle.com-20110810183949-2s9uxcuoux2p668e # committer: Tatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com> # branch nick: 55-9 # timestamp: Thu 2011-08-11 13:09:45 +0100 # message: # auto-merge This merge revision also has a patch for Bug 12664445, which has been also taken to 5.5.16.
* Some tests simplified after 12912120Bjorn Munch2011-09-151-1/+0
|
* Small followup fix to WL 5710:Bjorn Munch2011-08-121-2/+2
| | | | | Test mysql_plugin failed if version string ended in -mN
* WL#5710 : enable and disable pluginsChuck Bell2011-08-091-10/+10
| | | | | | This patch corrects an error in the test to ensure the proper path is used for the --mysqld option.
* WL#5710 : enable and disable pluginsChuck Bell2011-08-091-53/+131
| | | | | | | | | | | | | | | | | | | This patch corrects a problem found in PB. Some platforms have very different locations for the mysql installation. The client was not able to find either my_print_defaults or mysqld predictably. The patch adds two new command options --mysqld and --my-print-defaults which can be used to provide the location of mysqld and my_print_defaults by providing the paths. The patch also changes the concatenation of the soname extension to fix a problem found on some Ubuntu systems. The patch contains changes to the test to ensure it will run on all platforms. A trap is set in the test to skip testing if the location of mysqld, my_print_defaults, or the daemon_example.ini files cannot be determined.
* WL#5710 : Enable and disable plugins (mysql_plugin)Chuck Bell2011-07-191-17/+52
| | | | | | This patch adds additional QA tests and enhances the mysql_plugin test to include more test cases.
* BUG#12707948 : mysql_plugin cannot run on WindowsChuck Bell2011-07-191-1/+1
| | | | | | | | | | | | | | Patch fixes an issue with reading basedir on Windows. It fixes how the code interprets opt_basedir on Windows by adding the correct path separators and quotes for paths with spaces. BUG#12664302 : mysql_plugin cannot recognize the plugin config file Patch fixes an issue with reading a plugin config file. It adds more information to the error messages to ensure the user is using the options correctly. Also deals with paths with spacs on Windows.
* WL#5710 : mysql_plugin - enable or disable pluginsChuck Bell2011-07-191-0/+205
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.