diff options
author | unknown <brian@zim.(none)> | 2006-08-13 22:28:41 -0700 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-08-13 22:28:41 -0700 |
commit | 1363c9b215a2e01e6437fdaa16db0fa86e57362f (patch) | |
tree | 15ad7b04e02a710319de19d4c714db8d0e375062 | |
parent | 79072b506fb0cd5feb5677289fa04cb0f485ba0d (diff) | |
download | mariadb-git-1363c9b215a2e01e6437fdaa16db0fa86e57362f.tar.gz |
Fixed warning message breakage.
Fixed install breakage (my own fault)
Edited exampled cnf to remove bdb references.
mysql-test/r/backup.result:
fix warnings
mysql-test/r/im_options.result:
Remove missed bdb skip
mysql-test/r/im_utils.result:
Remove missed bdb-skip
mysql-test/r/log_tables.result:
Fix warnings
mysql-test/r/show_check.result:
Fix warnings
mysql-test/r/sp_trans.result:
Fix warning
mysql-test/r/type_timestamp.result:
Fix warning
mysql-test/r/warnings.result:
Fix warning
mysql-test/t/disabled.def:
Disabled Federation test
mysql-test/t/federated_transactions.test:
Fixed comments in federation test
netware/mysql_install_db.c:
Fix install breakage.
netware/mysql_test_run.c:
Fix install breakage.
scripts/mysql_install_db.sh:
Fix install breakage
storage/myisam/ftbench/ft-test-run.sh:
Fixed test which is never run
support-files/my-innodb-heavy-4G.cnf.sh:
Modified examples
support-files/my-small.cnf.sh:
Modified examples
-rw-r--r-- | mysql-test/r/backup.result | 22 | ||||
-rw-r--r-- | mysql-test/r/im_options.result | 2 | ||||
-rw-r--r-- | mysql-test/r/im_utils.result | 2 | ||||
-rw-r--r-- | mysql-test/r/log_tables.result | 16 | ||||
-rw-r--r-- | mysql-test/r/show_check.result | 2 | ||||
-rw-r--r-- | mysql-test/r/sp_trans.result | 2 | ||||
-rw-r--r-- | mysql-test/r/type_timestamp.result | 14 | ||||
-rw-r--r-- | mysql-test/r/warnings.result | 2 | ||||
-rw-r--r-- | mysql-test/t/disabled.def | 1 | ||||
-rw-r--r-- | mysql-test/t/federated_transactions.test | 3 | ||||
-rw-r--r-- | netware/mysql_install_db.c | 1 | ||||
-rw-r--r-- | netware/mysql_test_run.c | 1 | ||||
-rw-r--r-- | scripts/mysql_install_db.sh | 2 | ||||
-rwxr-xr-x | storage/myisam/ftbench/ft-test-run.sh | 2 | ||||
-rw-r--r-- | support-files/my-innodb-heavy-4G.cnf.sh | 8 | ||||
-rw-r--r-- | support-files/my-small.cnf.sh | 3 |
16 files changed, 33 insertions, 50 deletions
diff --git a/mysql-test/r/backup.result b/mysql-test/r/backup.result index a65808bbdd6..84e404ddc04 100644 --- a/mysql-test/r/backup.result +++ b/mysql-test/r/backup.result @@ -6,26 +6,26 @@ Table Op Msg_type Msg_text test.t4 backup error Failed copying .frm file (errno: X) test.t4 backup status Operation failed Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X) backup table t4 to '../tmp'; Table Op Msg_type Msg_text test.t4 backup status OK Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead backup table t4 to '../tmp'; Table Op Msg_type Msg_text test.t4 backup error Failed copying .frm file (errno: X) test.t4 backup status Operation failed Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X) drop table t4; restore table t4 from '../tmp'; Table Op Msg_type Msg_text test.t4 restore status OK Warnings: -Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead select count(*) from t4; count(*) 0 @@ -35,19 +35,19 @@ backup table t1 to '../tmp'; Table Op Msg_type Msg_text test.t1 backup status OK Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead drop table t1; restore table t1 from '../bogus'; Table Op Msg_type Msg_text t1 restore error Failed copying .frm file Warnings: -Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X) restore table t1 from '../tmp'; Table Op Msg_type Msg_text test.t1 restore status OK Warnings: -Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead select n from t1; n 23 @@ -62,7 +62,7 @@ Table Op Msg_type Msg_text test.t2 backup status OK test.t3 backup status OK Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead drop table t1,t2,t3; restore table t1,t2,t3 from '../tmp'; Table Op Msg_type Msg_text @@ -70,7 +70,7 @@ test.t1 restore status OK test.t2 restore status OK test.t3 restore status OK Warnings: -Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead select n from t1; n 23 @@ -91,7 +91,7 @@ restore table t1 from '../tmp'; Table Op Msg_type Msg_text test.t1 restore status OK Warnings: -Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead rename table t1 to t5; lock tables t5 write; backup table t5 to '../tmp'; @@ -99,5 +99,5 @@ unlock tables; Table Op Msg_type Msg_text test.t5 backup status OK Warnings: -Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead. +Warning 1541 The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead drop table t5; diff --git a/mysql-test/r/im_options.result b/mysql-test/r/im_options.result index cb678581533..f35f226f665 100644 --- a/mysql-test/r/im_options.result +++ b/mysql-test/r/im_options.result @@ -43,7 +43,6 @@ character-sets-dir option_value basedir option_value skip-stack-trace option_value skip-innodb option_value -skip-bdb option_value skip-ndbcluster option_value nonguarded option_value log-output option_value @@ -64,7 +63,6 @@ character-sets-dir option_value basedir option_value skip-stack-trace option_value skip-innodb option_value -skip-bdb option_value skip-ndbcluster option_value nonguarded option_value log-output option_value diff --git a/mysql-test/r/im_utils.result b/mysql-test/r/im_utils.result index df20a7fb5c7..7dbc2040f44 100644 --- a/mysql-test/r/im_utils.result +++ b/mysql-test/r/im_utils.result @@ -19,7 +19,6 @@ basedir VALUE server_id VALUE skip-stack-trace VALUE skip-innodb VALUE -skip-bdb VALUE skip-ndbcluster VALUE log-output VALUE SHOW INSTANCE OPTIONS mysqld2; @@ -38,7 +37,6 @@ basedir VALUE server_id VALUE skip-stack-trace VALUE skip-innodb VALUE -skip-bdb VALUE skip-ndbcluster VALUE nonguarded VALUE log-output VALUE diff --git a/mysql-test/r/log_tables.result b/mysql-test/r/log_tables.result index 8b0a5ea6a20..638c05dd712 100644 --- a/mysql-test/r/log_tables.result +++ b/mysql-test/r/log_tables.result @@ -29,13 +29,13 @@ on (mysql.general_log.command_type = join_test.command_type) drop table join_test; flush logs; lock tables mysql.general_log WRITE; -ERROR HY000: You can't write-lock a log table. Only read access is possible. +ERROR HY000: You can't write-lock a log table. Only read access is possible lock tables mysql.slow_log WRITE; -ERROR HY000: You can't write-lock a log table. Only read access is possible. +ERROR HY000: You can't write-lock a log table. Only read access is possible lock tables mysql.general_log READ; -ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead. +ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead lock tables mysql.slow_log READ; -ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead. +ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead lock tables mysql.slow_log READ LOCAL, mysql.general_log READ LOCAL; unlock tables; lock tables mysql.general_log READ LOCAL; @@ -161,13 +161,13 @@ TIMESTAMP USER_HOST THREAD_ID 1 Query set global slow_query_log='ON' TIMESTAMP USER_HOST THREAD_ID 1 Query select * from mysql.general_log flush logs; lock tables mysql.general_log WRITE; -ERROR HY000: You can't write-lock a log table. Only read access is possible. +ERROR HY000: You can't write-lock a log table. Only read access is possible lock tables mysql.slow_log WRITE; -ERROR HY000: You can't write-lock a log table. Only read access is possible. +ERROR HY000: You can't write-lock a log table. Only read access is possible lock tables mysql.general_log READ; -ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead. +ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead lock tables mysql.slow_log READ; -ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead. +ERROR HY000: You can't use usual read lock with log tables. Try READ LOCAL instead lock tables mysql.slow_log READ LOCAL, mysql.general_log READ LOCAL; unlock tables; set global general_log='OFF'; diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result index f5b3fc99baf..15cd4f43b4f 100644 --- a/mysql-test/r/show_check.result +++ b/mysql-test/r/show_check.result @@ -688,7 +688,7 @@ drop database mysqltest; show full plugin; show warnings; Level Code Message -Warning 1541 The syntax 'SHOW PLUGIN' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW PLUGINS' instead. +Warning 1541 The syntax 'SHOW PLUGIN' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW PLUGINS' instead show plugin; show plugins; End of 5.1 tests diff --git a/mysql-test/r/sp_trans.result b/mysql-test/r/sp_trans.result index a5012673c12..bf4c478677b 100644 --- a/mysql-test/r/sp_trans.result +++ b/mysql-test/r/sp_trans.result @@ -535,7 +535,7 @@ use db_bug7787| CREATE PROCEDURE p1() SHOW INNODB STATUS; | Warnings: -Warning 1541 The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW ENGINE INNODB STATUS' instead. +Warning 1541 The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW ENGINE INNODB STATUS' instead GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost| DROP DATABASE db_bug7787| drop user user_bug7787@localhost| diff --git a/mysql-test/r/type_timestamp.result b/mysql-test/r/type_timestamp.result index b1c55c517ac..be31b5272d8 100644 --- a/mysql-test/r/type_timestamp.result +++ b/mysql-test/r/type_timestamp.result @@ -101,13 +101,13 @@ create table t1 (t2 timestamp(2), t4 timestamp(4), t6 timestamp(6), t8 timestamp(8), t10 timestamp(10), t12 timestamp(12), t14 timestamp(14)); Warnings: -Warning 1541 The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. -Warning 1541 The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead. +Warning 1541 The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead +Warning 1541 The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead insert t1 values (0,0,0,0,0,0,0), ("1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59", diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result index 317b4c6bccb..26b3c1625aa 100644 --- a/mysql-test/r/warnings.result +++ b/mysql-test/r/warnings.result @@ -175,7 +175,7 @@ Warning 1266 Using storage engine MyISAM for table 't1' drop table t1; set table_type=MYISAM; Warnings: -Warning 1541 The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead. +Warning 1541 The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead create table t1 (a int); insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10); update t1 set a='abc'; diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index cf387f7acee..359092b43b3 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -44,3 +44,4 @@ rpl_row_basic_7ndb : BUG#21298 2006-07-27 msvensson rpl_truncate_7ndb : BUG#21298 2006-07-27 msvensson crash_commit_before : 2006-08-02 msvensson rpl_ndb_dd_advance : BUG#18679 2006-07-28 jimw (Test fails randomly) +federated_transactions : Need to be re-enabled once Patrick's merge is complete diff --git a/mysql-test/t/federated_transactions.test b/mysql-test/t/federated_transactions.test index 5095c8ce9c3..0e7a1da9920 100644 --- a/mysql-test/t/federated_transactions.test +++ b/mysql-test/t/federated_transactions.test @@ -1,6 +1,5 @@ # should work with embedded server after mysqltest is fixed -- source include/not_embedded.inc -source include/have_bdb.inc; source include/federated.inc; connection slave; @@ -10,7 +9,7 @@ CREATE TABLE federated.t1 ( `id` int(20) NOT NULL, `name` varchar(32) NOT NULL default '' ) - DEFAULT CHARSET=latin1 ENGINE=BerkeleyDB; + DEFAULT CHARSET=latin1 ENGINE=innodb; connection master; DROP TABLE IF EXISTS federated.t1; diff --git a/netware/mysql_install_db.c b/netware/mysql_install_db.c index 65ee7873e5c..07e02c35ff3 100644 --- a/netware/mysql_install_db.c +++ b/netware/mysql_install_db.c @@ -361,7 +361,6 @@ int mysql_install_db(int argc, char *argv[]) add_arg(&al, "--bootstrap"); add_arg(&al, "--skip-grant-tables"); add_arg(&al, "--skip-innodb"); - add_arg(&al, "--skip-bdb"); // spawn mysqld err = spawn(mysqld, &al, TRUE, sql_file, out_log, err_log); diff --git a/netware/mysql_test_run.c b/netware/mysql_test_run.c index 9b02f897a60..774aa61bea4 100644 --- a/netware/mysql_test_run.c +++ b/netware/mysql_test_run.c @@ -210,7 +210,6 @@ void install_db(char *datadir) add_arg(&al, "--basedir=%s", base_dir); add_arg(&al, "--datadir=%s", datadir); add_arg(&al, "--skip-innodb"); - add_arg(&al, "--skip-bdb"); // spawn if ((err = spawn(mysqld_file, &al, TRUE, input, output, error)) != 0) diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh index 865ab3e6db4..10bf913b3a4 100644 --- a/scripts/mysql_install_db.sh +++ b/scripts/mysql_install_db.sh @@ -213,7 +213,7 @@ then fi mysqld_install_cmd_line="$mysqld $defaults $mysqld_opt --bootstrap \ --skip-grant-tables --basedir=$basedir --datadir=$ldata --skip-innodb \ ---skip-bdb --skip-ndbcluster $args --max_allowed_packet=8M --net_buffer_length=16K" +--skip-ndbcluster $args --max_allowed_packet=8M --net_buffer_length=16K" if $scriptdir/mysql_create_system_tables $create_option $mdata $hostname $windows \ | eval "$mysqld_install_cmd_line" then diff --git a/storage/myisam/ftbench/ft-test-run.sh b/storage/myisam/ftbench/ft-test-run.sh index ceba818fa5c..0908e55b400 100755 --- a/storage/myisam/ftbench/ft-test-run.sh +++ b/storage/myisam/ftbench/ft-test-run.sh @@ -65,7 +65,7 @@ for batch in t/* ; do done echo "=====================================" >> var/ft_test.log - $MYSQLD $OPTS --basedir=$BASE --skip-bdb --pid-file=$PID \ + $MYSQLD $OPTS --basedir=$BASE --pid-file=$PID \ --language=$ROOT/sql/share/english \ --skip-grant-tables --skip-innodb \ --skip-networking --tmpdir=$DATA >> var/ft_test.log 2>&1 & diff --git a/support-files/my-innodb-heavy-4G.cnf.sh b/support-files/my-innodb-heavy-4G.cnf.sh index 77c6cea56d5..cc11ebfe63f 100644 --- a/support-files/my-innodb-heavy-4G.cnf.sh +++ b/support-files/my-innodb-heavy-4G.cnf.sh @@ -357,14 +357,6 @@ myisam_repair_threads = 1 myisam_recover -# *** BDB Specific options *** - -# Use this option if you run a MySQL server with BDB support enabled but -# you do not plan to use it. This will save memory and may speed up some -# things. -skip-bdb - - # *** INNODB Specific options *** # Use this option if you have a MySQL server with InnoDB support enabled diff --git a/support-files/my-small.cnf.sh b/support-files/my-small.cnf.sh index 288df893b4c..cfaca64c293 100644 --- a/support-files/my-small.cnf.sh +++ b/support-files/my-small.cnf.sh @@ -48,9 +48,6 @@ server-id = 1 # Uncomment the following if you want to log updates #log-bin=mysql-bin -# Uncomment the following if you are NOT using BDB tables -#skip-bdb - # Uncomment the following if you are using InnoDB tables #innodb_data_home_dir = @localstatedir@/ #innodb_data_file_path = ibdata1:10M:autoextend |