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
98cfa0e3
Commit
98cfa0e3
authored
Jun 27, 2002
by
arjen@george.bitbike.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix apparent bad merge from 3.23 (noted by Michael McLagan).
parent
3f582d10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Docs/manual.texi
Docs/manual.texi
+11
-11
No files found.
Docs/manual.texi
View file @
98cfa0e3
...
@@ -31484,17 +31484,6 @@ mysql> SELECT 'David!' LIKE 'David_';
...
@@ -31484,17 +31484,6 @@ mysql> SELECT 'David!' LIKE 'David_';
-> 1
-> 1
mysql> SELECT 'David!' LIKE '%D%v%';
mysql> SELECT 'David!' LIKE '%D%v%';
-> 1
-> 1
mysql> select TRUNCATE(-1.999,1);
-> -1.9
@end example
Starting from MySQL 3.23.51 all numbers are rounded towards zero.
If @code{D} is negative, then the whole part of the number is zeroed out:
@example
mysql> select truncate(122,-2);
-> 100
@end example
@end example
To test for literal instances of a wildcard character, precede the character
To test for literal instances of a wildcard character, precede the character
...
@@ -32115,6 +32104,17 @@ mysql> SELECT TRUNCATE(1.999,1);
...
@@ -32115,6 +32104,17 @@ mysql> SELECT TRUNCATE(1.999,1);
-> 1.9
-> 1.9
mysql> SELECT TRUNCATE(1.999,0);
mysql> SELECT TRUNCATE(1.999,0);
-> 1
-> 1
mysql> SELECT TRUNCATE(-1.999,1);
-> -1.9
@end example
Starting from MySQL 3.23.51 all numbers are rounded towards zero.
If @code{D} is negative, then the whole part of the number is zeroed out:
@example
mysql> SELECT TRUNCATE(122,-2);
-> 100
@end example
@end example
Note that as decimal numbers are normally not stored as exact numbers in
Note that as decimal numbers are normally not stored as exact numbers in
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