Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
35fb5337
Commit
35fb5337
authored
Nov 16, 2012
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
411d0e3e
50a986fe
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
474 deletions
+9
-474
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+0
-5
mysql-test/collections/default.push
mysql-test/collections/default.push
+5
-5
mysql-test/collections/default.release.in
mysql-test/collections/default.release.in
+4
-4
mysql-test/suite/sys_vars/r/ndb_log_update_as_write_basic.result
...est/suite/sys_vars/r/ndb_log_update_as_write_basic.result
+0
-14
mysql-test/suite/sys_vars/r/ndb_log_updated_only_basic.result
...l-test/suite/sys_vars/r/ndb_log_updated_only_basic.result
+0
-14
mysql-test/suite/sys_vars/t/ndb_log_update_as_write_basic.test
...-test/suite/sys_vars/t/ndb_log_update_as_write_basic.test
+0
-216
mysql-test/suite/sys_vars/t/ndb_log_updated_only_basic.test
mysql-test/suite/sys_vars/t/ndb_log_updated_only_basic.test
+0
-216
No files found.
mysql-test/collections/default.experimental
View file @
35fb5337
...
...
@@ -18,9 +18,4 @@ rpl.rpl_row_sp011 @solaris # Bug#11753919 2011-07-25 sven Several
sys_vars.max_sp_recursion_depth_func @solaris # Bug#11753919 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
sys_vars.wait_timeout_func # Bug#11750645 2010-04-26 alik wait_timeout_func fails
# BUG #59055 : All ndb tests should be removed from the repository
# Leaving the sys_vars tests for now. sys_vars.all_vars.test fails on removing ndb tests
sys_vars.ndb_log_update_as_write_basic
sys_vars.have_ndbcluster_basic
sys_vars.ndb_log_updated_only_basic
sys_vars.rpl_init_slave_func # Bug#12535301 2011-05-09 andrei sys_vars.rpl_init_slave_func mismatches in daily-5.5
mysql-test/collections/default.push
View file @
35fb5337
perl mysql-test-run.pl --timer --force --parallel=auto --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --experimental=collections/default.experimental --skip-
ndb --skip-
test-list=collections/disabled-per-push.list --unit-tests
perl mysql-test-run.pl --timer --force --parallel=auto --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-
ndb --skip-
test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=embedded --vardir=var-emebbed --embedded --experimental=collections/default.experimental
--skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --suite=rpl,binlog --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-
ndb --skip-
test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1 --experimental=collections/default.experimental
--skip-ndb
perl mysql-test-run.pl --timer --force --parallel=auto --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list --unit-tests
perl mysql-test-run.pl --timer --force --parallel=auto --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=embedded --vardir=var-emebbed --embedded --experimental=collections/default.experimental
perl mysql-test-run.pl --timer --force --parallel=auto --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --suite=rpl,binlog --mysqld=--binlog-format=row --experimental=collections/default.experimental --skip-test-list=collections/disabled-per-push.list
perl mysql-test-run.pl --timer --force --parallel=auto --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1 --experimental=collections/default.experimental
\ No newline at end of file
mysql-test/collections/default.release.in
View file @
35fb5337
...
...
@@ -4,14 +4,14 @@
# include default.daily
# include default.weekly
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=debug --vardir=var-debug
--skip-ndbcluster
--skip-rpl --report-features --debug-server
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=normal --vardir=var-normal
--skip-ndbcluster
--report-features
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=ps --vardir=var-ps
--skip-ndbcluster
--ps-protocol
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=debug --vardir=var-debug --skip-rpl --report-features --debug-server
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=normal --vardir=var-normal --report-features
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=ps --vardir=var-ps --ps-protocol
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=funcs1+ps --vardir=var-funcs_1_ps --suite=funcs_1 --ps-protocol
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=funcs2 --vardir=var-funcs2 --suite=funcs_2
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=partitions --vardir=var-parts --suite=parts
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=stress --vardir=var-stress --suite=stress
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=jp --vardir=var-jp --suite=jp
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-embedded --embedded-server --skip-rpl
--skip-ndbcluster
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-embedded --embedded-server --skip-rpl
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=nist --vardir=var-nist --suite=nist
perl mysql-test-run.pl --force --timer --parallel=auto --experimental=collections/default.experimental --comment=nist+ps --vardir=var-nist_ps --suite=nist --ps-protocol
mysql-test/suite/sys_vars/r/ndb_log_update_as_write_basic.result
deleted
100644 → 0
View file @
411d0e3e
SET @global_start_value = @@global.ndb_log_update_as_write;
ERROR HY000: Unknown system variable 'ndb_log_update_as_write'
SELECT @@global.ndb_log_update_as_write;
ERROR HY000: Unknown system variable 'ndb_log_update_as_write'
'Bug: The value is not a system variable or atleast not supported in version 5.1.22'
'#--------------------FN_DYNVARS_102_01------------------------#'
'#---------------------FN_DYNVARS_102_02-------------------------#'
'#--------------------FN_DYNVARS_102_03------------------------#'
'#--------------------FN_DYNVARS_102_04-------------------------#'
'#-------------------FN_DYNVARS_102_05----------------------------#'
'#----------------------FN_DYNVARS_102_06------------------------#'
'#----------------------FN_DYNVARS_102_07------------------------#'
'#---------------------FN_DYNVARS_102_08-------------------------#'
'#---------------------FN_DYNVARS_102_09----------------------#'
mysql-test/suite/sys_vars/r/ndb_log_updated_only_basic.result
deleted
100644 → 0
View file @
411d0e3e
SET @global_start_value = @@global.ndb_log_updated_only;
ERROR HY000: Unknown system variable 'ndb_log_updated_only'
SELECT @@global.ndb_log_updated_only;
ERROR HY000: Unknown system variable 'ndb_log_updated_only'
'Bug: The value is not a system variable or atleast not supported in version 5.1.22'
'#--------------------FN_DYNVARS_103_01------------------------#'
'#---------------------FN_DYNVARS_103_02-------------------------#'
'#--------------------FN_DYNVARS_103_03------------------------#'
'#--------------------FN_DYNVARS_103_04-------------------------#'
'#-------------------FN_DYNVARS_103_05----------------------------#'
'#----------------------FN_DYNVARS_103_06------------------------#'
'#----------------------FN_DYNVARS_103_07------------------------#'
'#---------------------FN_DYNVARS_103_08-------------------------#'
'#---------------------FN_DYNVARS_103_09----------------------#'
mysql-test/suite/sys_vars/t/ndb_log_update_as_write_basic.test
deleted
100644 → 0
View file @
411d0e3e
############## mysql-test\t\ndb_log_update_as_write_basic.test ###############
# #
# Variable Name: ndb_log_update_as_write #
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type: boolean #
# Default Value: #
# Range: #
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan #
# #
# Description: Test Cases of Dynamic System Variable ndb_log_update_as_write #
# that checks the behavior of this variable in the following ways#
# * Default Value #
# * Valid & Invalid values #
# * Scope & Access method #
# * Data Integrity #
# #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
# server-system-variables.html #
# #
###############################################################################
############## mysql-test\t\ndb_log_update_as_write_basic.test ################
# #
# Variable Name: ndb_log_update_as_write #
# Scope: GLOBAL & SESSION #
# Access Type: Dynamic #
# Data Type: Numeric #
# Default Value: 1 #
# Range: 1 - 65536 #
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan Maredia #
# #
# Description: Test Cases of Dynamic System Variable ndb_log_update_as_write #
# that checks the behavior of this variable in the following ways #
# * Default Value #
# * Valid & Invalid values #
# * Scope & Access method #
# * Data Integrity #
# #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
# server-system-variables.html #
# #
################################################################################
################# mysql-test\t\ndb_log_update_as_write_basic.test ######
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan Maredia #
# #
# Description: Test Cases of Dynamic System Variable #
# ndb_log_update_as_write that check behavior of this #
# variable with valid values, invalid values, #
# accessing variable with scope that is #
# allowed and with scope that is now allowed. #
# Scope: Global #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/server-system #
# -variables.html #
# #
########################################################################
--
source
include
/
load_sysvars
.
inc
########################################################################
# START OF ndb_log_update_as_write TESTS #
########################################################################
################################################################################
# Saving initial value of ndb_log_update_as_write in a temporary variable #
################################################################################
--
Error
ER_UNKNOWN_SYSTEM_VARIABLE
SET
@
global_start_value
=
@@
global
.
ndb_log_update_as_write
;
--
Error
ER_UNKNOWN_SYSTEM_VARIABLE
SELECT
@@
global
.
ndb_log_update_as_write
;
--
echo
'Bug: The value is not a system variable or atleast not supported in version 5.1.22'
--
echo
'#--------------------FN_DYNVARS_102_01------------------------#'
########################################################################
# Display the DEFAULT value of ndb_log_update_as_write #
########################################################################
#SET @@ndb_log_update_as_write = 0;
#SET @@ndb_log_update_as_write = DEFAULT;
#SELECT @@ndb_log_update_as_write;
#
#SET @@ndb_log_update_as_write = 1;
#SET @@ndb_log_update_as_write = DEFAULT;
#SELECT @@ndb_log_update_as_write;
--
echo
'#---------------------FN_DYNVARS_102_02-------------------------#'
#############################################################################
# Check if ndb_log_update_as_write can be accessed with and without @@ sign #
#############################################################################
#SET ndb_log_update_as_write = 1;
#SELECT @@ndb_log_update_as_write;
#--Error ER_UNKNOWN_TABLE
#SELECT global.ndb_log_update_as_write;
#
#SET global ndb_log_update_as_write = 1;
#SELECT @@global.ndb_log_update_as_write;
--
echo
'#--------------------FN_DYNVARS_102_03------------------------#'
########################################################################
# Change the value of ndb_log_update_as_write to a valid value #
########################################################################
#SET @@global.ndb_log_update_as_write = 0;
#SELECT @@global.ndb_log_update_as_write;
#SET @@global.ndb_log_update_as_write = 1;
#SELECT @@global.ndb_log_update_as_write;
## a value of 2 is used to just flush logs and then shutdown cold.
#SET @@global.ndb_log_update_as_write = 2;
#SELECT @@global.ndb_log_update_as_write;
--
echo
'#--------------------FN_DYNVARS_102_04-------------------------#'
###########################################################################
# Change the value of ndb_log_update_as_write to invalid value #
###########################################################################
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = -1;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = TRU;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = TRUE_F;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = FALS;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = OON;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = ONN;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = OOFF;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = 0FF;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = ' 1';
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_update_as_write = "0 ";
--
echo
'#-------------------FN_DYNVARS_102_05----------------------------#'
###########################################################################
# Test if accessing session ndb_log_update_as_write gives error #
###########################################################################
#--Error ER_LOCAL_VARIABLE
#SET @@session.ndb_log_update_as_write = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SET @@ndb_log_update_as_write = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SET @@local.ndb_log_update_as_write = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SELECT @@session.ndb_log_update_as_write;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SELECT @@local.ndb_log_update_as_write;
--
echo
'#----------------------FN_DYNVARS_102_06------------------------#'
#########################################################################
# Check if the value in SESSION Table contains variable value #
#########################################################################
#SELECT count(VARIABLE_VALUE) AS res_is_0 FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='ndb_log_update_as_write';
--
echo
'#----------------------FN_DYNVARS_102_07------------------------#'
#########################################################################
# Check if the value in GLOBAL Table matches value in variable #
#########################################################################
#SELECT @@global.ndb_log_update_as_write = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='ndb_log_update_as_write';
--
echo
'#---------------------FN_DYNVARS_102_08-------------------------#'
###################################################################
# Check if ON and OFF values can be used on variable #
###################################################################
#SET @@ndb_log_update_as_write = OFF;
#SELECT @@ndb_log_update_as_write;
#SET @@ndb_log_update_as_write = ON;
#SELECT @@ndb_log_update_as_write;
--
echo
'#---------------------FN_DYNVARS_102_09----------------------#'
###################################################################
# Check if TRUE and FALSE values can be used on variable #
###################################################################
#SET @@ndb_log_update_as_write = TRUE;
#SELECT @@ndb_log_update_as_write;
#SET @@ndb_log_update_as_write = 'FALSE';
#SELECT @@ndb_log_update_as_write;
##############################
# Restore initial value #
##############################
#SET @@ndb_log_update_as_write = @global_start_value;
#SELECT @@ndb_log_update_as_write;
########################################################################
# END OF ndb_log_update_as_write TESTS #
########################################################################
mysql-test/suite/sys_vars/t/ndb_log_updated_only_basic.test
deleted
100644 → 0
View file @
411d0e3e
############## mysql-test\t\ndb_log_updated_only_basic.test ###############
# #
# Variable Name: ndb_log_updated_only #
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type: boolean #
# Default Value: #
# Range: #
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan #
# #
# Description: Test Cases of Dynamic System Variable ndb_log_updated_only #
# that checks the behavior of this variable in the following ways#
# * Default Value #
# * Valid & Invalid values #
# * Scope & Access method #
# * Data Integrity #
# #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
# server-system-variables.html #
# #
###############################################################################
############## mysql-test\t\ndb_log_updated_only_basic.test ################
# #
# Variable Name: ndb_log_updated_only #
# Scope: GLOBAL & SESSION #
# Access Type: Dynamic #
# Data Type: Numeric #
# Default Value: 1 #
# Range: 1 - 65536 #
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan Maredia #
# #
# Description: Test Cases of Dynamic System Variable ndb_log_updated_only #
# that checks the behavior of this variable in the following ways #
# * Default Value #
# * Valid & Invalid values #
# * Scope & Access method #
# * Data Integrity #
# #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
# server-system-variables.html #
# #
################################################################################
################# mysql-test\t\ndb_log_updated_only_basic.test #########
# #
# #
# Creation Date: 2008-02-07 #
# Author: Rizwan Maredia #
# #
# Description: Test Cases of Dynamic System Variable #
# ndb_log_updated_only that check behavior of this #
# variable with valid values, invalid values, #
# accessing variable with scope that is #
# allowed and with scope that is now allowed. #
# Scope: Global #
# Reference: http://dev.mysql.com/doc/refman/5.1/en/server-system #
# -variables.html #
# #
########################################################################
--
source
include
/
load_sysvars
.
inc
########################################################################
# START OF ndb_log_updated_only TESTS #
########################################################################
################################################################################
# Saving initial value of ndb_log_updated_only in a temporary variable #
################################################################################
--
Error
ER_UNKNOWN_SYSTEM_VARIABLE
SET
@
global_start_value
=
@@
global
.
ndb_log_updated_only
;
--
Error
ER_UNKNOWN_SYSTEM_VARIABLE
SELECT
@@
global
.
ndb_log_updated_only
;
--
echo
'Bug: The value is not a system variable or atleast not supported in version 5.1.22'
--
echo
'#--------------------FN_DYNVARS_103_01------------------------#'
########################################################################
# Display the DEFAULT value of ndb_log_updated_only #
########################################################################
#SET @@ndb_log_updated_only = 0;
#SET @@ndb_log_updated_only = DEFAULT;
#SELECT @@ndb_log_updated_only;
#
#SET @@ndb_log_updated_only = 1;
#SET @@ndb_log_updated_only = DEFAULT;
#SELECT @@ndb_log_updated_only;
--
echo
'#---------------------FN_DYNVARS_103_02-------------------------#'
#############################################################################
# Check if ndb_log_updated_only can be accessed with and without @@ sign #
#############################################################################
#SET ndb_log_updated_only = 1;
#SELECT @@ndb_log_updated_only;
#--Error ER_UNKNOWN_TABLE
#SELECT global.ndb_log_updated_only;
#
#SET global ndb_log_updated_only = 1;
#SELECT @@global.ndb_log_updated_only;
--
echo
'#--------------------FN_DYNVARS_103_03------------------------#'
########################################################################
# Change the value of ndb_log_updated_only to a valid value #
########################################################################
#SET @@global.ndb_log_updated_only = 0;
#SELECT @@global.ndb_log_updated_only;
#SET @@global.ndb_log_updated_only = 1;
#SELECT @@global.ndb_log_updated_only;
## a value of 2 is used to just flush logs and then shutdown cold.
#SET @@global.ndb_log_updated_only = 2;
#SELECT @@global.ndb_log_updated_only;
--
echo
'#--------------------FN_DYNVARS_103_04-------------------------#'
###########################################################################
# Change the value of ndb_log_updated_only to invalid value #
###########################################################################
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = -1;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = TRU;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = TRUE_F;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = FALS;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = OON;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = ONN;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = OOFF;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = 0FF;
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = ' 1';
#--Error ER_WRONG_VALUE_FOR_VAR
#SET @@global.ndb_log_updated_only = "0 ";
--
echo
'#-------------------FN_DYNVARS_103_05----------------------------#'
###########################################################################
# Test if accessing session ndb_log_updated_only gives error #
###########################################################################
#--Error ER_LOCAL_VARIABLE
#SET @@session.ndb_log_updated_only = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SET @@ndb_log_updated_only = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SET @@local.ndb_log_updated_only = 0;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SELECT @@session.ndb_log_updated_only;
#--Error ER_INCORRECT_GLOBAL_LOCAL_VAR
#SELECT @@local.ndb_log_updated_only;
--
echo
'#----------------------FN_DYNVARS_103_06------------------------#'
#########################################################################
# Check if the value in SESSION Table contains variable value #
#########################################################################
#SELECT count(VARIABLE_VALUE) AS res_is_0 FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='ndb_log_updated_only';
--
echo
'#----------------------FN_DYNVARS_103_07------------------------#'
#########################################################################
# Check if the value in GLOBAL Table matches value in variable #
#########################################################################
#SELECT @@global.ndb_log_updated_only = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='ndb_log_updated_only';
--
echo
'#---------------------FN_DYNVARS_103_08-------------------------#'
###################################################################
# Check if ON and OFF values can be used on variable #
###################################################################
#SET @@ndb_log_updated_only = OFF;
#SELECT @@ndb_log_updated_only;
#SET @@ndb_log_updated_only = ON;
#SELECT @@ndb_log_updated_only;
--
echo
'#---------------------FN_DYNVARS_103_09----------------------#'
###################################################################
# Check if TRUE and FALSE values can be used on variable #
###################################################################
#SET @@ndb_log_updated_only = TRUE;
#SELECT @@ndb_log_updated_only;
#SET @@ndb_log_updated_only = 'FALSE';
#SELECT @@ndb_log_updated_only;
##############################
# Restore initial value #
##############################
#SET @@ndb_log_updated_only = @global_start_value;
#SELECT @@ndb_log_updated_only;
########################################################################
# END OF ndb_log_updated_only TESTS #
########################################################################
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment