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
5f7dbe07
Commit
5f7dbe07
authored
Feb 26, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-new-maint
parents
da3c2d38
1770993d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
mysql-test/include/get_binlog_dump_thread_id.inc
mysql-test/include/get_binlog_dump_thread_id.inc
+16
-3
mysql-test/t/trigger-grant.test
mysql-test/t/trigger-grant.test
+2
-0
No files found.
mysql-test/include/get_binlog_dump_thread_id.inc
View file @
5f7dbe07
--
exec
$MYSQL
test
-
e
'show processlist'
|
grep
'Binlog Dump'
|
cut
-
f1
>
$MYSQLTEST_VARDIR
/
tmp
/
bl_dump_thread_id
--
exec
$MYSQL
test
-
e
"show processlist"
>
$MYSQLTEST_VARDIR
/
tmp
/
bl_dump_thread_id
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t999
;
drop
table
if
exists
t999
;
--
enable_warnings
--
enable_warnings
create
temporary
table
t999
(
f
int
);
# Create a table to hold the process list
create
temporary
table
t999
(
id
int
,
user
char
(
255
),
host
char
(
255
),
db
char
(
255
),
Command
char
(
255
),
time
int
,
State
char
(
255
),
info
char
(
255
)
);
# Load processlist into table, headers will create seom warnings
--
disable_warnings
--
replace_result
$MYSQLTEST_VARDIR
"."
--
replace_result
$MYSQLTEST_VARDIR
"."
eval
LOAD
DATA
INFILE
"
$MYSQLTEST_VARDIR
/tmp/bl_dump_thread_id"
into
table
t999
;
eval
LOAD
DATA
INFILE
"
$MYSQLTEST_VARDIR
/tmp/bl_dump_thread_id"
into
table
t999
;
let
$id
=
`select f from t999`
;
--
enable_warnings
let
$id
=
`select Id from t999 where Command="Binlog Dump"`
;
drop
table
t999
;
drop
table
t999
;
mysql-test/t/trigger-grant.test
View file @
5f7dbe07
...
@@ -368,6 +368,8 @@ open(FILE, "<", $fname) or die;
...
@@ -368,6 +368,8 @@ open(FILE, "<", $fname) or die;
my
@
content
=
grep
(
$_
!~
/^
definers
=/
,
<
FILE
>
);
my
@
content
=
grep
(
$_
!~
/^
definers
=/
,
<
FILE
>
);
close
FILE
;
close
FILE
;
open
(
FILE
,
">"
,
$fname
)
or
die
;
open
(
FILE
,
">"
,
$fname
)
or
die
;
# Use binary file mode to avoid CR/LF's being added on windows
binmode
FILE
;
print
FILE
@
content
;
print
FILE
@
content
;
print
FILE
"definers='' '\@' '\@abc\@def\@\@' '\@hostname' '\@abcdef\@\@\@hostname'
\n
"
;
print
FILE
"definers='' '\@' '\@abc\@def\@\@' '\@hostname' '\@abcdef\@\@\@hostname'
\n
"
;
close
FILE
;
close
FILE
;
...
...
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