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
96458f8f
Commit
96458f8f
authored
Oct 05, 2004
by
dlenev@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/dlenev/src/mysql-4.1-bf
parents
bc46b3c3
eabec4c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sql/field.cc
sql/field.cc
+8
-0
No files found.
sql/field.cc
View file @
96458f8f
...
@@ -2970,6 +2970,14 @@ timestamp_auto_set_type Field_timestamp::get_auto_set_type() const
...
@@ -2970,6 +2970,14 @@ timestamp_auto_set_type Field_timestamp::get_auto_set_type() const
return
TIMESTAMP_AUTO_SET_ON_INSERT
;
return
TIMESTAMP_AUTO_SET_ON_INSERT
;
case
TIMESTAMP_UN_FIELD
:
case
TIMESTAMP_UN_FIELD
:
return
TIMESTAMP_AUTO_SET_ON_UPDATE
;
return
TIMESTAMP_AUTO_SET_ON_UPDATE
;
case
TIMESTAMP_OLD_FIELD
:
/*
Altough we can have several such columns in legacy tables this
function should be called only for first of them (i.e. the one
having auto-set property).
*/
DBUG_ASSERT
(
table
->
timestamp_field
==
this
);
/* Fall-through */
case
TIMESTAMP_DNUN_FIELD
:
case
TIMESTAMP_DNUN_FIELD
:
return
TIMESTAMP_AUTO_SET_ON_BOTH
;
return
TIMESTAMP_AUTO_SET_ON_BOTH
;
default:
default:
...
...
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