mariadb/mysql-test/suite/funcs_1/t
Michael Widenius 5bddbc44c6 Fixed compiler warning message
- Added checking of return value for system(), freopen(), fgets() and chown()
- Ensure that calls that require a format strings gets a format string
- Other trivial things
Updated test suite results (especially for pbxt and embedded server)
Removed warning for "Invalid (old?) table or database name 'mysqld.1'" from pbxt tests
Speed up some pbxt tests by inserting begin ; commit; around "while loops with inserts"
Added mysqld startup option '--debug-flush'
Create maria_recovery.trace in data directory instead of current directory

client/mysql.cc:
  Check return value from system()
client/mysql_upgrade.c:
  Check return value from fgets()
client/mysqladmin.cc:
  Check return value from fgets()
client/mysqlslap.c:
  Check return value from system() (but ignore it, as it's not critical)
extra/yassl/src/crypto_wrapper.cpp:
  Check return value from fgets() (but ignore it, as it's internal file)
extra/yassl/taocrypt/src/aes.cpp:
  Added extra {} to remove compiler warning
extra/yassl/taocrypt/src/blowfish.cpp:
  Added extra {} to remove compiler warning
extra/yassl/taocrypt/src/misc.cpp:
  Ifdef not used code
include/mysys_err.h:
  Added error message for failing chown()
mysql-test/mysql-test-run.pl:
  Don't give warning for skipping ndbcluster (never enabled in MariaDB)
mysql-test/suite/funcs_1/r/is_columns_is_embedded.result:
  Update with new information schema information
mysql-test/suite/funcs_1/r/is_tables_is_embedded.result:
  New test
mysql-test/suite/funcs_1/r/is_tables_myisam_embedded.result:
  Update test results (has not been tested for a long time)
mysql-test/suite/funcs_1/r/is_tables_mysql_embedded.result:
  Update test results (has not been tested for a long time)
mysql-test/suite/funcs_1/t/is_tables_is.test:
  Don't run with embedded server (as results differ)
  I added a new test for embedded server
mysql-test/suite/funcs_1/t/is_tables_is_embedded.test:
  New test
mysql-test/suite/pbxt/my.cnf:
  Allow one to run pbxt tests without having to specify --mysqld=--default-storage-engine=pbxt
mysql-test/suite/pbxt/t/count_distinct3.test:
  Speed up test by inserting begin; ... commit;
mysql-test/suite/pbxt/t/subselect.test:
  Speed up test by inserting begin; ... commit;
mysys/errors.c:
  Added error message for failing chown()
mysys/my_copy.c:
  Added error message for failing chown()
mysys/my_redel.c:
  Added error message for failing chown()
mysys/safemalloc.c:
  Added cast to get rid of compiler warning
sql/ha_partition.cc:
  Fixed wrong argument to sql_print_error() (it requires a format string)
sql/log.cc:
  Test return value of freopen()
sql/mysqld.cc:
  Test return value of freopen()
  Added startup option '--debug-flush' to be used when one gets a core dump (easy to explain to people on IRC)
sql/rpl_rli.cc:
  Fixed wrong argument to sql_print_error() (it requires a format string)
sql/set_var.cc:
  Added {} to get rid of compiler warnings
sql/slave.cc:
  Fixed wrong argument to mi->report() and sql_print...() (they require a format string)
sql/sql_cache.cc:
  Fixed wrong argument to sql_printinformation() (it requires a format string)
sql/sql_parse.cc:
  Test return value of fgets()
sql/sql_plugin.cc:
  Fixed wrong argument to sql_print_error() (it requires a format string)
sql/sql_select.cc:
  Use unique table name for internal temp tables instead of full path
  (Simple speed & space optimization)
sql/udf_example.c:
  Removed compiler warning about not used variable
storage/maria/ha_maria.cc:
  Fixed wrong argument to sql_print_error() and ma_check_print_error() (they require a format string)
storage/maria/ma_recovery.c:
  Create maria_recovery.trace in data directory instead of current directory
storage/maria/unittest/ma_test_loghandler-t.c:
  Fixed wrong argument to ok();  Requires a format string
storage/pbxt/src/strutil_xt.cc:
  Detect temporary tables by checking if that path for the table is in the mysql data directory.
  The database for temporary tables is after this patch, from PBXT point of view, ""
  This is needed to stop PBXT from calling filename_to_tablename() with the base directory as an argument, which caused
  ERROR: Invalid (old?) table or database name 'mysqld.1'" in the log when running the test suite.
tests/mysql_client_test.c:
  Fixed compiler warnings
unittest/mysys/base64-t.c:
  Fixed wrong argument to diag() (it requires a format string)
  Added a comment that the current 'print' of differing buffers doesn't print the right thing,
  but didn't fix this as it's not important (unless we find a bug in the real code)
2009-10-26 13:35:42 +02:00
..
charset_collation.test Fix for Bug#40545, Bug#40209, Bug#40618, Bug#38346 2009-06-19 17:04:25 +02:00
disabled.def Merge 5.0 -> 5.1 of fixes for various funcs_1 related bugs 2009-06-19 17:44:29 +02:00
innodb_bitdata.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_cursors.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_func_view.test copy from test-extra-5.0 to main tree 2007-02-06 19:07:48 +01:00
innodb_storedproc_02.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_storedproc_03.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_storedproc_06.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_storedproc_07.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_storedproc_08.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_storedproc_10.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
innodb_trig_03.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_03e.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
innodb_trig_08.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_09.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_0102.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_0407.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_1011ext.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
innodb_trig_frkey.test Fix for 2008-06-16 20:39:58 +02:00
innodb_views.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
is_basics_mixed.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_character_sets.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_cml_innodb.test Fix for 2008-06-16 20:39:58 +02:00
is_cml_memory.test Fix for 2008-06-16 20:39:58 +02:00
is_cml_myisam.test Fix for 2008-06-16 20:39:58 +02:00
is_cml_ndb.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_coll_char_set_appl.test Fix for Bug#43383 main.variables-big : Weak testing code and result 2009-03-26 19:12:19 +01:00
is_collations.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_column_privileges.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_column_privileges_is_mysql_test.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_columns.test Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
is_columns_innodb.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_is.test Fix failures in the funcs_1 test suite. 2009-10-10 11:59:06 +02:00
is_columns_is_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_memory.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_myisam.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_myisam_embedded.test Bug#37380 - Test funcs_1.is_columns_myisam_embedded fails on OS X 2008-07-01 14:44:47 -04:00
is_columns_mysql.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_mysql_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_columns_ndb.test Fix for 2008-06-16 20:39:58 +02:00
is_engines.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_engines_archive.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_blackhole.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_csv.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_federated.test Rename std_data_ln to std_data. 2009-01-31 17:22:59 -02:00
is_engines_innodb.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_memory.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_merge.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_myisam.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_engines_ndb.test Post merge fixes after 2008-03-07 20:18:14 +01:00
is_events.test Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
is_key_column_usage.test Fix for 2008-06-16 20:39:58 +02:00
is_key_column_usage_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_routines.test Back-port of changes made to 6.0-maria (to remove compiler warnings or fix simple test failures) 2008-07-01 22:47:09 +02:00
is_routines_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_schema_privileges.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_schema_privileges_is_mysql_test.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_schemata.test Fix for 2008-06-16 20:39:58 +02:00
is_schemata_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_schemata_is_mysql_test.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_statistics.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_statistics_is.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
is_statistics_mysql.test Fix for 2008-06-16 20:39:58 +02:00
is_statistics_mysql_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_table_constraints.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_table_constraints_is.test WL#4203 Reorganize and fix the data dictionary tests of 2008-03-07 17:33:07 +01:00
is_table_constraints_mysql.test Fix for 2008-06-16 20:39:58 +02:00
is_table_constraints_mysql_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_table_privileges.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_tables.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_tables_innodb.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_is.test Fixed compiler warning message 2009-10-26 13:35:42 +02:00
is_tables_is_embedded.test Fixed compiler warning message 2009-10-26 13:35:42 +02:00
is_tables_memory.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_myisam.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_myisam_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_mysql.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_mysql_embedded.test Fix for 2008-06-16 20:39:58 +02:00
is_tables_ndb.test Fix for 2008-06-16 20:39:58 +02:00
is_triggers.test Back-port of changes made to 6.0-maria (to remove compiler warnings or fix simple test failures) 2008-07-01 22:47:09 +02:00
is_triggers_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
is_user_privileges.test Remove assignments of the $MASTER_MYSOCK variable. 2009-06-09 13:09:16 -03:00
is_views.test Back-port of changes made to 6.0-maria (to remove compiler warnings or fix simple test failures) 2008-07-01 22:47:09 +02:00
is_views_embedded.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_bitdata.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_cursors.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_func_view.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_02.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_03.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_06.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_07.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_08.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_storedproc_10.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_03.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_03e.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_08.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_09.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_0102.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_0407.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_trig_1011ext.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
memory_views.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_bitdata.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_cursors.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_func_view.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_02.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_03.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_06.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_07.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_08.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_storedproc_10.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_03.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_03e.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_08.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_09.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_0102.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_0407.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_trig_1011ext.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
myisam_views.test Don't run funcs_1/myisam_views test case under valgrind, unless 2009-06-09 11:36:14 -03:00
ndb_bitdata.test Post merge fix for 2008-03-12 12:56:07 +01:00
ndb_cursors.test Post merge fix for 2008-03-12 12:56:07 +01:00
ndb_func_view.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_02.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_03.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_06.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_07.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_08.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_storedproc_10.test copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00
ndb_trig_03.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_trig_03e.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
ndb_trig_08.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_trig_09.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_trig_0102.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_trig_0407.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_trig_1011ext.test Bug#36788 Multiple funcs_1 'trig' tests are failing on vanilla builds 2008-06-02 21:57:11 +02:00
ndb_views.test Post merge fix for 2008-04-01 13:18:31 +02:00
processlist_priv_no_prot.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
processlist_priv_ps.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
processlist_val_no_prot.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
processlist_val_ps.test 1. Upmerge of fix for the bugs 2008-06-18 19:23:55 +02:00
storedproc.test Bug#37746: Arithmetic range ("int") is smaller than expected 2009-07-07 10:19:38 -04:00
suite.opt Post merge fix for 2008-04-01 13:18:31 +02:00