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
1a836412
Commit
1a836412
authored
Jul 24, 2007
by
antony@pcg5ppc.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post 5.0 to 5.1 merge fixes
parent
f736a40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+2
-2
No files found.
storage/federated/ha_federated.cc
View file @
1a836412
...
@@ -2029,7 +2029,7 @@ int ha_federated::write_row(uchar *buf)
...
@@ -2029,7 +2029,7 @@ int ha_federated::write_row(uchar *buf)
update_auto_increment
();
update_auto_increment
();
/* mysql_insert() uses this for protocol return value */
/* mysql_insert() uses this for protocol return value */
table
->
next_number_field
->
store
(
auto_increment_value
,
1
);
table
->
next_number_field
->
store
(
stats
.
auto_increment_value
,
1
);
}
}
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
...
@@ -2940,7 +2940,7 @@ int ha_federated::info(uint flag)
...
@@ -2940,7 +2940,7 @@ int ha_federated::info(uint flag)
}
}
if
(
flag
&
HA_STATUS_AUTO
)
if
(
flag
&
HA_STATUS_AUTO
)
auto_increment_value
=
mysql
->
last_used_con
->
insert_id
;
stats
.
auto_increment_value
=
mysql
->
last_used_con
->
insert_id
;
mysql_free_result
(
result
);
mysql_free_result
(
result
);
...
...
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