Commit c4ac0998 authored by mleich@five.local.lan's avatar mleich@five.local.lan

Merge five.local.lan:/work/merge/mysql-5.0-funcs_1

into  five.local.lan:/work/trees/mysql-5.0-build-src-clean
parents 878b3336 d7e6ba47
#### suite/funcs_1/cursors/cursors_master.test #### suite/funcs_1/cursors/cursors_master.test
let $message= NOT YET IMPLEMENTED: cursor tests; let $message= NOT YET IMPLEMENTED: cursor tests;
--source include/show_msg80.inc --source include/show_msg80.inc
...@@ -67,56 +67,40 @@ let $engine_myisam= `SELECT @ENGINE_MYISAM = 1`; ...@@ -67,56 +67,40 @@ let $engine_myisam= `SELECT @ENGINE_MYISAM = 1`;
let $engine_innodb= `SELECT @ENGINE_INNODB = 1`; let $engine_innodb= `SELECT @ENGINE_INNODB = 1`;
let $engine_memory= `SELECT @ENGINE_MEMORY = 1`; let $engine_memory= `SELECT @ENGINE_MEMORY = 1`;
# Decide, if the objects are to be (re)created --disable_warnings
# DROP DATABASE IF EXISTS test1;
# - once at the beginning of a set of testcases ('$NO_REFRESH' <> '' --> TRUE) --enable_warnings
# That means the current script must not (re)create any object. CREATE DATABASE test1;
# It can expect, that the objects already exist. USE test;
#
# - per every testscript/case ('$NO_REFRESH' = '' --> FALSE)
# That means all objects have to be (re)created within the current script.
#
eval SET @NO_REFRESH = IF( '$NO_REFRESH' = '', 0, 1);
let $run= `SELECT @NO_REFRESH = 0`;
if ($run)
{
--disable_warnings
DROP DATABASE IF EXISTS test1;
--enable_warnings
CREATE DATABASE test1;
USE test;
# until a statement 'eval --source suite/funcs_1/include/$var_tb1.inc if ($engine_innodb)
# works we need to have similar statements for each $engine {
if ($engine_innodb)
{
--source suite/funcs_1/include/innodb_tb1.inc --source suite/funcs_1/include/innodb_tb1.inc
--source suite/funcs_1/include/innodb_tb2.inc --source suite/funcs_1/include/innodb_tb2.inc
--source suite/funcs_1/include/innodb_tb3.inc --source suite/funcs_1/include/innodb_tb3.inc
--source suite/funcs_1/include/innodb_tb4.inc --source suite/funcs_1/include/innodb_tb4.inc
USE test1; USE test1;
--source suite/funcs_1/include/innodb_tb2.inc --source suite/funcs_1/include/innodb_tb2.inc
} }
if ($engine_memory) if ($engine_memory)
{ {
--source suite/funcs_1/include/memory_tb1.inc --source suite/funcs_1/include/memory_tb1.inc
--source suite/funcs_1/include/memory_tb2.inc --source suite/funcs_1/include/memory_tb2.inc
--source suite/funcs_1/include/memory_tb3.inc --source suite/funcs_1/include/memory_tb3.inc
--source suite/funcs_1/include/memory_tb4.inc --source suite/funcs_1/include/memory_tb4.inc
USE test1; USE test1;
--source suite/funcs_1/include/memory_tb2.inc --source suite/funcs_1/include/memory_tb2.inc
} }
if ($engine_myisam) if ($engine_myisam)
{ {
--source suite/funcs_1/include/myisam_tb1.inc --source suite/funcs_1/include/myisam_tb1.inc
--source suite/funcs_1/include/myisam_tb2.inc --source suite/funcs_1/include/myisam_tb2.inc
--source suite/funcs_1/include/myisam_tb3.inc --source suite/funcs_1/include/myisam_tb3.inc
--source suite/funcs_1/include/myisam_tb4.inc --source suite/funcs_1/include/myisam_tb4.inc
USE test1; USE test1;
--source suite/funcs_1/include/myisam_tb2.inc --source suite/funcs_1/include/myisam_tb2.inc
}
USE test;
--source suite/funcs_1/include/sp_tb.inc
} }
USE test;
--source suite/funcs_1/include/sp_tb.inc
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
This diff is collapsed.
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
SET @NO_REFRESH = IF( '' = '', 0, 1);
DROP DATABASE IF EXISTS test1; DROP DATABASE IF EXISTS test1;
CREATE DATABASE test1; CREATE DATABASE test1;
USE test; USE test;
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
This diff is collapsed.
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
This diff is collapsed.
#### suite/funcs_1/t/innodb_storedproc.test #### suite/funcs_1/t/innodb_storedproc.test
# #
--source include/have_innodb.inc
let $engine_type= innodb; let $engine_type= innodb;
--source suite/funcs_1/storedproc/load_sp_tb.inc
--source suite/funcs_1/storedproc/storedproc_master.inc --source suite/funcs_1/storedproc/storedproc_master.inc
...@@ -3,4 +3,6 @@ ...@@ -3,4 +3,6 @@
let $engine_type= memory; let $engine_type= memory;
--source suite/funcs_1/storedproc/load_sp_tb.inc
--source suite/funcs_1/storedproc/storedproc_master.inc --source suite/funcs_1/storedproc/storedproc_master.inc
...@@ -3,4 +3,6 @@ ...@@ -3,4 +3,6 @@
let $engine_type= myisam; let $engine_type= myisam;
--source suite/funcs_1/storedproc/load_sp_tb.inc
--source suite/funcs_1/storedproc/storedproc_master.inc --source suite/funcs_1/storedproc/storedproc_master.inc
...@@ -5,15 +5,6 @@ ...@@ -5,15 +5,6 @@
# Set $engine_type # Set $engine_type
let $engine_type= myisam; let $engine_type= myisam;
# Decide, if the objects are to be (re)created
#
# - once at the beginning of a set of testcases ('$NO_REFRESH' <> '' --> TRUE)
# That means the current script must not (re)create any object.
# It can expect, that the objects already exist.
#
# - per every testscript/case ('$NO_REFRESH' = '' --> FALSE)
# That means all objects have to be (re)created within the current script.
# Create some objects needed in many testcases # Create some objects needed in many testcases
USE test; USE test;
--source suite/funcs_1/include/myisam_tb3.inc --source suite/funcs_1/include/myisam_tb3.inc
......
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