mariadb/mysql-test
patg@pc248.lfp.kcls.org 1da60b9f45 -Added quote_data and needs_quotes (moved from federated handler.
-New tests and results

logging_ok:
  Logging to logging@openlogging.org accepted
ha_federated.h:
  removed quote_data and type_quote (now in the Field class)
ha_federated.cc:
  moved quote_data and type_quote to field class
field.h:
  new methods quote_data and needs_quotes declared
field.cc:
  new field class methods quote_data and needs_quotes (per Monty's request)
federated.test:
  more tests, joins, index tests
have_federated_db.require:
  new name of federated system var
federated.result:
  new test results for federated handler
have_federated_db.inc:
  changed name of variable in test due to change in vars
sql_analyse.cc:
  over-ridden append_escaped to take (String *, char *, uint) per requirements of 'create_where_from_key' method in federated handler.
mysql_priv.h:
  define over-ridden append_escaped to take arguments from 'create_where_from_key' method in federated handler 
ha_federated.cc:
  implemented "create_where_from_key" to deal properly with two-byte prefix and multi keys. Initial testing shows it works, but I still need to move quoting to field class and also look at changes per Segei's suggestions.
2005-01-20 18:36:40 -08:00
..
include -Added quote_data and needs_quotes (moved from federated handler. 2005-01-20 18:36:40 -08:00
lib mtr_process.pl: 2005-01-03 16:54:08 +01:00
misc
ndb manual merge 2005-01-12 21:51:04 +03:00
r -Added quote_data and needs_quotes (moved from federated handler. 2005-01-20 18:36:40 -08:00
std_data Update results for new varchar handling 2004-12-07 15:47:00 +02:00
suite/jp Many files: 2005-01-07 14:32:05 +02:00
t -Added quote_data and needs_quotes (moved from federated handler. 2005-01-20 18:36:40 -08:00
create-test-result fixed problem spoted by Vladimir V. Kolpakov 2004-08-16 17:09:57 +03:00
fix-result
init_db.sql replaced init_db.sql 2004-11-10 15:03:59 +05:00
install_test_db.sh added 2 masters for ndb tests 2004-09-28 17:04:30 +00:00
Makefile.am mysql-test/Makefile.am 2005-01-04 08:15:33 +01:00
my_create_tables.c corrected mysqltest.dsp 2004-12-14 18:46:55 +05:00
my_manage.c mysql_test_run_new.dsp: 2005-01-04 23:07:29 +01:00
my_manage.h corrected mysqltest.dsp 2004-12-14 18:46:55 +05:00
mysql-test-run.pl mtr_process.pl: 2005-01-03 16:54:08 +01:00
mysql-test-run.sh Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1 2005-01-05 14:11:26 +02:00
mysql_test_run_new.c replace position names and testes 2005-01-05 17:14:29 +05:00
README
README.gcov
resolve-stack

This directory contains a test suite for mysql daemon. To run
the currently existing test cases, simply execute ./mysql-test-run in
this directory. It will fire up the newly built mysqld and test it.

If you want to run the test with a running MySQL server use the --external
option to mysql-test-run.

Note that you do not have to have to do make install, and you could
actually have a co-existing MySQL installation - the tests will not
conflict with it.

All tests must pass. If one or more of them fail on your system, please
read the following manual section of how to report the problem:

http://dev.mysql.com/doc/mysql/en/MySQL_test_suite.html


You can create your own test cases. To create a test case:

 xeamacs t/test_case_name.test

 in the file, put a set of SQL commands that will create some tables,
 load test data, run some queries to manipulate it.

 We would appreciate if the test tables were called t1, t2, t3 ... (to not
 conflict too much with existing tables).

 Your test should begin by dropping the tables you are going to create and
 end by dropping them again.  This will ensure that one can run the test
 over and over again.
 
 If you are using mysqltest commands (like result file names) in your
 test case you should do create the result file as follows:

 mysql-test-run --record test_case_name

 or

 mysqltest --record < t/test_case_name.test

 If you only have a simple test cases consistent of SQL commands and comments
 you can create the test case one of the following ways:

 mysql-test-run --record test_case_name

 mysql test < t/test_case_name.test > r/test_case_name.result

 mysqltest --record --record-file=r/test_case_name.result < t/test_case_name.test

 When this is done, take a look at r/test_case_name.result
 - If the result is wrong, you have found a bug;  In this case you should
   edit the test result to the correct results so that we can verify
   that the bug is corrected in future releases.

To submit your test case, put your .test file and .result file(s) into
a tar.gz archive, add a README that explains the problem, ftp the 
archive to ftp://support.mysql.com/pub/mysql/secret/ and send  a mail
to bugs@lists.mysql.com