Loading .bzrignore +54 −0 Original line number Diff line number Diff line Loading @@ -948,3 +948,57 @@ client/mysqladmin.c mysql-4.1.8-win-src.zip ndb/include/ndb_version.h ndb/include/ndb_global.h mysql-test/mysql-test-run.log mysql-test/r/alter_table.err mysql-test/r/archive.err mysql-test/r/bdb-alter-table-1.err mysql-test/r/bdb-alter-table-2.err mysql-test/r/bdb-crash.err mysql-test/r/bdb-deadlock.err mysql-test/r/bdb.err mysql-test/r/bdb_cache.err mysql-test/r/client_test.err mysql-test/r/csv.err mysql-test/r/ctype_ucs.err mysql-test/r/derived.err mysql-test/r/exampledb.err mysql-test/r/func_encrypt.err mysql-test/r/isam.err mysql-test/r/lowercase_table2.err mysql-test/r/multi_update.err mysql-test/r/mysql_protocols.err mysql-test/r/mysqlbinlog.err mysql-test/r/mysqlbinlog2.err mysql-test/r/mysqldump.err mysql-test/r/mysqltest.err mysql-test/r/ndb_alter_table.err mysql-test/r/ndb_autodiscover.err mysql-test/r/ndb_autodiscover2.err mysql-test/r/ndb_basic.err mysql-test/r/ndb_blob.err mysql-test/r/ndb_cache.err mysql-test/r/ndb_charset.err mysql-test/r/ndb_index.err mysql-test/r/ndb_index_ordered.err mysql-test/r/ndb_index_unique.err mysql-test/r/ndb_insert.err mysql-test/r/ndb_limit.err mysql-test/r/ndb_lock.err mysql-test/r/ndb_minmax.err mysql-test/r/ndb_replace.err mysql-test/r/ndb_subquery.err mysql-test/r/ndb_transaction.err mysql-test/r/ndb_truncate.err mysql-test/r/ndb_types.err mysql-test/r/ndb_update.err mysql-test/r/openssl_1.err mysql-test/r/ps_1general.err mysql-test/r/ps_6bdb.err mysql-test/r/ps_7ndb.err mysql-test/r/query_cache.err mysql-test/r/query_cache_merge.err mysql-test/r/raid.err mysql-test/r/repair.err mysql-test/r/replace.err mysql-test/r/rpl000001.err mysql-test/r/rpl000015.err mysql-test/mysql_test_run_new.c +18 −19 Original line number Diff line number Diff line Loading @@ -89,15 +89,15 @@ static char master_socket[FN_REFLEN]= "./var/tmp/master.sock"; static char slave_socket[FN_REFLEN]= "./var/tmp/slave.sock"; #endif #define MAX_COUNT_TESTES 1024 /* comma delimited list of tests to skip or empty string */ #ifndef __WIN__ static char skip_test[FN_REFLEN]= " lowercase_table3 , system_mysql_db_fix "; #define _stricmp strcasecmp #else /* The most ignore testes contain the calls of system command */ #define MAX_COUNT_TESTES 1024 /* lowercase_table3 is disabled by Gerg system_mysql_db_fix is disabled by Gerg sp contains a command system Loading Loading @@ -1437,12 +1437,11 @@ void setup(char *file __attribute__((unused))) /* Compare names of testes for right order */ #ifdef __WIN__ int compare( const void *arg1, const void *arg2 ) { return _stricmp( * ( char** ) arg1, * ( char** ) arg2 ); } #endif /****************************************************************************** Loading @@ -1454,6 +1453,10 @@ int compare( const void *arg1, const void *arg2 ) int main(int argc, char **argv) { int is_ignore_list= 0; char **names= 0; char **testes= 0; int name_index; int index; /* setup */ setup(argv[0]); Loading Loading @@ -1517,6 +1520,9 @@ int main(int argc, char **argv) else { /* run all tests */ names= malloc(MAX_COUNT_TESTES*4); testes= names; name_index= 0; #ifndef __WIN__ struct dirent *entry; DIR *parent; Loading @@ -1536,8 +1542,11 @@ int main(int argc, char **argv) { /* null terminate at the suffix */ *(test + position - 1)= '\0'; /* run test */ run_test(test); /* insert test */ *names= malloc(FN_REFLEN); strcpy(*names,test); names++; name_index++; } } closedir(parent); Loading @@ -1549,10 +1558,6 @@ int main(int argc, char **argv) char mask[FN_REFLEN]; char *p; int position; char **names= 0; char **testes= 0; int name_index; int index; /* single test */ single_test= FALSE; Loading @@ -1564,9 +1569,6 @@ int main(int argc, char **argv) die("Unable to open tests directory."); } names= malloc(MAX_COUNT_TESTES*4); testes= names; name_index= 0; do { Loading @@ -1577,10 +1579,8 @@ int main(int argc, char **argv) /* find the test suffix */ if ((position= strinstr(test, TEST_SUFFIX)) != 0) { p= test + position - 1; /* null terminate at the suffix */ *p= 0; *(test + position - 1)= '\0'; /* insert test */ *names= malloc(FN_REFLEN); strcpy(*names,test); Loading @@ -1591,7 +1591,7 @@ int main(int argc, char **argv) }while (_findnext(handle,&dir) == 0); _findclose(handle); #endif qsort( (void *)testes, name_index, sizeof( char * ), compare ); for (index= 0; index <= name_index; index++) Loading @@ -1601,7 +1601,6 @@ int main(int argc, char **argv) } free(testes); #endif } /* stop server */ Loading Loading
.bzrignore +54 −0 Original line number Diff line number Diff line Loading @@ -948,3 +948,57 @@ client/mysqladmin.c mysql-4.1.8-win-src.zip ndb/include/ndb_version.h ndb/include/ndb_global.h mysql-test/mysql-test-run.log mysql-test/r/alter_table.err mysql-test/r/archive.err mysql-test/r/bdb-alter-table-1.err mysql-test/r/bdb-alter-table-2.err mysql-test/r/bdb-crash.err mysql-test/r/bdb-deadlock.err mysql-test/r/bdb.err mysql-test/r/bdb_cache.err mysql-test/r/client_test.err mysql-test/r/csv.err mysql-test/r/ctype_ucs.err mysql-test/r/derived.err mysql-test/r/exampledb.err mysql-test/r/func_encrypt.err mysql-test/r/isam.err mysql-test/r/lowercase_table2.err mysql-test/r/multi_update.err mysql-test/r/mysql_protocols.err mysql-test/r/mysqlbinlog.err mysql-test/r/mysqlbinlog2.err mysql-test/r/mysqldump.err mysql-test/r/mysqltest.err mysql-test/r/ndb_alter_table.err mysql-test/r/ndb_autodiscover.err mysql-test/r/ndb_autodiscover2.err mysql-test/r/ndb_basic.err mysql-test/r/ndb_blob.err mysql-test/r/ndb_cache.err mysql-test/r/ndb_charset.err mysql-test/r/ndb_index.err mysql-test/r/ndb_index_ordered.err mysql-test/r/ndb_index_unique.err mysql-test/r/ndb_insert.err mysql-test/r/ndb_limit.err mysql-test/r/ndb_lock.err mysql-test/r/ndb_minmax.err mysql-test/r/ndb_replace.err mysql-test/r/ndb_subquery.err mysql-test/r/ndb_transaction.err mysql-test/r/ndb_truncate.err mysql-test/r/ndb_types.err mysql-test/r/ndb_update.err mysql-test/r/openssl_1.err mysql-test/r/ps_1general.err mysql-test/r/ps_6bdb.err mysql-test/r/ps_7ndb.err mysql-test/r/query_cache.err mysql-test/r/query_cache_merge.err mysql-test/r/raid.err mysql-test/r/repair.err mysql-test/r/replace.err mysql-test/r/rpl000001.err mysql-test/r/rpl000015.err
mysql-test/mysql_test_run_new.c +18 −19 Original line number Diff line number Diff line Loading @@ -89,15 +89,15 @@ static char master_socket[FN_REFLEN]= "./var/tmp/master.sock"; static char slave_socket[FN_REFLEN]= "./var/tmp/slave.sock"; #endif #define MAX_COUNT_TESTES 1024 /* comma delimited list of tests to skip or empty string */ #ifndef __WIN__ static char skip_test[FN_REFLEN]= " lowercase_table3 , system_mysql_db_fix "; #define _stricmp strcasecmp #else /* The most ignore testes contain the calls of system command */ #define MAX_COUNT_TESTES 1024 /* lowercase_table3 is disabled by Gerg system_mysql_db_fix is disabled by Gerg sp contains a command system Loading Loading @@ -1437,12 +1437,11 @@ void setup(char *file __attribute__((unused))) /* Compare names of testes for right order */ #ifdef __WIN__ int compare( const void *arg1, const void *arg2 ) { return _stricmp( * ( char** ) arg1, * ( char** ) arg2 ); } #endif /****************************************************************************** Loading @@ -1454,6 +1453,10 @@ int compare( const void *arg1, const void *arg2 ) int main(int argc, char **argv) { int is_ignore_list= 0; char **names= 0; char **testes= 0; int name_index; int index; /* setup */ setup(argv[0]); Loading Loading @@ -1517,6 +1520,9 @@ int main(int argc, char **argv) else { /* run all tests */ names= malloc(MAX_COUNT_TESTES*4); testes= names; name_index= 0; #ifndef __WIN__ struct dirent *entry; DIR *parent; Loading @@ -1536,8 +1542,11 @@ int main(int argc, char **argv) { /* null terminate at the suffix */ *(test + position - 1)= '\0'; /* run test */ run_test(test); /* insert test */ *names= malloc(FN_REFLEN); strcpy(*names,test); names++; name_index++; } } closedir(parent); Loading @@ -1549,10 +1558,6 @@ int main(int argc, char **argv) char mask[FN_REFLEN]; char *p; int position; char **names= 0; char **testes= 0; int name_index; int index; /* single test */ single_test= FALSE; Loading @@ -1564,9 +1569,6 @@ int main(int argc, char **argv) die("Unable to open tests directory."); } names= malloc(MAX_COUNT_TESTES*4); testes= names; name_index= 0; do { Loading @@ -1577,10 +1579,8 @@ int main(int argc, char **argv) /* find the test suffix */ if ((position= strinstr(test, TEST_SUFFIX)) != 0) { p= test + position - 1; /* null terminate at the suffix */ *p= 0; *(test + position - 1)= '\0'; /* insert test */ *names= malloc(FN_REFLEN); strcpy(*names,test); Loading @@ -1591,7 +1591,7 @@ int main(int argc, char **argv) }while (_findnext(handle,&dir) == 0); _findclose(handle); #endif qsort( (void *)testes, name_index, sizeof( char * ), compare ); for (index= 0; index <= name_index; index++) Loading @@ -1601,7 +1601,6 @@ int main(int argc, char **argv) } free(testes); #endif } /* stop server */ Loading