Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
cfb109b8
Commit
cfb109b8
authored
Sep 04, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 787687: SQLite doesn't support CHAR_LENGTH natively
r=wicked a=LpSolit
parent
66b1bdd3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+1
-0
No files found.
Bugzilla/DB/Sqlite.pm
View file @
cfb109b8
...
...
@@ -131,6 +131,7 @@ sub new {
# so that's what we use, and I don't know of any way in SQLite to
# alias the SQL "substr" function to be called "SUBSTRING".
$self
->
sqlite_create_function
(
'substring'
,
3
,
\&
CORE::
substr
);
$self
->
sqlite_create_function
(
'char_length'
,
1
,
sub
{
length
(
$_
[
0
])
});
$self
->
sqlite_create_function
(
'mod'
,
2
,
\&
_sqlite_mod
);
$self
->
sqlite_create_function
(
'now'
,
0
,
\&
_sqlite_now
);
$self
->
sqlite_create_function
(
'localtimestamp'
,
1
,
\&
_sqlite_now
);
...
...
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