diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-19 20:55:37 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-19 20:55:37 +0200 |
commit | c07325f932abef2032b2e56532f6cb615e2a1161 (patch) | |
tree | 754ca158e45ebc014e5cbeaf4c3e7581f9575d76 /tests | |
parent | 7f8187bc432f79afe4c0549d68845a68e6c159ab (diff) | |
parent | 2ae83affef5a4d89f38272db31a400f968279a7a (diff) | |
download | mariadb-git-c07325f932abef2032b2e56532f6cb615e2a1161.tar.gz |
Merge branch '10.3' into 10.4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | tests/big_record.pl | 2 | ||||
-rw-r--r-- | tests/bug25714.c | 2 | ||||
-rw-r--r-- | tests/connect_test.c | 2 | ||||
-rw-r--r-- | tests/deadlock_test.c | 2 | ||||
-rwxr-xr-x | tests/drop_test.pl | 2 | ||||
-rwxr-xr-x | tests/export.pl | 2 | ||||
-rwxr-xr-x | tests/fork2_test.pl | 2 | ||||
-rwxr-xr-x | tests/fork_big.pl | 2 | ||||
-rw-r--r-- | tests/fork_big2.pl | 2 | ||||
-rwxr-xr-x | tests/grant.pl | 2 | ||||
-rwxr-xr-x | tests/index_corrupt.pl | 2 | ||||
-rwxr-xr-x | tests/insert_and_repair.pl | 2 | ||||
-rw-r--r-- | tests/insert_test.c | 2 | ||||
-rw-r--r-- | tests/list_test.c | 2 | ||||
-rwxr-xr-x | tests/lock_test.pl | 2 | ||||
-rw-r--r-- | tests/mysql_client_fw.c | 2 | ||||
-rw-r--r-- | tests/mysql_client_test.c | 23 | ||||
-rwxr-xr-x | tests/pmail.pl | 2 | ||||
-rwxr-xr-x | tests/rename_test.pl | 2 | ||||
-rw-r--r-- | tests/select_test.c | 2 | ||||
-rw-r--r-- | tests/showdb_test.c | 2 | ||||
-rw-r--r-- | tests/ssl_test.c | 2 | ||||
-rwxr-xr-x | tests/table_types.pl | 2 | ||||
-rwxr-xr-x | tests/test_delayed_insert.pl | 2 | ||||
-rw-r--r-- | tests/thread_test.c | 2 | ||||
-rwxr-xr-x | tests/truncate.pl | 2 |
27 files changed, 48 insertions, 27 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8e9496ec0ae..917ec458203 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,7 +11,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA ADD_DEFINITIONS("-DMYSQL_CLIENT") diff --git a/tests/big_record.pl b/tests/big_record.pl index 0d5766e5f5d..cb1f8998468 100755 --- a/tests/big_record.pl +++ b/tests/big_record.pl @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA # This is a test with stores big records in a blob. # Note that for the default test the mysql server should have been diff --git a/tests/bug25714.c b/tests/bug25714.c index b657630f30e..35a13518a03 100644 --- a/tests/bug25714.c +++ b/tests/bug25714.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #include <my_global.h> #include <my_sys.h> diff --git a/tests/connect_test.c b/tests/connect_test.c index f30d0f2edba..121ff2aa1a8 100644 --- a/tests/connect_test.c +++ b/tests/connect_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #include <stdio.h> #include <stdlib.h> diff --git a/tests/deadlock_test.c b/tests/deadlock_test.c index 811aa9b58c6..b4deef84593 100644 --- a/tests/deadlock_test.c +++ b/tests/deadlock_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #include <mysql.h> #include <stdio.h> diff --git a/tests/drop_test.pl b/tests/drop_test.pl index 362b6d7b8b5..329f65eb65d 100755 --- a/tests/drop_test.pl +++ b/tests/drop_test.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test with uses processes to insert, select and drop tables. diff --git a/tests/export.pl b/tests/export.pl index d7825574c8c..f99798ecac8 100755 --- a/tests/export.pl +++ b/tests/export.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # This is a test with uses two processes to a database. # The other inserts records in two tables, the other does a lot of joins diff --git a/tests/fork2_test.pl b/tests/fork2_test.pl index f8e15403da1..356055733fa 100755 --- a/tests/fork2_test.pl +++ b/tests/fork2_test.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # This is a test with uses 5 processes to insert, update and select from # two tables. diff --git a/tests/fork_big.pl b/tests/fork_big.pl index ec1f131d453..623377ab5cd 100755 --- a/tests/fork_big.pl +++ b/tests/fork_big.pl @@ -15,7 +15,7 @@ use strict; # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test with uses many processes to test a MySQL server. diff --git a/tests/fork_big2.pl b/tests/fork_big2.pl index 0f1d65be8f9..c844d290834 100644 --- a/tests/fork_big2.pl +++ b/tests/fork_big2.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test with uses many processes to test a MySQL server. diff --git a/tests/grant.pl b/tests/grant.pl index 23a7d2110fb..cd651643316 100755 --- a/tests/grant.pl +++ b/tests/grant.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA # # Testing of grants. diff --git a/tests/index_corrupt.pl b/tests/index_corrupt.pl index 3623315c968..6b04ce8a59c 100755 --- a/tests/index_corrupt.pl +++ b/tests/index_corrupt.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test for a key cache bug (bug #10167) diff --git a/tests/insert_and_repair.pl b/tests/insert_and_repair.pl index d8799321af1..18091c92718 100755 --- a/tests/insert_and_repair.pl +++ b/tests/insert_and_repair.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test of insert and repair/check. diff --git a/tests/insert_test.c b/tests/insert_test.c index f09766088aa..f2e6b61f11d 100644 --- a/tests/insert_test.c +++ b/tests/insert_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #include <stdio.h> #include <stdlib.h> diff --git a/tests/list_test.c b/tests/list_test.c index 2e8cd3654a3..42d4f962b19 100644 --- a/tests/list_test.c +++ b/tests/list_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #ifdef __WIN__ #include <windows.h> diff --git a/tests/lock_test.pl b/tests/lock_test.pl index 97531df99ca..98c4ad6377d 100755 --- a/tests/lock_test.pl +++ b/tests/lock_test.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # This is a test with uses two processes to a database. # The other inserts records in two tables, the other does a lot of joins diff --git a/tests/mysql_client_fw.c b/tests/mysql_client_fw.c index c39b5138309..8a6d38d9e30 100644 --- a/tests/mysql_client_fw.c +++ b/tests/mysql_client_fw.c @@ -11,7 +11,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #include <my_global.h> #include <my_sys.h> diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 2c95bac1e21..40fbffa57bc 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ /*************************************************************************** This is a test sample to test the new features in MySQL client-server @@ -8397,6 +8397,26 @@ static void test_list_fields() } +/* Test mysql_list_fields() with information_schema */ + +static void test_list_information_schema_fields() +{ + MYSQL_RES *result; + int rc; + myheader("test_list_information_schema_fields"); + + rc= mysql_select_db(mysql, "information_schema"); + myquery(rc); + result= mysql_list_fields(mysql, "all_plugins", NULL); + mytest(result); + rc= my_process_result_set(result); + DIE_UNLESS(rc == 0); + mysql_free_result(result); + rc= mysql_select_db(mysql, current_db); + myquery(rc); +} + + static void test_list_fields_blob() { MYSQL_RES *result; @@ -20946,6 +20966,7 @@ static struct my_tests_st my_tests[]= { { "test_fetch_column", test_fetch_column }, { "test_mem_overun", test_mem_overun }, { "test_list_fields", test_list_fields }, + { "test_list_information_schema_fields", test_list_information_schema_fields }, { "test_list_fields_blob", test_list_fields_blob }, { "test_list_fields_default", test_list_fields_default }, { "test_free_result", test_free_result }, diff --git a/tests/pmail.pl b/tests/pmail.pl index 39f51a4e401..359256c25b3 100755 --- a/tests/pmail.pl +++ b/tests/pmail.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # Prints mails to standard output diff --git a/tests/rename_test.pl b/tests/rename_test.pl index 24d4f9e1a2e..d7097df1e4e 100755 --- a/tests/rename_test.pl +++ b/tests/rename_test.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test with uses processes to insert, select and drop tables. diff --git a/tests/select_test.c b/tests/select_test.c index 9a144c59292..648a86135a8 100644 --- a/tests/select_test.c +++ b/tests/select_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #if defined(_WIN32) || defined(_WIN64) #include <windows.h> diff --git a/tests/showdb_test.c b/tests/showdb_test.c index 555a8511e61..267e32d51d7 100644 --- a/tests/showdb_test.c +++ b/tests/showdb_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #ifdef __WIN__ diff --git a/tests/ssl_test.c b/tests/ssl_test.c index 2cd4b4b868b..6102fc7fd4e 100644 --- a/tests/ssl_test.c +++ b/tests/ssl_test.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ #ifdef __WIN__ diff --git a/tests/table_types.pl b/tests/table_types.pl index 53f59a4429d..c633a153098 100755 --- a/tests/table_types.pl +++ b/tests/table_types.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA use DBI; use Benchmark; diff --git a/tests/test_delayed_insert.pl b/tests/test_delayed_insert.pl index 6d535374991..cb5b86a228d 100755 --- a/tests/test_delayed_insert.pl +++ b/tests/test_delayed_insert.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # This is a test for INSERT DELAYED # diff --git a/tests/thread_test.c b/tests/thread_test.c index 38e453e9cb8..0fa92d505a3 100644 --- a/tests/thread_test.c +++ b/tests/thread_test.c @@ -11,7 +11,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #include <my_global.h> diff --git a/tests/truncate.pl b/tests/truncate.pl index 41bb79b8237..98791a15b2c 100755 --- a/tests/truncate.pl +++ b/tests/truncate.pl @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA # # This is a test with uses many processes to test a MySQL server. |