mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.8' into 10.9
This commit is contained in:
16
mysql-test/include/grep.inc
Normal file
16
mysql-test/include/grep.inc
Normal file
@@ -0,0 +1,16 @@
|
||||
# Grep file for regular expression and output to STDOUT
|
||||
#
|
||||
# Usage:
|
||||
# --let $grep_file= /path/to/your/file
|
||||
# --let $grep_regex= your_regex_string
|
||||
# --source include/grep.inc
|
||||
|
||||
--perl
|
||||
open (my $fh, "<", "$ENV{grep_file}") or die $!;
|
||||
while (<$fh>)
|
||||
{
|
||||
/$ENV{grep_regex}/ &&
|
||||
print;
|
||||
}
|
||||
close $fh;
|
||||
EOF
|
@@ -8,7 +8,6 @@
|
||||
|
||||
source include/not_embedded.inc;
|
||||
|
||||
-- require include/have_log_bin.require
|
||||
disable_query_log;
|
||||
show variables like 'log_bin';
|
||||
enable_query_log;
|
||||
if (`select not @@log_bin`) {
|
||||
skip Test requires: 'have_log_bin';
|
||||
}
|
||||
|
@@ -1,2 +0,0 @@
|
||||
Variable_name Value
|
||||
log_bin ON
|
Reference in New Issue
Block a user