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
b17bcca6
Commit
b17bcca6
authored
Oct 03, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge error
parent
f6ad0583
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+5
-5
No files found.
sql/ha_ndbcluster.cc
View file @
b17bcca6
...
...
@@ -1547,8 +1547,8 @@ int ha_ndbcluster::write_row(byte *record)
}
statistic_increment
(
ha_write_count
,
&
LOCK_status
);
if
(
table
->
timestamp_
default_now
)
update_timestamp
(
record
+
table
->
timestamp_default_now
-
1
);
if
(
table
->
timestamp_
field_type
&
TIMESTAMP_AUTO_SET_ON_INSERT
)
table
->
timestamp_field
->
set_time
(
);
has_auto_increment
=
(
table
->
next_number_field
&&
record
==
table
->
record
[
0
]);
if
(
!
(
op
=
trans
->
getNdbOperation
((
const
NDBTAB
*
)
m_table
)))
...
...
@@ -1698,8 +1698,8 @@ int ha_ndbcluster::update_row(const byte *old_data, byte *new_data)
DBUG_ENTER
(
"update_row"
);
statistic_increment
(
ha_update_count
,
&
LOCK_status
);
if
(
table
->
timestamp_
on_update_now
)
update_timestamp
(
new_data
+
table
->
timestamp_on_update_now
-
1
);
if
(
table
->
timestamp_
field_type
&
TIMESTAMP_AUTO_SET_ON_UPDATE
)
table
->
timestamp_field
->
set_time
(
);
/* Check for update of primary key for special handling */
if
((
table
->
primary_key
!=
MAX_KEY
)
&&
...
...
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