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
4b691ace
Commit
4b691ace
authored
Jun 15, 2009
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix: modify regular expression to better handle 24 hour
times (ie: 2:16:20).
parent
2a8bad17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/log_tables_debug.result
mysql-test/r/log_tables_debug.result
+2
-2
mysql-test/t/log_tables_debug.test
mysql-test/t/log_tables_debug.test
+1
-1
No files found.
mysql-test/r/log_tables_debug.result
View file @
4b691ace
...
...
@@ -3,7 +3,7 @@ SET @old_general_log_file= @@global.general_log_file;
SET @old_slow_query_log= @@global.slow_query_log;
SET @old_slow_query_log_file= @@global.slow_query_log_file;
#
# Bug#45387 Information about statement id for prepared
# Bug#45387 Information about statement id for prepared
# statements missed from general log
#
SET @@global.general_log = ON;
...
...
@@ -12,7 +12,7 @@ SET SESSION debug='+d,reset_log_last_time';
FLUSH LOGS;
SET @@global.general_log = @old_general_log;
SET @@global.general_log_file = @old_general_log_file;
SET SESSION debug='-d
,reset_log_last_time
';
SET SESSION debug='-d';
Bug#45387: ID match.
End of 5.1 tests
#
...
...
mysql-test/t/log_tables_debug.test
View file @
4b691ace
...
...
@@ -48,7 +48,7 @@ perl;
open
(
FILE
,
"
$datadir
/bug45387_general.log"
)
or
die
(
"Unable to read log file
$datadir
/bug45387_general.log: $!
\n
"
);
while
(
<
FILE
>
)
{
if
(
/
\d
{
6
}
\d\d
:
\d\d
:
\d\d
[
\t
]
+
(
\d
+
)[
\t
]
+
Query
[
\t
]
+
SELECT
CONNECTION_ID
/
)
{
if
(
/
\d
{
6
}
\s
+
\d
+:
\d
+:
\d
+
[
\t
]
+
(
\d
+
)[
\t
]
+
Query
[
\t
]
+
SELECT
CONNECTION_ID
/
)
{
$found
=
$
1
;
break
;
}
...
...
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