Commit f6aa788f authored by hhunger@hh-nb.hungers's avatar hhunger@hh-nb.hungers

Merge hh-nb.hungers:/work/trees/mysql-5.1-build-src-clean

into  hh-nb.hungers:/work/merge/mysql-5.1-build
parents 63b0997f 679b9079
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
--Error 0,ER_UNKNOWN_CHARACTER_SET
eval SET $charset_variable = big5; eval SET $charset_variable = big5;
eval SELECT $charset_variable; eval SELECT $charset_variable;
eval SET $charset_variable = dec8; eval SET $charset_variable = dec8;
......
# #
# This auxiliary file is used by collation variables # This auxiliary file is used by collation variables
# #
--Error 0,ER_UNKNOWN_CHARACTER_SET
eval SET $collation_variable = big5_chinese_ci; eval SET $collation_variable = big5_chinese_ci;
eval SELECT $collation_variable; eval SELECT $collation_variable;
eval SET $collation_variable = big5_bin; eval SET $collation_variable = big5_bin;
......
...@@ -63,4 +63,5 @@ Key_write_requests 9 ...@@ -63,4 +63,5 @@ Key_write_requests 9
select count(*) from t1; select count(*) from t1;
count(*) count(*)
9 9
DROP PROCEDURE sp_addRecords;
DROP TABLE t1; DROP TABLE t1;
...@@ -105,3 +105,4 @@ id title body ...@@ -105,3 +105,4 @@ id title body
9 Database Security Configuring MySQL for ... 9 Database Security Configuring MySQL for ...
'Bug#35361: Different syntax does not produce result as default operators' 'Bug#35361: Different syntax does not produce result as default operators'
SET @@global.ft_boolean_syntax=DEFAULT; SET @@global.ft_boolean_syntax=DEFAULT;
DROP TABLE articles;
...@@ -18,7 +18,7 @@ SET @@global.local_infile = 1; ...@@ -18,7 +18,7 @@ SET @@global.local_infile = 1;
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
create table t1(a int); create table t1(a int);
LOAD DATA LOCAL INFILE LOAD DATA LOCAL INFILE
'var/std_data_ln/numbers.txt' INTO TABLE test.t1; 'MYSQLTEST_VARDIR/std_data_ln/numbers.txt' INTO TABLE test.t1;
SELECT count(*) from t1; SELECT count(*) from t1;
count(*) count(*)
9 9
...@@ -27,7 +27,7 @@ SET @@global.local_infile = 0; ...@@ -27,7 +27,7 @@ SET @@global.local_infile = 0;
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
create table t1(a int); create table t1(a int);
LOAD DATA LOCAL INFILE LOAD DATA LOCAL INFILE
'var/std_data_ln/numbers.txt' INTO TABLE test.t1; 'MYSQLTEST_VARDIR/std_data_ln/numbers.txt' INTO TABLE test.t1;
ERROR 42000: The used command is not allowed with this MySQL version ERROR 42000: The used command is not allowed with this MySQL version
SELECT count(*) from t1; SELECT count(*) from t1;
count(*) count(*)
......
1048576
drop table if exists t1; drop table if exists t1;
## Creating new table t1 ## ## Creating new table t1 ##
CREATE TABLE t1 CREATE TABLE t1
...@@ -40,5 +41,6 @@ SELECT @@global.net_buffer_length; ...@@ -40,5 +41,6 @@ SELECT @@global.net_buffer_length;
## Creating new connection test_con1 ## ## Creating new connection test_con1 ##
## Inserting and fetching data of length greater than 1024 ## ## Inserting and fetching data of length greater than 1024 ##
INSERT into t1(name) values("aaassssssssddddddddffffffgggggggg, askdlfjalsdkjfalksdjflaksdjfalkjdflaksjdflakjdflajsflajflajdfalsjfdlajfladjslfajdflajdsflajsflakjsdfla;kjflsdjkf;aljfa;lkdsfjla;sjlkajffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllakjsdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa;;;;;;;;;;;;;;;;;;;;;;;;;;;dsklfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkljffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk"); INSERT into t1(name) values("aaassssssssddddddddffffffgggggggg, askdlfjalsdkjfalksdjflaksdjfalkjdflaksjdflakjdflajsflajflajdfalsjfdlajfladjslfajdflajdsflajsflakjsdfla;kjflsdjkf;aljfa;lkdsfjla;sjlkajffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllakjsdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa;;;;;;;;;;;;;;;;;;;;;;;;;;;dsklfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkljffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk");
SET @@global.max_allowed_packet = 1048576;
## Server disconnects after this case and error occurs that Server ## ## Server disconnects after this case and error occurs that Server ##
## has gone away ## ## has gone away ##
...@@ -114,6 +114,7 @@ SET @@character_set_client = utf8 + latin2; ...@@ -114,6 +114,7 @@ SET @@character_set_client = utf8 + latin2;
############################################################################## ##############################################################################
# Change the value of character_set_client to a valid value for session # # Change the value of character_set_client to a valid value for session #
############################################################################## ##############################################################################
--Error 0,ER_UNKNOWN_CHARACTER_SET
SET @@character_set_client = big5; SET @@character_set_client = big5;
SELECT @@character_set_client; SELECT @@character_set_client;
SET @@character_set_client = dec8; SET @@character_set_client = dec8;
......
...@@ -141,6 +141,7 @@ SHOW STATUS LIKE 'Key_writes'; ...@@ -141,6 +141,7 @@ SHOW STATUS LIKE 'Key_writes';
SHOW STATUS LIKE 'Key_write_requests'; SHOW STATUS LIKE 'Key_write_requests';
select count(*) from t1; select count(*) from t1;
DROP PROCEDURE sp_addRecords;
DROP TABLE t1; DROP TABLE t1;
#################################################### ####################################################
......
...@@ -122,4 +122,5 @@ SET @@global.ft_boolean_syntax=DEFAULT; ...@@ -122,4 +122,5 @@ SET @@global.ft_boolean_syntax=DEFAULT;
######################################################### #########################################################
# End of functionality Testing for ft_boolean_syntax # # End of functionality Testing for ft_boolean_syntax #
######################################################### #########################################################
DROP TABLE articles;
...@@ -62,9 +62,9 @@ DROP TABLE IF EXISTS t1; ...@@ -62,9 +62,9 @@ DROP TABLE IF EXISTS t1;
create table t1(a int); create table t1(a int);
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
eval LOAD DATA LOCAL INFILE eval LOAD DATA LOCAL INFILE
'var/std_data_ln/numbers.txt' INTO TABLE test.t1; '$MYSQLTEST_VARDIR/std_data_ln/numbers.txt' INTO TABLE test.t1;
SELECT count(*) from t1; SELECT count(*) from t1;
...@@ -78,10 +78,10 @@ DROP TABLE IF EXISTS t1; ...@@ -78,10 +78,10 @@ DROP TABLE IF EXISTS t1;
--enable_warnings --enable_warnings
create table t1(a int); create table t1(a int);
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--Error ER_NOT_ALLOWED_COMMAND --Error ER_NOT_ALLOWED_COMMAND
eval LOAD DATA LOCAL INFILE eval LOAD DATA LOCAL INFILE
'var/std_data_ln/numbers.txt' INTO TABLE test.t1; '$MYSQLTEST_VARDIR/std_data_ln/numbers.txt' INTO TABLE test.t1;
SELECT count(*) from t1; SELECT count(*) from t1;
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
############################################################################### ###############################################################################
let $start_global_value = `SELECT @@global.max_allowed_packet`;
--echo $start_global_value
--disable_warnings --disable_warnings
drop table if exists t1; drop table if exists t1;
...@@ -80,5 +82,9 @@ connection test_con1; ...@@ -80,5 +82,9 @@ connection test_con1;
--Error 0,ER_NET_PACKET_TOO_LARGE --Error 0,ER_NET_PACKET_TOO_LARGE
INSERT into t1(name) values("aaassssssssddddddddffffffgggggggg, askdlfjalsdkjfalksdjflaksdjfalkjdflaksjdflakjdflajsflajflajdfalsjfdlajfladjslfajdflajdsflajsflakjsdfla;kjflsdjkf;aljfa;lkdsfjla;sjlkajffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllakjsdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa;;;;;;;;;;;;;;;;;;;;;;;;;;;dsklfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkljffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk"); INSERT into t1(name) values("aaassssssssddddddddffffffgggggggg, askdlfjalsdkjfalksdjflaksdjfalkjdflaksjdflakjdflajsflajflajdfalsjfdlajfladjslfajdflajdsflajsflakjsdfla;kjflsdjkf;aljfa;lkdsfjla;sjlkajffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllakjsdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa;;;;;;;;;;;;;;;;;;;;;;;;;;;dsklfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkljffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk");
eval SET @@global.max_allowed_packet = $start_global_value;
--echo ## Server disconnects after this case and error occurs that Server ## --echo ## Server disconnects after this case and error occurs that Server ##
--echo ## has gone away ## --echo ## has gone away ##
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment