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
fdaafddd
Commit
fdaafddd
authored
Jul 26, 2012
by
Venkata Sidagam
Browse files
Options
Browse Files
Download
Plain Diff
Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE
Merged from mysql-5.1 to mysql-5.5
parents
fa0d2df5
aef1982b
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
21 additions
and
21 deletions
+21
-21
mysql-test/suite/federated/federated.test
mysql-test/suite/federated/federated.test
+2
-2
mysql-test/suite/federated/federated_archive.test
mysql-test/suite/federated/federated_archive.test
+2
-2
mysql-test/suite/federated/federated_bug_13118.test
mysql-test/suite/federated/federated_bug_13118.test
+2
-2
mysql-test/suite/federated/federated_bug_25714.test
mysql-test/suite/federated/federated_bug_25714.test
+2
-2
mysql-test/suite/federated/federated_bug_35333.test
mysql-test/suite/federated/federated_bug_35333.test
+2
-2
mysql-test/suite/federated/federated_debug.test
mysql-test/suite/federated/federated_debug.test
+2
-2
mysql-test/suite/federated/federated_innodb.test
mysql-test/suite/federated/federated_innodb.test
+2
-2
mysql-test/suite/federated/federated_server.test
mysql-test/suite/federated/federated_server.test
+2
-2
mysql-test/suite/federated/federated_transactions.test
mysql-test/suite/federated/federated_transactions.test
+2
-2
mysql-test/suite/federated/include/federated.inc
mysql-test/suite/federated/include/federated.inc
+1
-1
mysql-test/suite/federated/include/federated_cleanup.inc
mysql-test/suite/federated/include/federated_cleanup.inc
+0
-0
mysql-test/suite/federated/include/have_federated_db.inc
mysql-test/suite/federated/include/have_federated_db.inc
+0
-0
mysql-test/t/partition_federated.test
mysql-test/t/partition_federated.test
+1
-1
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+1
-1
No files found.
mysql-test/suite/federated/federated.test
View file @
fdaafddd
...
...
@@ -4,7 +4,7 @@
#
--
source
federated
.
inc
--
source
suite
/
federated
/
include
/
federated
.
inc
connection
default
;
...
...
@@ -1997,4 +1997,4 @@ connection slave;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_SLAVE_CONCURRENT_INSERT
;
connection
default
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_archive.test
View file @
fdaafddd
source
include
/
have_archive
.
inc
;
source
federated
.
inc
;
source
suite
/
federated
/
include
/
federated
.
inc
;
connection
slave
;
...
...
@@ -54,5 +54,5 @@ connection slave;
DROP
TABLE
federated
.
archive_table
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_bug_13118.test
View file @
fdaafddd
source
federated
.
inc
;
source
suite
/
federated
/
include
/
federated
.
inc
;
connection
slave
;
--
disable_warnings
...
...
@@ -37,5 +37,5 @@ connection slave;
DROP
TABLE
federated
.
bug_13118_table
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_bug_25714.test
View file @
fdaafddd
...
...
@@ -4,7 +4,7 @@ if (!$MYSQL_BUG25714)
skip
Need
bug25714
test
program
;
}
source
federated
.
inc
;
source
suite
/
federated
/
include
/
federated
.
inc
;
connection
master
;
# Disable concurrent inserts to avoid test failures when reading
...
...
@@ -59,4 +59,4 @@ SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_bug_35333.test
View file @
fdaafddd
...
...
@@ -9,7 +9,7 @@
--
echo
# to complete while still indicating a problem. This fix applies to any non-fatal system
--
echo
# error that occurs during a query against I_S.TABLES.de
--
source
federated
.
inc
--
source
suite
/
federated
/
include
/
federated
.
inc
--
disable_warnings
CREATE
DATABASE
IF
NOT
EXISTS
realdb
;
...
...
@@ -71,4 +71,4 @@ DROP TABLE IF EXISTS federated.t0;
DROP
DATABASE
realdb
;
--
enable_warnings
--
source
federated_cleanup
.
inc
--
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
mysql-test/suite/federated/federated_debug.test
View file @
fdaafddd
--
source
include
/
have_debug
.
inc
--
source
federated
.
inc
--
source
suite
/
federated
/
include
/
federated
.
inc
--
echo
#
--
echo
# Bug#47525: MySQL crashed (Federated)
...
...
@@ -36,4 +36,4 @@ DROP TABLE t1;
connection
default
;
--
echo
# Federated cleanup
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_innodb.test
View file @
fdaafddd
...
...
@@ -4,7 +4,7 @@
# See Bug #40645 Test main.federated_innodb does not always clean up after itself
source
include
/
have_innodb
.
inc
;
source
federated
.
inc
;
source
suite
/
federated
/
include
/
federated
.
inc
;
#
# Bug#25513 Federated transaction failures
...
...
@@ -36,4 +36,4 @@ connection slave;
drop
table
federated
.
t1
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_server.test
View file @
fdaafddd
# WL #3031 This test tests the new servers table as well as
# if federated can utilise the servers table
--
source
federated
.
inc
--
source
suite
/
federated
/
include
/
federated
.
inc
connection
slave
;
create
database
first_db
;
...
...
@@ -333,4 +333,4 @@ drop table t1;
drop
server
if
exists
s
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated_transactions.test
View file @
fdaafddd
source
include
/
have_innodb
.
inc
;
source
federated
.
inc
;
source
suite
/
federated
/
include
/
federated
.
inc
;
connection
slave
;
DROP
TABLE
IF
EXISTS
federated
.
t1
;
...
...
@@ -35,4 +35,4 @@ INSERT INTO federated.t1 (id, name) VALUES (6, 'fig');
SELECT
*
FROM
federated
.
t1
;
DELETE
FROM
federated
.
t1
;
source
federated_cleanup
.
inc
;
source
suite
/
federated
/
include
/
federated_cleanup
.
inc
;
mysql-test/suite/federated/federated.inc
→
mysql-test/suite/federated/
include/
federated.inc
View file @
fdaafddd
--
source
include
/
not_embedded
.
inc
--
source
have_federated_db
.
inc
--
source
suite
/
federated
/
include
/
have_federated_db
.
inc
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
,);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
,);
...
...
mysql-test/suite/federated/federated_cleanup.inc
→
mysql-test/suite/federated/
include/
federated_cleanup.inc
View file @
fdaafddd
File moved
mysql-test/suite/federated/have_federated_db.inc
→
mysql-test/suite/federated/
include/
have_federated_db.inc
View file @
fdaafddd
File moved
mysql-test/t/partition_federated.test
View file @
fdaafddd
...
...
@@ -3,7 +3,7 @@
#
--
source
include
/
have_partition
.
inc
--
source
include
/
not_embedded
.
inc
--
source
suite
/
federated
/
have_federated_db
.
inc
--
source
suite
/
federated
/
include
/
have_federated_db
.
inc
--
disable_warnings
drop
table
if
exists
t1
;
...
...
storage/federated/ha_federated.cc
View file @
fdaafddd
...
...
@@ -1397,7 +1397,7 @@ bool ha_federated::create_where_from_key(String *to,
break
;
}
DBUG_PRINT
(
"info"
,
(
"federated HA_READ_AFTER_KEY %d"
,
i
));
if
(
store_length
>=
length
)
/* end key
*/
if
(
(
store_length
>=
length
)
||
(
i
>
0
))
/* for all parts of end key
*/
{
if
(
emit_key_part_name
(
&
tmp
,
key_part
))
goto
err
;
...
...
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