#### suite/funcs_1/datadict/datadict_load.inc
#
# The sub testcases are nearly independend. That is the reason why we donot
# want to abort after the first error.
--disable_abort_on_error
################################################################################
#
# prepare variables for --replace_result
#
################################################################################
--disable_query_log
# ------------------------------------------------------------------------------
# Get the size of ONE known colum and check the size against some values to
# be able to use the correct --replace_result statement. Using this only the
# one pair of'wrong' values is replaced andnot all occurrences of all
# possible pairs of values. See bug #12777for details.
--disable_cursor_protocol
SELECT character_maximum_length INTO @CML
FROM information_schema.columns
WHERE table_schema = 'information_schema' AND table_name = 'columns' AND column_name = 'table_catalog';
--enable_cursor_protocol
let $bug_12777_0512= `SELECT @CML = 512`;
let $bug_12777_1023= `SELECT @CML = 1023`;
let $bug_12777_1024= `SELECT @CML = 1024`;
let $bug_12777_2048= `SELECT @CML = 2048`;
# 4096is the value used in the .results
let $bug_12777_4095= `SELECT @CML = 4095`;
if (0)
{
# enable this for debugging only, but NOTin a pushed version, asthen the
# result changes from OS to OS ...
eval SELECT @CML AS'CML', $bug_12777_0512AS'512', $bug_12777_1023AS'1023', $bug_12777_1024AS'1024', $bug_12777_2048AS'2048', $bug_12777_4095AS'4095';
}
# ------------------------------------------------------------------------------
# prepare a variable to be able to suppress machine dependant diffs
# this can be used in: --replace_result $SERVER_NAME <SERVER_NAME>
# let $SERVER_NAME= `SELECT DISTINCT host FROM mysql.user WHERE host LIKE "%\%"AND host NOTIn("localhost", "127.0.0.1", "%")`;
let $SERVER_NAME= `SELECT DISTINCT host FROM mysql.user WHERE host NOTIn ("localhost", "127.0.0.1", "%")`;
################################################################################
#
# load tables
# -----------
#
# this was part of the 4 files $<engine>_datadict.test, but it has been moved
# here to have only one place where all preparation for the test is done.
#
################################################################################
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.