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
3c469aaa
Commit
3c469aaa
authored
May 01, 2008
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1
into magare.gmz:/home/kgeorge/mysql/work/merge-5.1-bugteam
parents
5fa0982a
e24f509d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
13 deletions
+53
-13
mysql-test/include/mix1.inc
mysql-test/include/mix1.inc
+1
-0
mysql-test/r/client_xml.result
mysql-test/r/client_xml.result
+3
-0
mysql-test/r/federated.result
mysql-test/r/federated.result
+3
-0
mysql-test/r/federated_bug_25714.result
mysql-test/r/federated_bug_25714.result
+3
-0
mysql-test/r/innodb_mysql.result
mysql-test/r/innodb_mysql.result
+11
-11
mysql-test/t/client_xml.test
mysql-test/t/client_xml.test
+9
-0
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-1
mysql-test/t/federated.test
mysql-test/t/federated.test
+12
-0
mysql-test/t/federated_bug_25714.test
mysql-test/t/federated_bug_25714.test
+10
-1
sql/sql_parse.cc
sql/sql_parse.cc
+1
-0
No files found.
mysql-test/include/mix1.inc
View file @
3c469aaa
...
...
@@ -1309,6 +1309,7 @@ SELECT * FROM t1;
--
echo
# Switch to connection con2
connection
con2
;
--
reap
SELECT
*
FROM
t1
;
--
echo
# Switch to connection con1
...
...
mysql-test/r/client_xml.result
View file @
3c469aaa
set @old_concurrent_insert= @@global.concurrent_insert;
set @@global.concurrent_insert= 0;
create table t1 (
`a&b` int,
`a<b` int,
...
...
@@ -86,3 +88,4 @@ Empty set
Bye
drop table t1;
set @@global.concurrent_insert= @old_concurrent_insert;
mysql-test/r/federated.result
View file @
3c469aaa
...
...
@@ -9,6 +9,8 @@ DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
SET @OLD_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
DROP TABLE IF EXISTS federated.t1;
Warnings:
Note 1051 Unknown table 't1'
...
...
@@ -2123,3 +2125,4 @@ DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_CONCURRENT_INSERT;
mysql-test/r/federated_bug_25714.result
View file @
3c469aaa
...
...
@@ -9,6 +9,8 @@ DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
SET @OLD_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
DROP TABLE IF EXISTS federated.bug_13118_table;
CREATE TABLE federated.t1 (
`id` int auto_increment primary key,
...
...
@@ -54,3 +56,4 @@ DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_CONCURRENT_INSERT;
mysql-test/r/innodb_mysql.result
View file @
3c469aaa
...
...
@@ -887,13 +887,13 @@ EXPLAIN SELECT * FROM t1 WHERE b BETWEEN 1 AND 2 ORDER BY a;
id 1
select_type SIMPLE
table t1
type
index
type
range
possible_keys bkey
key
PRIMARY
key_len
4
key
bkey
key_len
5
ref NULL
rows
32
Extra Using where
rows
16
Extra Using where
; Using index; Using filesort
SELECT * FROM t1 WHERE b BETWEEN 1 AND 2 ORDER BY a;
a b
1 2
...
...
@@ -982,13 +982,13 @@ EXPLAIN SELECT * FROM t2 WHERE b=1 ORDER BY a;
id 1
select_type SIMPLE
table t2
type
index
type
ref
possible_keys bkey
key
PRIMARY
key_len
4
ref
NULL
rows
16
Extra Using where; Using index
key
bkey
key_len
5
ref
const
rows
8
Extra Using where; Using index
; Using filesort
SELECT * FROM t2 WHERE b=1 ORDER BY a;
a b c
1 1 1
...
...
mysql-test/t/client_xml.test
View file @
3c469aaa
# Can't run with embedded server
--
source
include
/
not_embedded
.
inc
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
set
@
old_concurrent_insert
=
@@
global
.
concurrent_insert
;
set
@@
global
.
concurrent_insert
=
0
;
# Test of the xml output of the 'mysql' and 'mysqldump' clients -- makes
# sure that basic encoding issues are handled properly
create
table
t1
(
...
...
@@ -21,3 +27,6 @@ insert into t1 values (1, 2, 'a&b a<b a>b');
--
exec
$MYSQL
--
xml
test
-
vv
-
e
"select 1 limit 0"
drop
table
t1
;
# Restore global concurrent_insert value
set
@@
global
.
concurrent_insert
=
@
old_concurrent_insert
;
mysql-test/t/disabled.def
View file @
3c469aaa
...
...
@@ -10,7 +10,6 @@
#
##############################################################################
federated_transactions : Bug#29523 Transactions do not work
innodb_mysql : Bug#32724: innodb_mysql.test fails randomly
status : Bug#32966 main.status fails
ps_ddl : Bug#12093 2007-12-14 pending WL#4165 / WL#4166
csv_alter_table : Bug#33696 2008-01-21 pcrews no .result file - bug allows NULL columns in CSV tables
...
...
mysql-test/t/federated.test
View file @
3c469aaa
...
...
@@ -2,6 +2,14 @@
--
source
include
/
not_embedded
.
inc
--
source
include
/
federated
.
inc
connection
default
;
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
SET
@
OLD_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
connection
slave
;
DROP
TABLE
IF
EXISTS
federated
.
t1
;
CREATE
TABLE
federated
.
t1
(
...
...
@@ -1857,3 +1865,7 @@ drop server 's1';
--
echo
End
of
5.1
tests
source
include
/
federated_cleanup
.
inc
;
connection
default
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_CONCURRENT_INSERT
;
mysql-test/t/federated_bug_25714.test
View file @
3c469aaa
--
source
include
/
have_bug25714
.
inc
source
include
/
federated
.
inc
;
connection
default
;
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
SET
@
OLD_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
connection
slave
;
--
disable_warnings
...
...
@@ -42,6 +49,8 @@ DROP TABLE federated.t1;
connection
slave
;
DROP
TABLE
federated
.
t1
;
source
include
/
federated_cleanup
.
inc
;
connection
default
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_CONCURRENT_INSERT
;
sql/sql_parse.cc
View file @
3c469aaa
...
...
@@ -3301,6 +3301,7 @@ mysql_execute_command(THD *thd)
can free its locks if LOCK TABLES locked some tables before finding
that it can't lock a table in its list
*/
ha_autocommit_or_rollback
(
thd
,
1
);
end_active_trans
(
thd
);
thd
->
options
&=
~
(
OPTION_TABLE_LOCK
);
}
...
...
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