php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30123 sqlite_error_string() to default to last errno
Submitted: 2004-09-16 20:49 UTC Modified: 2017-10-24 23:31 UTC
From: philip at cornado dot com Assigned:
Status: Suspended Package: SQLite (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 + 12 = ?
Subscribe to this entry?

 
 [2004-09-16 20:49 UTC] philip at cornado dot com
Description:
------------
This is a feature request for sqlite_error_string() to default to the last sqlite error rather than require passing in sqlite_last_error(). In otherwords, make the error_code parameter optional.

Reproduce code:
---------------
echo sqlite_error_string();
vs
echo sqlite_error_string(sqlite_last_error());



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-08 23:12 UTC] ajf@php.net
-Package: Feature/Change Request +Package: SQLite related
 [2016-06-27 16:18 UTC] cmb@php.net
-Package: SQLite related +Package: SQLite
 [2017-10-24 23:31 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:31 UTC] kalle@php.net
The SQLite extension was moved out of the PHP source and back in to PECL and have not since had a release or any activity, I would highly suggest to use the bundled sqlite3 extension instead. If development begins at this extension, then this report should be re-opened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC