mariadb/mysql-test/suite/funcs_1
unknown f32d1e9b49 Updated funcs_1 files to 5.1.18 level
- validating current result files
 - updating with new features in information_schema / error messages
 - forced order by and removed time stamps
removed a_version files that are not needed (now that the suite is in the main tree
Note: datadict tests still fail as a result of bug 28181 (a regression introduced in 
      5.0.42 - and 5.1.18(?) - tests should runn clean once it is fixed


BitKeeper/deleted/.del-a_version_check.test~82ea7fb267df9e58:
  Delete: mysql-test/suite/funcs_1/t/a_version_check.test
BitKeeper/deleted/.del-a_version_check.result~97a8ec1e3211c26:
  Delete: mysql-test/suite/funcs_1/r/a_version_check.result
mysql-test/suite/funcs_1/datadict/datadict_load.inc:
  Modified to correct failiure to return host name on some systems
mysql-test/suite/funcs_1/datadict/datadict_master.inc:
  corrections to fooce order by on queries, replace time stamps with strings and enable the
  testing of referential_constraints table
mysql-test/suite/funcs_1/datadict/datadict_show_schema.inc:
  corrections to force order by on queries
mysql-test/suite/funcs_1/r/innodb__datadict.result:
  Updated result file with order by selects, elimination of time stamps and selects
  of empty user (that we don't have anymore) and adding the testing 
  of referential_constraints table
mysql-test/suite/funcs_1/r/innodb_func_view.result:
  confirming existing results as correct - old result file had wrong cast values
mysql-test/suite/funcs_1/r/innodb_trig_0102.result:
  Corrected error with long trigger name (that was previously quietly trimmed)
mysql-test/suite/funcs_1/r/innodb_trig_08.result:
  confirmed existing results as corrects ones - updated error message
mysql-test/suite/funcs_1/r/innodb_views.result:
  confirmed current results as correct - returned results included a wrong 'expected' error message
mysql-test/suite/funcs_1/r/memory__datadict.result:
  Updated result file with order by selects, elimination of time stamps and selects
  of empty user (that we don't have anymore) and adding the testing 
  of referential_constraints table
mysql-test/suite/funcs_1/r/memory_func_view.result:
  confirming existing results as correct - old result file had wrong cast values
mysql-test/suite/funcs_1/r/memory_trig_0102.result:
  Corrected error with long trigger name (that was previously quietly trimmed)
mysql-test/suite/funcs_1/r/memory_trig_08.result:
  confirmed existing results as corrects ones - updated error message
mysql-test/suite/funcs_1/r/memory_views.result:
  confirmed current results as correct - returned results included a wrong 'expected' error message
mysql-test/suite/funcs_1/r/myisam__datadict.result:
  Updated result file with order by selects, elimination of time stamps and selects
  of empty user (that we don't have anymore) and adding the testing 
  of referential_constraints table
mysql-test/suite/funcs_1/r/myisam_func_view.result:
  confirming existing results as correct - old result file had wrong cast values
mysql-test/suite/funcs_1/r/myisam_trig_0102.result:
  Corrected error with long trigger name (that was previously quietly trimmed)
mysql-test/suite/funcs_1/r/myisam_trig_08.result:
  confirmed existing results as corrects ones - updated error message
mysql-test/suite/funcs_1/r/myisam_views.result:
  confirmed current results as correct - returned results included a wrong 'expected' error message
mysql-test/suite/funcs_1/r/ndb__datadict.result:
  Updated result file with order by selects, elimination of time stamps and selects
  of empty user (that we don't have anymore) and adding the testing 
  of referential_constraints table
mysql-test/suite/funcs_1/r/ndb_func_view.result:
  confirming existing results as correct - old result file had wrong cast values
mysql-test/suite/funcs_1/r/ndb_trig_0102.result:
  Corrected error with long trigger name (that was previously quietly trimmed)
mysql-test/suite/funcs_1/r/ndb_trig_08.result:
  confirmed existing results as corrects ones - updated error message
mysql-test/suite/funcs_1/r/ndb_views.result:
  confirmed current results as correct - returned results included a wrong 'expected' error message
mysql-test/suite/funcs_1/t/disabled.def:
  Updated disabled messages with clearer ones
mysql-test/suite/funcs_1/triggers/triggers_0102.inc:
  Added code to test for error in case of a trigger name that is to long
mysql-test/suite/funcs_1/views/views_master.inc:
  Correction to remove wrong '--eror' meaningless tag that generated warnings
2007-05-02 17:30:23 -07:00
..
bitdata
cursors
data
datadict Updated funcs_1 files to 5.1.18 level 2007-05-02 17:30:23 -07:00
include
lib
r Updated funcs_1 files to 5.1.18 level 2007-05-02 17:30:23 -07:00
storedproc
t Updated funcs_1 files to 5.1.18 level 2007-05-02 17:30:23 -07:00
triggers Updated funcs_1 files to 5.1.18 level 2007-05-02 17:30:23 -07:00
views Updated funcs_1 files to 5.1.18 level 2007-05-02 17:30:23 -07:00
README.txt

Matthias 17.06.2005
-------------------
1. I changed the database test1 (dropped + created in SP test)
   to test4.
   Please adjust the SP test cases.
2. There is a difference between my definition of
       innodb_tb4 + memory_tb4
   to the latest table definition used by disha.
   Please adjust the table definition if needed.
3. The data load files are product of the Disha data generation script
   (downloaded ~20 May ?) + modified by Omer
   These load data fit fairly to the table definitions.

4. How to execute the "small" test with 10 rows per table.
   Do NOT set the environment variable NO_REFRESH to a
   value <> ''.
   Start the test for example by
   ./mysql-test-run.pl --vardir=/dev/shm/var \
              --force --suite=funcs_1 --do-test=myisam
   The "result" files fit mostly to this variant.

   Any database not in ('mysql','test') and any tables
   needed within a testcase ( t/<storage engine>_<test filed>.test )
   will be (re)created at the beginning of the test.

5. How to execute the "big" test with many rows per table.
   Replace the directories
     suite/funcs_1/data   and
     suite/funcs_1/r
   with the appropriate ones for the "big" test.
   Set the environment variable NO_REFRESH to a value <> ''.
   Start the test for example by
   ./mysql-test-run.pl --vardir=/dev/shm/var \
              --force --suite=funcs_1 --do-test=myisam

   All databases and tables will be (re)created by the script
   <storage engine>__load.test  .

6. I am not sure of the files
   ./funcs_1/include/create_<whatever>.inc
   are in the moment needed. I included them, because I
   guess my VIEW testcase example needs them.

I guess the pushed files are far away from being perfect.
It is a 8 hours hack.
Please try them, create missing files and come up with improvements.

Good luck !

Matthias 17.06.2005
===================================================================
Omer 19.06.2005
---------------
1. Changed the structure of the memory_tb3 table to include two
   additional column f121, f122. These columns exist for the table in
   the other storage engines as TEXT. Since memory does not support
   TEXT, Disha did not include them. How ever I am using them in the
   Trigger tests so added them to the memory definition as CHAR(50);.
   Also modifyed the DataGen_modiy.pl file to account for these two
   column when generating the data.
   - checked in a new DataGen_modify.pl (create a 'lib' directory
     under 'funcs_1').
   - checked in a new memory_tb3.txt
2. Added three <storage>_triggers.test files based on Matthias's
   structure above.
3. Added three <storage>__triggers.result files
4. Added the Trigger_master.test file in the trigger dierctory
   Note: This is not complete and is still under work
5. Created a 'lib' directory and added the DataGen*.pl scripts to it
   (exists under the disha suite) but should be here as well).
Omer 19.06.2005
===================================================================
Matthias 12.09.2005
-------------------
   Replace the geometry data types by VARBINARY
   The removal of the geometry data types was necessary, because the
   execution of the funcs_1 testsuite should not depend on the
   availability of the geometry feature.
   Note: There are servers compiled without the geometry feature.

   The columns are not removed, but their data type was changed
   VARBINARY. This allows us to omit any changes within the loader
   input files or data generation scripts.
   The replacement of geometry by VARCHAR allows us to use our

Matthias 12.09.2005
===================================================================
Matthias 14.09.2005
-------------------
   The results of the <storage_engine>_views testcases suffer when
   executed in "--ps-protocol" mode from the open
   Bug#11589: mysqltest, --ps-protocol, strange output,
              float/double/real with zerofill  .
   Implementation of a workaround:
     At the beginning of views_master.inc is a variable $have_bug_11589 .
     If this varable is set to 1, the ps-protocol will be switched
     of for the critical statements.
Matthias 14.09.2005
===================================================================
Carsten 16.09.2005
------------------
1. The results of the datadict_<engine> testcases have been changed in nearly 
   all occurrencies of --error <n> because now for the INFORMATION_SCHEMA only 
   the --error 1044 (ERROR 42000: Access denied for user '..' to database 
   'information_schema') seems to be used.
2. To get identical results when using "--ps-protocol" some SELECTs FROM 
   information_schema has been wrapped to suppress using ps-protocol because 
   there are differences.
3. The test using SELECT .. OUTFILE has been disabled due to bug #13202.
4. Fixed datadict_<engine>.result files after the change that added 2 columns to 
   the VIEWS table (DEFINER varchar(77), SECURITY_TYPE varchar(7)).
===================================================================