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
7c0b007e
Commit
7c0b007e
authored
Oct 04, 2008
by
Matthias Leich
Browse files
Options
Browse Files
Download
Plain Diff
Merge of fixes for Bug#38427 and Bug#38762 into actual tree
(no conflicts)
parents
aa1a6922
14f372c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
mysql-test/r/federated_bug_25714.result
mysql-test/r/federated_bug_25714.result
+6
-0
mysql-test/suite/funcs_1/views/func_view.inc
mysql-test/suite/funcs_1/views/func_view.inc
+7
-1
mysql-test/t/federated_bug_25714.test
mysql-test/t/federated_bug_25714.test
+11
-0
No files found.
mysql-test/r/federated_bug_25714.result
View file @
7c0b007e
...
...
@@ -9,6 +9,10 @@ DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
SET @OLD_MASTER_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
SET @OLD_SLAVE_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,
...
...
@@ -49,7 +53,9 @@ id value
7 54
8 55
DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_MASTER_CONCURRENT_INSERT;
DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
...
...
mysql-test/suite/funcs_1/views/func_view.inc
View file @
7c0b007e
...
...
@@ -157,10 +157,16 @@ DROP VIEW IF EXISTS v1;
--
disable_query_log
# Storage for the SELECTs to be used for the VIEW definition
# Attention: my_select must be no too small because a statement like
# SELECT LOAD_FILE(< file in MYSQLTEST_VARDIR >)
# AS my_col,
# id FROM t1_values';
# might be a very long
# Bug#38427 "Data too long" ... tests "<ENGINE>_func_view" fail
CREATE
TABLE
t1_selects
(
id
BIGINT
AUTO_INCREMENT
,
my_select
VARCHAR
(
2
00
)
NOT
NULL
,
my_select
VARCHAR
(
10
00
)
NOT
NULL
,
disable_result
ENUM
(
'Yes'
,
'No'
)
NOT
NULL
default
'No'
,
PRIMARY
KEY
(
id
),
UNIQUE
(
my_select
)
...
...
mysql-test/t/federated_bug_25714.test
View file @
7c0b007e
--
source
include
/
have_bug25714
.
inc
source
include
/
federated
.
inc
;
connection
master
;
# 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_MASTER_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
connection
slave
;
SET
@
OLD_SLAVE_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
--
disable_warnings
DROP
TABLE
IF
EXISTS
federated
.
bug_13118_table
;
--
enable_warnings
...
...
@@ -39,9 +47,12 @@ SELECT LAST_INSERT_ID();
SELECT
*
from
federated
.
t1
;
DROP
TABLE
federated
.
t1
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_MASTER_CONCURRENT_INSERT
;
connection
slave
;
DROP
TABLE
federated
.
t1
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_SLAVE_CONCURRENT_INSERT
;
source
include
/
federated_cleanup
.
inc
;
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