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
9378fc62
Commit
9378fc62
authored
Jul 18, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"BUG #18764: Delete conditions causing inconsistencies in Federated tables"
Post merge changes.
parent
6ab68cdf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/federated.result
mysql-test/r/federated.result
+0
-1
mysql-test/t/federated.test
mysql-test/t/federated.test
+0
-1
sql/ha_federated.cc
sql/ha_federated.cc
+5
-2
No files found.
mysql-test/r/federated.result
View file @
9378fc62
...
@@ -1727,7 +1727,6 @@ id val1 val2
...
@@ -1727,7 +1727,6 @@ id val1 val2
DROP TABLE federated.test_local;
DROP TABLE federated.test_local;
DROP TABLE federated.test_remote;
DROP TABLE federated.test_remote;
DROP TABLE federated.test;
DROP TABLE federated.test;
drop table if exists federated.t1;
drop table if exists federated.t1;
create table federated.t1 (a int, b int, c int);
create table federated.t1 (a int, b int, c int);
drop table if exists federated.t1;
drop table if exists federated.t1;
...
...
mysql-test/t/federated.test
View file @
9378fc62
...
@@ -1416,7 +1416,6 @@ select * from federated.test_remote;
...
@@ -1416,7 +1416,6 @@ select * from federated.test_remote;
DROP
TABLE
federated
.
test_local
;
DROP
TABLE
federated
.
test_local
;
DROP
TABLE
federated
.
test_remote
;
DROP
TABLE
federated
.
test_remote
;
--
enable_warnings
--
enable_warnings
connection
slave
;
connection
slave
;
--
disable_warnings
--
disable_warnings
DROP
TABLE
federated
.
test
;
DROP
TABLE
federated
.
test
;
...
...
sql/ha_federated.cc
View file @
9378fc62
...
@@ -1589,8 +1589,11 @@ int ha_federated::write_row(byte *buf)
...
@@ -1589,8 +1589,11 @@ int ha_federated::write_row(byte *buf)
else
else
{
{
(
*
field
)
->
val_str
(
&
insert_field_value_string
);
(
*
field
)
->
val_str
(
&
insert_field_value_string
);
/* quote these fields if they require it */
values_string
.
append
(
'\''
);
(
*
field
)
->
quote_data
(
&
insert_field_value_string
);
insert_field_value_string
.
print
(
&
values_string
);
values_string
.
append
(
'\''
);
insert_field_value_string
.
length
(
0
);
}
}
/* append the field name */
/* append the field name */
insert_string
.
append
((
*
field
)
->
field_name
);
insert_string
.
append
((
*
field
)
->
field_name
);
...
...
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