summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'robholland/master'Jamis Buck2008-05-301-1/+1
|\
| * Inherit from StandardError for SQLite3 exceptions so that they are caught ↵Rob Holland2008-05-251-1/+1
| | | | | | | | with a standard rescue
* | version bumpJamis Buck2008-05-301-1/+1
| |
* | unquote double-quoted values, too.Jamis Buck2008-05-301-0/+2
|/ | | | Contributed by Łukasz Dargiewicz <lukasz.dargiewicz@gmail.com>
* add missing requireRob Holland2008-05-191-0/+1
|
* use Date directly for parsing rather than going via TimeRob Holland2008-05-171-1/+1
|
* be more granular with time/data translationRob Holland2008-05-171-4/+5
|
* amend rdoc to make it clear to use Statement#execute to execute a prepared ↵Rob Holland2008-05-171-0/+3
| | | | statement
* Revert "amend rdoc to make it clear to use Statement#execute to execute a ↵Rob Holland2008-05-171-3/+0
| | | | | | | | prepared statement" Included some portability work by mistake. This reverts commit 36ff0b85ed9049a63cc3b66533282e730a7db398.
* amend rdoc to make it clear to use Statement#execute to execute a prepared ↵Rob Holland2008-05-171-0/+3
| | | | statement
* small style fixRob Holland2008-05-151-1/+1
|
* Add missing method, just becauseRob Holland2008-05-131-0/+1
|
* Work around a quirk in SQLite's error reporting by calling sqlite3_reset to ↵Rob Holland2008-05-121-0/+3
| | | | produce a more informative error code upon a failure from sqlite3_step.
* Use int_bind64 on Fixnum values larger than a 32bit C int can take.Rob Holland2008-05-121-1/+5
|
* Correct busy_handler documentationRob Holland2008-05-071-4/+4
|
* kill the paranoid copy of the license at the top of every source fileJamis Buck2008-05-0213-416/+0
|
* check for TEXT columns before NULL, on the assumption that TEXT will be more ↵Jamis Buck2008-01-261-1/+3
| | | | common than NULL (thanks Erik Veenstra)
* use if/elsif rather than case, for slight performance improvement (thanks ↵Jamis Buck2008-01-261-7/+8
| | | | Erik Veenstra)
* cache the type-name, instead of recomputing it on each request (thanks Erik ↵Jamis Buck2008-01-261-3/+6
| | | | Veenstra)
* Use #eval instead of #define_method and #send for significant speed-up ↵Jamis Buck2008-01-261-1/+1
| | | | (thanks Erik Veenstra)
* ruby 1.9 compatibility tweaks (thanks Roman Le Negrate <roman2k@free.fr>)Jamis Buck2008-01-172-3/+2
|
* version bumpJamis Buck2007-02-031-1/+1
|
* make the table_info method adjust the returned default value for the rows so ↵Jamis Buck2007-01-301-2/+49
| | | | that the sqlite3 change in 3.3.8 and greater can be handled transparently
* support for building beta gemsJamis Buck2007-01-291-0/+1
|
* Version bump!Jamis Buck2007-01-131-2/+2
|
* reset the statement when binding new variables (thanks Mike Kusick, debian ↵Jamis Buck2007-01-132-1/+16
| | | | bug #405614)
* Fix another warning (thanks Mike Kasick, debian bug #405612)Jamis Buck2007-01-131-0/+1
|
* Get more detailed error messages when a DB connection cannot be established ↵Jamis Buck2007-01-131-1/+1
| | | | (thanks Tom Moertel, closes #5504)
* Get rid of (most of) the warnings when running in -w modeJamis Buck2007-01-132-2/+3
|
* Allow bignum values to be bound (thanks Timothy Wood, closes #3463)Jamis Buck2007-01-131-0/+2
|
* deprecate the DL driverJamis Buck2007-01-131-0/+4
|
* Allow bind parameters to be specified without a leading colon. Also allow ↵Jamis Buck2007-01-131-2/+3
| | | | them to be specified as a symbol.
* Fix for use of callbacks (busy_handler, set_authorize and trace) (thanks ↵Jamis Buck2007-01-131-10/+35
| | | | Sylvain Joyeux, closes #2955)
* Parenthesize parameters correctly (closes #3847)Jamis Buck2007-01-131-1/+1
|
* db.transaction should properly catch an exception (closes #3981)Jamis Buck2007-01-131-1/+1
|
* Update gemspec and version. Update README with instructions for installation ↵Jamis Buck2005-09-111-1/+1
| | | | if sqlite3 is installed in a non-standard location.
* Fixed a bug that caused crashes when using type translation with typeless ↵Jamis Buck2005-02-151-0/+1
| | | | columns (like those from count(*), etc.).
* Support for solaris.Jamis Buck2005-02-101-1/+1
|
* Added missing exceptions (format, range, and NOTADB). Exceptions also now ↵Jamis Buck2005-02-081-4/+20
| | | | have a "code" attribute that is the numeric value of the error that occurred.
* Added Database#query and made it possible to close a statement from a ↵Jamis Buck2005-02-074-4/+67
| | | | resultset. This should make it easier to create a sqlite3 adapter for Og.
* If 'Native' driver is not found, opening a second database resulted in a ↵Jamis Buck2005-02-071-1/+1
| | | | NameError because the require would not fail--it would just return false.
* Version bump.Jamis Buck2005-02-061-1/+1
|
* Version bump, and made it so that an array may be passed as the bind ↵Jamis Buck2005-02-053-4/+4
| | | | parameter and it will be flattened prior to binding. The native implementation of bind_text also does a to_s on its parameter now to prevent segfaults.
* Added various bsds to the detection routine in dl/api.rb.Jamis Buck2005-01-311-1/+1
|
* Changed layout to support tagging and branchingJamis Buck2005-01-0913-0/+2567