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
a52e8488
Commit
a52e8488
authored
Nov 15, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B31928-5.1-opt
parents
cb6d17a4
62f73616
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
mysql-test/r/log_tables.result
mysql-test/r/log_tables.result
+12
-12
mysql-test/t/log_tables.test
mysql-test/t/log_tables.test
+3
-3
No files found.
mysql-test/r/log_tables.result
View file @
a52e8488
...
...
@@ -830,20 +830,20 @@ INSERT INTO t1 VALUES (1,1,1);
INSERT INTO t1 VALUES (2,2,2);
INSERT INTO t1 VALUES (3,3,3);
INSERT INTO t1 VALUES (4,4,4);
SELECT SQL_NO_CACHE 'Bug#31700 - SCAN',f1,f2,f3 FROM t1 WHERE f3=4;
Bug#31700 - SCAN f1 f2 f3
Bug#31700 - SCAN 4 4 4
SELECT SQL_NO_CACHE 'Bug#31700 - KEY', f1,f2,f3 FROM t1 WHERE f2=3;
Bug#31700 - KEY f1 f2 f3
Bug#31700 - KEY 3 3 3
SELECT SQL_NO_CACHE 'Bug#31700 - PK', f1,f2,f3 FROM t1 WHERE f1=2;
Bug#31700 - PK f1 f2 f3
Bug#31700 - PK 2 2 2
SELECT SQL_NO_CACHE 'Bug#31700 - SCAN',f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f3=4;
Bug#31700 - SCAN f1 f2 f3
SLEEP(1.1)
Bug#31700 - SCAN 4 4 4
0
SELECT SQL_NO_CACHE 'Bug#31700 - KEY', f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f2=3;
Bug#31700 - KEY f1 f2 f3
SLEEP(1.1)
Bug#31700 - KEY 3 3 3
0
SELECT SQL_NO_CACHE 'Bug#31700 - PK', f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f1=2;
Bug#31700 - PK f1 f2 f3
SLEEP(1.1)
Bug#31700 - PK 2 2 2
0
SELECT start_time, rows_examined, rows_sent, sql_text FROM mysql.slow_log WHERE sql_text LIKE '%Bug#31700%' ORDER BY start_time;
start_time rows_examined rows_sent sql_text
TIMESTAMP 4 1 SELECT SQL_NO_CACHE 'Bug#31700 - SCAN',f1,f2,f3 FROM t1 WHERE f3=4
TIMESTAMP 1 1 SELECT SQL_NO_CACHE 'Bug#31700 - KEY', f1,f2,f3 FROM t1 WHERE f2=3
TIMESTAMP 1 1 SELECT SQL_NO_CACHE 'Bug#31700 - PK', f1,f2,f3 FROM t1 WHERE f1=2
TIMESTAMP 4 1 SELECT SQL_NO_CACHE 'Bug#31700 - SCAN',f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f3=4
TIMESTAMP 1 1 SELECT SQL_NO_CACHE 'Bug#31700 - KEY', f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f2=3
TIMESTAMP 1 1 SELECT SQL_NO_CACHE 'Bug#31700 - PK', f1,f2,f3
,SLEEP(1.1)
FROM t1 WHERE f1=2
DROP TABLE t1;
TRUNCATE TABLE mysql.slow_log;
SET GLOBAL slow_query_log = @old_slow_log_state;
...
...
mysql-test/t/log_tables.test
View file @
a52e8488
...
...
@@ -942,9 +942,9 @@ INSERT INTO t1 VALUES (2,2,2);
INSERT
INTO
t1
VALUES
(
3
,
3
,
3
);
INSERT
INTO
t1
VALUES
(
4
,
4
,
4
);
SELECT
SQL_NO_CACHE
'Bug#31700 - SCAN'
,
f1
,
f2
,
f3
FROM
t1
WHERE
f3
=
4
;
SELECT
SQL_NO_CACHE
'Bug#31700 - KEY'
,
f1
,
f2
,
f3
FROM
t1
WHERE
f2
=
3
;
SELECT
SQL_NO_CACHE
'Bug#31700 - PK'
,
f1
,
f2
,
f3
FROM
t1
WHERE
f1
=
2
;
SELECT
SQL_NO_CACHE
'Bug#31700 - SCAN'
,
f1
,
f2
,
f3
,
SLEEP
(
1.1
)
FROM
t1
WHERE
f3
=
4
;
SELECT
SQL_NO_CACHE
'Bug#31700 - KEY'
,
f1
,
f2
,
f3
,
SLEEP
(
1.1
)
FROM
t1
WHERE
f2
=
3
;
SELECT
SQL_NO_CACHE
'Bug#31700 - PK'
,
f1
,
f2
,
f3
,
SLEEP
(
1.1
)
FROM
t1
WHERE
f1
=
2
;
--
replace_column
1
TIMESTAMP
SELECT
start_time
,
rows_examined
,
rows_sent
,
sql_text
FROM
mysql
.
slow_log
WHERE
sql_text
LIKE
'%Bug#31700%'
ORDER
BY
start_time
;
...
...
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