1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-03 07:02:23 +03:00
mariadb/mysql-test/suite/funcs_1/t/is_columns_myisam_embedded.test
Monty a1f630ccfe Fixed result for embedded server
- Revert wrongly record embedded result files. These were either
  recorded with normal server (not embedded) or an embedded server
  with not default compile option. This can be seen that the committed
  result file had replication variables which should never happen.

- Reverted back change of include/is_embedded.inc. One cannot check for
  $MYSQL_EMBEDDED as this only tells if there exists an embedded
  server, not if the current server we are testing is the embedded
  server. This could easily be verified by doing
  'mtr sys_vars.sysvars_server_embedded'. This would fail with a wrong
  result instead of being marked as skipped as --embedded was not
  used.
2022-01-28 16:31:53 +02:00

24 lines
807 B
Plaintext

# suite/funcs_1/t/is_columns_myisam_embedded.test
#
# Check the content of information_schema.columns about tables within
# the databases created by the user.
# Variant for storage engine MyISAM and the embedded server
# The expected results must equal is_columns_myisam except that all users
# have all privileges (affects some result sets).
#
# Author:
# 2008-06-06 mleich Create this this variant for the embedded server.
#
--source include/is_embedded_no_privileges.inc
let $engine_type= MyISAM;
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
--source suite/funcs_1/datadict/datadict_load.inc
# We look only for the tables created by datadict_load.inc.
let $my_where = WHERE table_schema LIKE 'test%';
--source suite/funcs_1/datadict/columns.inc
--source suite/funcs_1/include/cleanup.inc