init push
This commit is contained in:
9
test/mysql_test/include/check_ob_or_mysql.inc
Normal file
9
test/mysql_test/include/check_ob_or_mysql.inc
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
let $cluster_is_ob = 1;
|
||||
let $cluster_is_mysql = 0;
|
||||
let $collation_count = query_get_value(select count(1) as cnt from information_schema.COLLATIONS, cnt, 1);
|
||||
if ($collation_count > 100) {
|
||||
let $cluster_is_ob = 0;
|
||||
let $cluster_is_mysql = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user